Add Ollama Modelfiles
Browse files
modelfiles/kat-dev-72b--iq2_m.Modelfile
ADDED
|
@@ -0,0 +1,22 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# Modelfile generated by "ollama show"
|
| 2 |
+
# To build a new Modelfile based on this, replace FROM with:
|
| 3 |
+
# FROM richardyoung/kat-dev-72b:iq2_m
|
| 4 |
+
|
| 5 |
+
FROM ./models/kat-dev-72b--iq2_m.gguf
|
| 6 |
+
TEMPLATE """<|im_start|>system
|
| 7 |
+
{{ .System }}<|im_end|>
|
| 8 |
+
{{ if .Messages }}{{ range .Messages }}{{ if eq .Role "user" }}<|im_start|>user
|
| 9 |
+
{{ .Content }}<|im_end|>
|
| 10 |
+
{{ else if eq .Role "assistant" }}<|im_start|>assistant
|
| 11 |
+
{{ .Content }}<|im_end|>
|
| 12 |
+
{{ end }}{{ end }}{{ end }}<|im_start|>assistant
|
| 13 |
+
"""
|
| 14 |
+
SYSTEM You are KAT-Dev, a highly capable AI coding assistant created by Kuaishou. You excel at software engineering tasks including code generation, debugging, refactoring, and problem-solving. You provide clear, efficient, and well-documented code solutions.
|
| 15 |
+
PARAMETER num_ctx 8192
|
| 16 |
+
PARAMETER stop <|im_start|>
|
| 17 |
+
PARAMETER stop <|im_end|>
|
| 18 |
+
PARAMETER stop <|endoftext|>
|
| 19 |
+
PARAMETER temperature 0.6
|
| 20 |
+
PARAMETER top_k 40
|
| 21 |
+
PARAMETER top_p 0.9
|
| 22 |
+
|
modelfiles/kat-dev-72b--iq2_xxs.Modelfile
ADDED
|
@@ -0,0 +1,22 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# Modelfile generated by "ollama show"
|
| 2 |
+
# To build a new Modelfile based on this, replace FROM with:
|
| 3 |
+
# FROM richardyoung/kat-dev-72b:iq2_xxs
|
| 4 |
+
|
| 5 |
+
FROM ./models/kat-dev-72b--iq2_xxs.gguf
|
| 6 |
+
TEMPLATE """<|im_start|>system
|
| 7 |
+
{{ .System }}<|im_end|>
|
| 8 |
+
{{ if .Messages }}{{ range .Messages }}{{ if eq .Role "user" }}<|im_start|>user
|
| 9 |
+
{{ .Content }}<|im_end|>
|
| 10 |
+
{{ else if eq .Role "assistant" }}<|im_start|>assistant
|
| 11 |
+
{{ .Content }}<|im_end|>
|
| 12 |
+
{{ end }}{{ end }}{{ end }}<|im_start|>assistant
|
| 13 |
+
"""
|
| 14 |
+
SYSTEM You are KAT-Dev, a highly capable AI coding assistant created by Kuaishou. You excel at software engineering tasks including code generation, debugging, refactoring, and problem-solving. You provide clear, efficient, and well-documented code solutions.
|
| 15 |
+
PARAMETER num_ctx 8192
|
| 16 |
+
PARAMETER stop <|im_start|>
|
| 17 |
+
PARAMETER stop <|im_end|>
|
| 18 |
+
PARAMETER stop <|endoftext|>
|
| 19 |
+
PARAMETER temperature 0.6
|
| 20 |
+
PARAMETER top_k 40
|
| 21 |
+
PARAMETER top_p 0.9
|
| 22 |
+
|
modelfiles/kat-dev-72b--iq3_m.Modelfile
ADDED
|
@@ -0,0 +1,22 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# Modelfile generated by "ollama show"
|
| 2 |
+
# To build a new Modelfile based on this, replace FROM with:
|
| 3 |
+
# FROM richardyoung/kat-dev-72b:iq3_m
|
| 4 |
+
|
| 5 |
+
FROM ./models/kat-dev-72b--iq3_m.gguf
|
| 6 |
+
TEMPLATE """<|im_start|>system
|
| 7 |
+
{{ .System }}<|im_end|>
|
| 8 |
+
{{ if .Messages }}{{ range .Messages }}{{ if eq .Role "user" }}<|im_start|>user
|
| 9 |
+
{{ .Content }}<|im_end|>
|
| 10 |
+
{{ else if eq .Role "assistant" }}<|im_start|>assistant
|
| 11 |
+
{{ .Content }}<|im_end|>
|
| 12 |
+
{{ end }}{{ end }}{{ end }}<|im_start|>assistant
|
| 13 |
+
"""
|
| 14 |
+
SYSTEM You are KAT-Dev, a highly capable AI coding assistant created by Kuaishou. You excel at software engineering tasks including code generation, debugging, refactoring, and problem-solving. You provide clear, efficient, and well-documented code solutions.
|
| 15 |
+
PARAMETER num_ctx 8192
|
| 16 |
+
PARAMETER stop <|im_start|>
|
| 17 |
+
PARAMETER stop <|im_end|>
|
| 18 |
+
PARAMETER stop <|endoftext|>
|
| 19 |
+
PARAMETER temperature 0.6
|
| 20 |
+
PARAMETER top_k 40
|
| 21 |
+
PARAMETER top_p 0.9
|
| 22 |
+
|
modelfiles/kat-dev-72b--iq4_xs.Modelfile
ADDED
|
@@ -0,0 +1,22 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# Modelfile generated by "ollama show"
|
| 2 |
+
# To build a new Modelfile based on this, replace FROM with:
|
| 3 |
+
# FROM richardyoung/kat-dev-72b:iq4_xs
|
| 4 |
+
|
| 5 |
+
FROM ./models/kat-dev-72b--iq4_xs.gguf
|
| 6 |
+
TEMPLATE """<|im_start|>system
|
| 7 |
+
{{ .System }}<|im_end|>
|
| 8 |
+
{{ if .Messages }}{{ range .Messages }}{{ if eq .Role "user" }}<|im_start|>user
|
| 9 |
+
{{ .Content }}<|im_end|>
|
| 10 |
+
{{ else if eq .Role "assistant" }}<|im_start|>assistant
|
| 11 |
+
{{ .Content }}<|im_end|>
|
| 12 |
+
{{ end }}{{ end }}{{ end }}<|im_start|>assistant
|
| 13 |
+
"""
|
| 14 |
+
SYSTEM You are KAT-Dev, a highly capable AI coding assistant created by Kuaishou. You excel at software engineering tasks including code generation, debugging, refactoring, and problem-solving. You provide clear, efficient, and well-documented code solutions.
|
| 15 |
+
PARAMETER num_ctx 8192
|
| 16 |
+
PARAMETER stop <|im_start|>
|
| 17 |
+
PARAMETER stop <|im_end|>
|
| 18 |
+
PARAMETER stop <|endoftext|>
|
| 19 |
+
PARAMETER temperature 0.6
|
| 20 |
+
PARAMETER top_k 40
|
| 21 |
+
PARAMETER top_p 0.9
|
| 22 |
+
|