I'm new, Where can I find chat template for Modelfile (ollama)

#26
by ephilos - opened
FROM ./cognitivecomputations_WizardLM-7B-Uncensored
TEMPLATE """{{- if .System }}
<|system|>
{{ .System }}
</s>
{{- end }}
<|user|>
{{ .Prompt }}
</s>
<|assistant|>
"""
PARAMETER temperature 0.8
PARAMETER num_ctx 4096
PARAMETER stop "<|system|>"
PARAMETER stop "<|user|>"
PARAMETER stop "<|assistant|>"
PARAMETER stop "</s>"

I tried this and many other templates but it just gives me unrelated wall of text as answers. What am I doing wrong? And how can I find chat template for this model?

Sign up or log in to comment