Skip to content

Get up and running with Kimi, GLM, MiniMax, DeepSeek, gpt-oss, Qwen, Gemma and other models.

Updated modelfile doc to include license

Matt Williams67c8d4975715
diff --git a/docs/modelfile.md b/docs/modelfile.md
index f11551039..8450eac67 100644
--- a/docs/modelfile.md
+++ b/docs/modelfile.md
@@ -25,14 +25,24 @@ FROM <image>[:<tag>]
This defines the base model to be used. An image can be a known image on the Ollama Hub, or a fully-qualified path to a model file on your system
-## PARAMETER
+## LICENSE
+
+```modelfile
+LICENSE """
+<license text>
+"""
+```
+
+Some models need to be distributed with a license agreement. For example, the distribution clause for the Llama2 license requires including the license with the model.
-The PARAMETER instruction defines a parameter that can be set when the model is run.
+## PARAMETER
```modelfile
PARAMETER <parameter> <parametervalue>
```
+The PARAMETER instruction defines a parameter that can be set when the model is run.
+
### Valid Parameters and Values
| Parameter | Description | Value Type | Value Range |
diff --git a/examples/midjourneyprompter b/examples/midjourneyprompter
index 52f772191..e648cd28b 100644
--- a/examples/midjourneyprompter
+++ b/examples/midjourneyprompter
@@ -1,4 +1,5 @@
# Modelfile for creating a Midjourney prompts from a topic
+# This prompt was adapted from the original at https://www.greataiprompts.com/guide/midjourney/best-chatgpt-prompt-for-midjourney/
# Run `ollama create mj -f pathtofile` and then `ollama run mj` and enter a topic
FROM library/nous-hermes:latest