update library modelfiles with new syntax

This commit is contained in:
Jeffrey Morgan 2023-07-19 23:57:22 -07:00
parent ada0add89b
commit 1511219763
4 changed files with 12 additions and 8 deletions

View file

@ -1,5 +1,5 @@
FROM ../models/nous-hermes-13b.ggmlv3.q4_0.bin FROM ../models/nous-hermes-13b.ggmlv3.q4_0.bin
PROMPT """ TEMPLATE """
### Instruction: ### Instruction:
{{ .Prompt }} {{ .Prompt }}

View file

@ -1,8 +1,8 @@
FROM ../models/orca-mini-3b.ggmlv3.q4_0.bin FROM ../models/orca-mini-3b.ggmlv3.q4_0.bin
PROMPT """ TEMPLATE """
{{- if not .Context }} {{- if .First }}
### System: ### System:
You are an AI assistant that follows instruction extremely well. Help as much as you can. {{ .System }}
{{- end }} {{- end }}
### User: ### User:
@ -10,3 +10,5 @@ You are an AI assistant that follows instruction extremely well. Help as much as
### Response: ### Response:
""" """
SYSTEM """You are an AI assistant that follows instruction extremely well. Help as much as you can."""

View file

@ -1,9 +1,11 @@
FROM ../models/vicuna-7b-v1.3.ggmlv3.q4_0.bin FROM ../models/vicuna-7b-v1.3.ggmlv3.q4_0.bin
PROMPT """ TEMPLATE """
{{ if not .Context }} {{ if .First }}
A chat between a curious user and an artificial intelligence assistant. The assistant gives helpful, detailed, and polite answers to the user's questions. {{ .System }}
{{- end }} {{- end }}
USER: {{ .Prompt }} USER: {{ .Prompt }}
ASSISTANT: ASSISTANT:
""" """
SYSTEM """A chat between a curious user and an artificial intelligence assistant. The assistant gives helpful, detailed, and polite answers to the user's questions."""

View file

@ -1,5 +1,5 @@
FROM ../models/Wizard-Vicuna-13B-Uncensored.ggmlv3.q4_0.bin FROM ../models/Wizard-Vicuna-13B-Uncensored.ggmlv3.q4_0.bin
PROMPT """ TEMPLATE """
USER: {{ .Prompt }} USER: {{ .Prompt }}
ASSISTANT: ASSISTANT:
""" """