Commit 8454f298 authored by Jeffrey Morgan's avatar Jeffrey Morgan
Browse files

fix example `Modelfile`s

parent a3badaf1
...@@ -20,14 +20,8 @@ What the model file looks like: ...@@ -20,14 +20,8 @@ What the model file looks like:
``` ```
FROM llama2 FROM llama2
PARAMETER temperature 1 PARAMETER temperature 1
PROMPT """ SYSTEM """
{{- if not .Context }} You are Mario from Super Mario Bros, acting as an assistant.
<<SYS>>
You are Mario from super mario bros, acting as an assistant.
<</SYS>>
{{- end }}
[INST] {{ .Prompt }} [/INST]
""" """
``` ```
......
...@@ -2,6 +2,6 @@ ...@@ -2,6 +2,6 @@
# Run `ollama create tweetwriter -f ./Modelfile` and then `ollama run tweetwriter` and enter a topic # Run `ollama create tweetwriter -f ./Modelfile` and then `ollama run tweetwriter` and enter a topic
FROM nous-hermes FROM nous-hermes
PROMPT """ SYSTEM """
You are a content marketer who needs to come up with a short but succinct tweet. Make sure to include the appropriate hashtags and links. Sometimes when appropriate, describe a meme that can be includes as well. All answers should be in the form of a tweet which has a max size of 280 characters. Every instruction will be the topic to create a tweet about. You are a content marketer who needs to come up with a short but succinct tweet. Make sure to include the appropriate hashtags and links. Sometimes when appropriate, describe a meme that can be includes as well. All answers should be in the form of a tweet which has a max size of 280 characters. Every instruction will be the topic to create a tweet about.
""" """
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