Difference between revisions of "Ollama run"

From wikieduonline
Jump to navigation Jump to search
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
 
{{lc}}
 
{{lc}}
  [[ollama run llama2]]
+
[[ollama run llama2]]
  [[ollama run mistral]]
+
[[ollama run mistral]]
 +
[[ollama run dolphin-mistral:latest]]
  
  
 
  ollama run mistral
 
  ollama run mistral
 
  [[Error: could not connect to ollama app, is it running?]]
 
  [[Error: could not connect to ollama app, is it running?]]
 +
 +
Solution: [[ollama serve]]
 +
  
Solution: [[ollama serve]]
 
  
 +
ollama run --help
 
  Run a model
 
  Run a model
 
   
 
   

Latest revision as of 13:17, 16 January 2024

ollama run llama2
ollama run mistral
ollama run dolphin-mistral:latest


ollama run mistral
Error: could not connect to ollama app, is it running?

Solution: ollama serve


ollama run --help
Run a model

Usage:
  ollama run MODEL [PROMPT] [flags]

Flags:
      --format string   Response format (e.g. json)
  -h, --help            help for run
      --insecure        Use an insecure registry
      --nowordwrap      Don't wrap words to the next line automatically
      --verbose         Show timings for response




See also[edit]

Advertising: