ollama
A large language model runner. For a list of available models, see https://ollama.com/library. More information: https://docs.ollama.com/cli.
- Start the daemon required to run other commands:
ollama serve
- Run a model and chat with it (will automatically download the model if it's not downloaded):
ollama run
- Run a model with a single prompt and thinking turned off:
ollama run --think=false ""
- List downloaded models:
ollama
- Pull a specific model:
ollama pull
- List running models:
ollama ps
- Delete a model:
ollama rm
- Create a model from a
Modelfile:
ollama create
来源:tldr-pages contributors · 作者与贡献记录 · CC BY 4.0。离线整理了版式、链接和媒体显示。
