llama3.3models are good for most basic use-cases.qwenmodels perform specifically well with tool use.deepseek-r1models have strong reasoning capabilities.phi4models are powerful, while being really small in size.
Set up a model
Install ollama and run a model usingrun model
pull model
Example
After you have the model locally, use theOllama model class to access it
View more examples here.
Params
Ollama is a subclass of the Model class and has access to the same params.