ollama source for Momentry Core verification
This commit is contained in:
6
template/mistral-instruct.gotmpl
Normal file
6
template/mistral-instruct.gotmpl
Normal file
@@ -0,0 +1,6 @@
|
||||
[INST] {{ range $index, $_ := .Messages }}
|
||||
{{- if eq .Role "system" }}{{ .Content }}
|
||||
|
||||
{{ else if eq .Role "user" }}{{ .Content }}[/INST]
|
||||
{{- else if eq .Role "assistant" }} {{ .Content }}</s>[INST] {{ end }}
|
||||
{{- end }}
|
||||
Reference in New Issue
Block a user