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?
have you tried running the model that available in ollama library?
https://ollama.com/library/wizardlm-uncensored/blobs/b1571c5cbd28
https://ollama.com/library/wizard-vicuna-uncensored/blobs/b1571c5cbd28