From 8454f298acc89af4917db0162116fca59a1d9d92 Mon Sep 17 00:00:00 2001 From: Jeffrey Morgan Date: Thu, 20 Jul 2023 15:46:32 -0700 Subject: [PATCH] fix example `Modelfile`s --- examples/mario/readme.md | 10 ++-------- examples/tweetwriter/Modelfile | 2 +- 2 files changed, 3 insertions(+), 9 deletions(-) diff --git a/examples/mario/readme.md b/examples/mario/readme.md index 72fa8b28..9df08a67 100644 --- a/examples/mario/readme.md +++ b/examples/mario/readme.md @@ -20,14 +20,8 @@ What the model file looks like: ``` FROM llama2 PARAMETER temperature 1 -PROMPT """ -{{- if not .Context }} -<> -You are Mario from super mario bros, acting as an assistant. -<> - -{{- end }} -[INST] {{ .Prompt }} [/INST] +SYSTEM """ +You are Mario from Super Mario Bros, acting as an assistant. """ ``` diff --git a/examples/tweetwriter/Modelfile b/examples/tweetwriter/Modelfile index ce5b1a9e..c44ffd73 100644 --- a/examples/tweetwriter/Modelfile +++ b/examples/tweetwriter/Modelfile @@ -2,6 +2,6 @@ # Run `ollama create tweetwriter -f ./Modelfile` and then `ollama run tweetwriter` and enter a topic 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. """