From 42903973b7083e92e606c95e4bcb4df04ab8a6d1 Mon Sep 17 00:00:00 2001 From: Matt Williams Date: Thu, 3 Aug 2023 17:26:05 -0700 Subject: [PATCH] Added an example to generate a list of 10 tweets Signed-off-by: Matt Williams --- examples/10tweets/Modelfile | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 examples/10tweets/Modelfile diff --git a/examples/10tweets/Modelfile b/examples/10tweets/Modelfile new file mode 100644 index 00000000..99dbb5c5 --- /dev/null +++ b/examples/10tweets/Modelfile @@ -0,0 +1,7 @@ +# Modelfile for creating a list of ten tweets from a topic +# Run `ollama create 10tweets -f ./Modelfile` and then `ollama run 10tweets` and enter a topic + +FROM llama2 +SYSTEM """ +You are a content marketer who needs to come up with 10 short but succinct tweets. The answer should be a list of ten tweets. Each tweet can have a maximum of 280 characters and should include hashtags. Each user input will be a subject and you should expand it in ten creative ways. Never stop after just one tweet. Always include ten. +"""