Commit 67c8d497 authored by Matt Williams's avatar Matt Williams
Browse files

Updated modelfile doc to include license



and attributed midjourneyprompt
Signed-off-by: default avatarMatt Williams <m@technovangelist.com>
parent 4ca7c4be
...@@ -25,14 +25,24 @@ FROM <image>[:<tag>] ...@@ -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 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 ```modelfile
PARAMETER <parameter> <parametervalue> PARAMETER <parameter> <parametervalue>
``` ```
The PARAMETER instruction defines a parameter that can be set when the model is run.
### Valid Parameters and Values ### Valid Parameters and Values
| Parameter | Description | Value Type | Value Range | | Parameter | Description | Value Type | Value Range |
......
# Modelfile for creating a Midjourney prompts from a topic # 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 # Run `ollama create mj -f pathtofile` and then `ollama run mj` and enter a topic
FROM library/nous-hermes:latest FROM library/nous-hermes:latest
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment