k-mktr commited on
Commit
428364a
·
verified ·
1 Parent(s): 18ddaeb

Create template

Browse files

To make importing with Ollama work properly, use the default chat template format.

According to instructions:
https://huggingface.co/docs/hub/en/ollama#custom-chat-template-and-parameters

Files changed (1) hide show
  1. template +6 -0
template ADDED
@@ -0,0 +1,6 @@
 
 
 
 
 
 
 
1
+ {{ if .System }}<|system|>
2
+ {{ .System }}<|end|>
3
+ {{ end }}{{ if .Prompt }}<|user|>
4
+ {{ .Prompt }}<|end|>
5
+ {{ end }}<|assistant|>
6
+ {{ .Response }}<|end|>