diff --git a/docs/modelfile.md b/docs/modelfile.md index f1155103..8450eac6 100644 --- a/docs/modelfile.md +++ b/docs/modelfile.md @@ -25,14 +25,24 @@ FROM [:] 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 -The PARAMETER instruction defines a parameter that can be set when the model is run. +```modelfile +LICENSE """ + +""" +``` + +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. + +## PARAMETER ```modelfile PARAMETER ``` +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 52f77219..12edf41e 100644 --- a/examples/midjourneyprompter +++ b/examples/midjourneyprompter @@ -1,7 +1,8 @@ # 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 +FROM nous-hermes PROMPT """ {{- if not .Context }} ### System: diff --git a/examples/recipemaker b/examples/recipemaker index 53d0d372..cc7d5cd7 100644 --- a/examples/recipemaker +++ b/examples/recipemaker @@ -1,6 +1,6 @@ # Modelfile for creating a recipe from a list of ingredients # Run `ollama create recipemaker -f pathtofile` and then `ollama run recipemaker` and feed it lists of ingredients to create recipes around. -FROM library/nous-hermes:latest +FROM nous-hermes PROMPT """ {{- if not .Context }} ### System: diff --git a/examples/tweetwriter b/examples/tweetwriter index 733ad1c3..b5fce6f9 100644 --- a/examples/tweetwriter +++ b/examples/tweetwriter @@ -1,7 +1,7 @@ # Modelfile for creating a tweet from a topic # Run `ollama create tweetwriter -f pathtofile` and then `ollama run tweetwriter` and enter a topic -FROM library/nous-hermes:latest +FROM nous-hermes PROMPT """ {{- if not .Context }} ### System: