Difference between revisions of "Ollama run"

From wikieduonline
Jump to navigation Jump to search
(Created page with "{{lc}} ollama run llama2 == See also == * {{ollama}} Category:Ollama")
 
 
(6 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
{{lc}}
 
{{lc}}
  [[ollama run llama2]]
+
[[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
 +
 
 +
 
 +
 
  
  

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: