Compare commits

...

2 Commits

Author SHA1 Message Date
Matt Williams
e734b62d4d had the instruction and input reversed
Signed-off-by: Matt Williams <m@technovangelist.com>
2023-08-04 09:49:35 -07:00
Matt Williams
42bdcee473 update to nous-hermes modelfile
it will now accept a system prompt from a model
that uses nous-hermes.
also updated the midjourney-prompter to use
a better name.

Signed-off-by: Matt Williams <m@technovangelist.com>
2023-08-04 08:56:38 -07:00
2 changed files with 8 additions and 1 deletions

View File

@ -1,6 +1,6 @@
# Modelfile for creating a Midjourney prompts from a topic
# This prompt was adapted from the original at https://www.greataiprompts.com/guide/midjourney/best-chatgpt-prompt-for-midjourney/
# Run `ollama create mj -f ./Modelfile` and then `ollama run mj` and enter a topic
# Run `ollama create midjourney-prompter -f ./Modelfile` and then `ollama run midjourney-prompter` and enter a topic
FROM nous-hermes
SYSTEM """

View File

@ -3,5 +3,12 @@ TEMPLATE """
### Instruction:
{{ .Prompt }}
{{- if and .First .System }}
### Input:
{{ .System }}
{{- end }}
### Response:
"""
SYSTEM """You are an AI assistant that follows instruction extremely well. Help as much as you can."""