Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
OpenDAS
ollama
Commits
b7067949
Unverified
Commit
b7067949
authored
Jan 25, 2024
by
Jeffrey Morgan
Committed by
GitHub
Jan 25, 2024
Browse files
Update modelfile.md to include `MESSAGE`
parent
3ebd6a83
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
14 additions
and
0 deletions
+14
-0
docs/modelfile.md
docs/modelfile.md
+14
-0
No files found.
docs/modelfile.md
View file @
b7067949
...
...
@@ -38,6 +38,7 @@ INSTRUCTION arguments
|
[
`SYSTEM`
](
#system
)
| Specifies the system message that will be set in the template. |
|
[
`ADAPTER`
](
#adapter
)
| Defines the (Q)LoRA adapters to apply to the model. |
|
[
`LICENSE`
](
#license
)
| Specifies the legal license. |
|
[
`MESSAGE`
](
#message
)
| Specify message history. |
## Examples
...
...
@@ -205,6 +206,19 @@ LICENSE """
"""
```
### MESSAGE
The
`MESSAGE`
instruction allows you to specify a message history for the model to use when responding:
```
modelfile
MESSAGE user Is Toronto in Canada?
MESSAGE assistant yes
MESSAGE user Is Sacramento in Canada?
MESSAGE assistant no
MESSAGE user Is Ontario in Canada?
MESSAGE assistant yes
```
## Notes
-
the
**`Modelfile` is not case sensitive**
. In the examples, uppercase instructions are used to make it easier to distinguish it from arguments.
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment