Hier werden die Unterschiede zwischen zwei Versionen angezeigt.
|
ollama [2024/08/03 13:46] |
ollama [2025/11/01 20:52] (aktuell) |
||
|---|---|---|---|
| Zeile 1: | Zeile 1: | ||
| + | Siehe [[llm]] | ||
| + | < | ||
| + | C: | ||
| + | Usage: | ||
| + | ollama [flags] | ||
| + | ollama [command] | ||
| + | |||
| + | Available Commands: | ||
| + | serve Start ollama | ||
| + | create | ||
| + | show Show information for a model | ||
| + | run Run a model | ||
| + | pull Pull a model from a registry | ||
| + | push Push a model to a registry | ||
| + | list List models | ||
| + | ps List running models | ||
| + | cp Copy a model | ||
| + | rm Remove a model | ||
| + | help Help about any command | ||
| + | |||
| + | Flags: | ||
| + | -h, --help | ||
| + | -v, --version | ||
| + | |||
| + | Use " | ||
| + | </ | ||
| + | |||
| + | Start ollama | ||
| + | < | ||
| + | // with debug output | ||
| + | ollama serve | ||
| + | |||
| + | // in background | ||
| + | start /B ollama serve >NUL 2>&1 | ||
| + | </ | ||
| + | |||
| + | < | ||
| + | set /p content=< | ||
| + | ollama run llama3 " | ||
| + | </ | ||
| + | |||
| + | Generate a response | ||
| + | < | ||
| + | curl http:// | ||
| + | " | ||
| + | " | ||
| + | }' | ||
| + | </ | ||
| + | |||
| + | Chat with a model | ||
| + | < | ||
| + | curl http:// | ||
| + | " | ||
| + | " | ||
| + | { " | ||
| + | ] | ||
| + | }' | ||
| + | </ | ||
| + | |||
| + | Stop ollama | ||
| + | < | ||
| + | tasklist | findstr ollama | ||
| + | ollama app.exe | ||
| + | ollama.exe | ||
| + | ollama_llama_server.exe | ||
| + | |||
| + | taskkill /IM ollama_llama_server.exe | ||
| + | </ | ||
| + | |||
| + | =====Links===== | ||
| + | |||
| + | * [[https:// | ||
| + | * [[https:// | ||