Skip to content

Glossary: Running Open Models Locally

Modelfile

Also written: FROM, PARAMETER, SYSTEM, MESSAGE, TEMPLATE

A small text file that builds a new Ollama model from an existing one. `FROM` sets the base, `PARAMETER` settings, `SYSTEM` the system prompt, `MESSAGE` example exchanges and `TEMPLATE` the chat template.

Where the book teaches it

Related terms

ollama createnum_ctxTemperature