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>
This commit is contained in:
Matt Williams 2023-08-04 08:56:38 -07:00
parent e3fb1fd3f1
commit 42bdcee473
2 changed files with 7 additions and 2 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

@ -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."""