k-mktr commited on
Commit
74c15d5
1 Parent(s): 18ddaeb

Create template

Browse files

`ollama run hf.co/cognitivecomputations/dolphin-2.9.4-llama3.1-8b-gguf`

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 }}<|im_start|>system
2
+ {{ .System }}<|im_end|>
3
+ {{ end }}{{ if .Prompt }}<|im_start|>user
4
+ {{ .Prompt }}<|im_end|>
5
+ {{ end }}<|im_start|>assistant
6
+ {{ .Response }}<|im_end|>