ykarout commited on
Commit
193d986
·
verified ·
1 Parent(s): 3310be8

Add Ollama Modelfile

Browse files
Files changed (1) hide show
  1. Modelfile +15 -0
Modelfile ADDED
@@ -0,0 +1,15 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Phi-4 DeepSeek Distilled v8 GGUF Modelfile
2
+ # Download the model from: https://huggingface.co/ykarout/phi4-deepseek-r1-distilled-v8-GGUF
3
+
4
+ FROM phi4-deepseek-r1-distilled-v8-q8_0.gguf
5
+ TEMPLATE '''
6
+ {{- if .System -}}
7
+ <|im_start|>system<|im_sep|>{{ .System }}<|im_end|>
8
+ {{- end }}
9
+ <|im_start|>user<|im_sep|>{{ .Prompt }}<|im_end|>
10
+ <|im_start|>assistant<|im_sep|>
11
+ '''
12
+
13
+ # Model parameters
14
+ PARAMETER stop "<|im_end|>"
15
+ PARAMETER stop "<|im_start|>"