Difference between revisions of "Ollama run"

From wikieduonline
Jump to navigation Jump to search
Line 6: Line 6:
 
  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
 
   
 
   

Revision as of 13:14, 16 January 2024

 ollama run llama2
 ollama run mistral


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

Advertising: