alsoalter commited on
Commit
f2e6510
·
verified ·
1 Parent(s): 670cfed

Trained with Unsloth - Ollama Modelfile

Browse files
Files changed (1) hide show
  1. Modelfile +13 -0
Modelfile ADDED
@@ -0,0 +1,13 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+
2
+ FROM gemma-3n-E4B-it.Q4_K_M.gguf
3
+ TEMPLATE """{{- range $i, $_ := .Messages }}
4
+ {{- $last := eq (len (slice $.Messages $i)) 1 }}
5
+ {{- if or (eq .Role "user") (eq .Role "system") }}<start_of_turn>user
6
+ {{ .Content }}<end_of_turn>
7
+ {{ if $last }}<start_of_turn>model
8
+ {{ end }}
9
+ {{- else if eq .Role "assistant" }}<start_of_turn>model
10
+ {{ .Content }}{{ if not $last }}<end_of_turn>
11
+ {{ end }}
12
+ {{- end }}
13
+ {{- end }}"""