Ollama Modelfile

A Modelfile is an Ollama configuration file that defines a custom model: base model, system prompt, generation parameters, and chat template. It lets you create and reuse a reproducible variant of a model.

Example

FROM llama3.2 PARAMETER temperature 0.2 SYSTEM You answer in French.

Related concepts

The whole glossary