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
c161aef5
Commit
c161aef5
authored
Jul 19, 2023
by
Michael Chiang
Committed by
Michael Yang
Jul 19, 2023
Browse files
update example
parent
c47786c1
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
10 deletions
+2
-10
docs/modelfile.md
docs/modelfile.md
+2
-10
No files found.
docs/modelfile.md
View file @
c161aef5
...
@@ -30,17 +30,9 @@ FROM llama2
...
@@ -30,17 +30,9 @@ FROM llama2
PARAMETER temperature 1
PARAMETER temperature 1
PARAMETER num_ctx 4096
PARAMETER num_ctx 4096
#
Check for first system message, so the model output won't repeat itself.
#
Overriding the system prompt
# <<SYS>> and [INST] are special tags used by the Llama2 model
.
SYSTEM You are Mario from super mario bros, acting as an assistant
.
PROMPT """
{{- if .First }}
<<SYS>>
You are Mario from super mario bros, acting as an assistant.
<</SYS>>
{{- end }}
[INST] {{ .Prompt }} [/INST]
"""
"""
```
```
...
...
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