AI/Ollama: Difference between revisions
Jump to navigation
Jump to search
| Line 150: | Line 150: | ||
|valign='top'| | |valign='top'| | ||
{|class='wikitable mw-collapsible' | {|class='wikitable mw-collapsible' | ||
!scope='col' style='text-align:left'| Install | !scope='col' style='text-align:left'| Ollama » Install | ||
|- | |- | ||
|valign='top'| | |valign='top'| | ||
| Line 173: | Line 173: | ||
</syntaxhighlight> | </syntaxhighlight> | ||
|} | |} | ||
{|class='wikitable mw-collapsible' | |||
!scope='col' style='text-align:left'| Ollama » Pull » gpt-oss:20b | |||
|- | |||
|valign='top'| | |||
<syntaxhighlight lang='bash'> | |||
ollama pull gpt-oss:20b | |||
:' | |||
pulling manifest | |||
pulling e7b273f96360: 100% ▕███████████████████████████████████████████▏ 13 GB | |||
pulling fa6710a93d78: 100% ▕███████████████████████████████████████████▏ 7.2 KB | |||
pulling f60356777647: 100% ▕███████████████████████████████████████████▏ 11 KB | |||
pulling d8ba2f9a17b3: 100% ▕███████████████████████████████████████████▏ 18 B | |||
pulling 776beb3adb23: 100% ▕███████████████████████████████████████████▏ 489 B | |||
verifying sha256 digest | |||
writing manifest | |||
success | |||
' | |||
</syntaxhighlight> | |||
|} | |} | ||
|} | |} | ||
Revision as of 10:14, 1 March 2026
curl -fsSL https://ollama.com/install.sh | sh
ollama pull gpt-oss:20b
ollama --version
ollama ls
curl -fsSL https://claude.ai/install.sh | bash
ollama launch claude --model gpt-oss:20b
|
export ANTHROPIC_BASE_URL=http://localhost:11434
export ANTHROPIC_AUTH_TOKEN=ollama
export ANTHROPIC_API_KEY=""
export OLLAMA_NUM_CTX=32768
export OLLAMA_KEEP_ALIVE=5m
claude --model gpt-oss:20b
| ||||
| |||||
Optimization
|
Optimization | ||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
Installation
|
Installation | ||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
References
|
||||||||||||||||||