Ollama Modelfile Sample: Revision history

Jump to navigation Jump to search

Diff selection: Mark the radio buttons of the revisions to compare and hit enter or the button at the bottom.
Legend: (cur) = difference with latest revision, (prev) = difference with preceding revision, m = minor edit.

1 May 2026

  • curprev 18:0418:04, 1 May 2026Admin talk contribs 2,306 bytes +2,306 Created page with "= Ollama Modelfile Cheat Sheet = == Basic Structure == A Modelfile is a recipe for building a model. <pre> FROM <base_model> # Optional settings PARAMETER <key> <value> SYSTEM <text> TEMPLATE <text> ADAPTER <path> LICENSE <text> MESSAGE <role> <text> </pre> == FROM (Required) == Base model you build on. <pre> FROM llama3 FROM mistral FROM ./local-model.gguf </pre> == PARAMETER == Controls runtime behavior. === Common Parameters === <pre> PARAMETER temperatur..."