Updated modelfile doc to include license
and attributed midjourneyprompt Signed-off-by: Matt Williams <m@technovangelist.com>
This commit is contained in:
parent
4ca7c4be1f
commit
67c8d49757
2 changed files with 13 additions and 2 deletions
|
@ -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
|
||||
|
||||
The PARAMETER instruction defines a parameter that can be set when the model is run.
|
||||
```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.
|
||||
|
||||
## 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 |
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue