Ver código fonte

Added an example to generate a list of 10 tweets

Signed-off-by: Matt Williams <m@technovangelist.com>
Matt Williams 1 ano atrás
pai
commit
42903973b7
1 arquivos alterados com 7 adições e 0 exclusões
  1. 7 0
      examples/10tweets/Modelfile

+ 7 - 0
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. 
+"""