diff --git a/examples/midjourney-prompter/Modelfile b/examples/midjourney-prompter/Modelfile index c46017b7c..a9866a418 100644 --- a/examples/midjourney-prompter/Modelfile +++ b/examples/midjourney-prompter/Modelfile @@ -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 """ diff --git a/library/modelfiles/nous-hermes b/library/modelfiles/nous-hermes index 1360b9433..c9e7be1f0 100644 --- a/library/modelfiles/nous-hermes +++ b/library/modelfiles/nous-hermes @@ -1,7 +1,12 @@ FROM ../models/nous-hermes-13b.ggmlv3.q4_0.bin TEMPLATE """ +{{- if .First }} ### Instruction: +{{ .System }} +{{- end }} +### Input: {{ .Prompt }} - ### Response: """ + +SYSTEM """You are an AI assistant that follows instruction extremely well. Help as much as you can.""" \ No newline at end of file