huihui-ai commited on
Commit
90df79e
·
verified ·
1 Parent(s): a7c6aab

Upload folder using huggingface_hub

Browse files
Files changed (2) hide show
  1. Q2_K-GGUF/Modelfile +36 -0
  2. Q3_K_M-GGUF/Modelfile +36 -0
Q2_K-GGUF/Modelfile ADDED
@@ -0,0 +1,36 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ FROM huihui-ai/Huihui-Distill-Llama-8B-abliterated/ggml-model-Q2_K.gguf
2
+ TEMPLATE """{{- if .System }}{{ .System }}{{ end }}
3
+ {{- range $i, $_ := .Messages }}
4
+ {{- $last := eq (len (slice $.Messages $i)) 1}}
5
+ {{- if eq .Role "user" }}<|User|>{{ .Content }}
6
+ {{- else if eq .Role "assistant" }}<|Assistant|>{{ .Content }}{{- if not $last }}<|end▁of▁sentence|>{{- end }}
7
+ {{- end }}
8
+ {{- if and $last (ne .Role "assistant") }}<|Assistant|>{{- end }}
9
+ {{- end }}"""
10
+ PARAMETER stop <|begin▁of▁sentence|>
11
+ PARAMETER stop <|end▁of▁sentence|>
12
+ PARAMETER stop <|User|>
13
+ PARAMETER stop <|Assistant|>
14
+ PARAMETER num_gpu 1
15
+
16
+ LICENSE """MIT License
17
+
18
+ Permission is hereby granted, free of charge, to any person obtaining a copy
19
+ of this software and associated documentation files (the "Software"), to deal
20
+ in the Software without restriction, including without limitation the rights
21
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
22
+ copies of the Software, and to permit persons to whom the Software is
23
+ furnished to do so, subject to the following conditions:
24
+
25
+ The above copyright notice and this permission notice shall be included in all
26
+ copies or substantial portions of the Software.
27
+
28
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
29
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
30
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
31
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
32
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
33
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
34
+ SOFTWARE.
35
+ """
36
+
Q3_K_M-GGUF/Modelfile ADDED
@@ -0,0 +1,36 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ FROM huihui-ai/Huihui-Distill-Llama-8B-abliterated/ggml-model-Q3_K_M.gguf
2
+ TEMPLATE """{{- if .System }}{{ .System }}{{ end }}
3
+ {{- range $i, $_ := .Messages }}
4
+ {{- $last := eq (len (slice $.Messages $i)) 1}}
5
+ {{- if eq .Role "user" }}<|User|>{{ .Content }}
6
+ {{- else if eq .Role "assistant" }}<|Assistant|>{{ .Content }}{{- if not $last }}<|end▁of▁sentence|>{{- end }}
7
+ {{- end }}
8
+ {{- if and $last (ne .Role "assistant") }}<|Assistant|>{{- end }}
9
+ {{- end }}"""
10
+ PARAMETER stop <|begin▁of▁sentence|>
11
+ PARAMETER stop <|end▁of▁sentence|>
12
+ PARAMETER stop <|User|>
13
+ PARAMETER stop <|Assistant|>
14
+ PARAMETER num_gpu 1
15
+
16
+ LICENSE """MIT License
17
+
18
+ Permission is hereby granted, free of charge, to any person obtaining a copy
19
+ of this software and associated documentation files (the "Software"), to deal
20
+ in the Software without restriction, including without limitation the rights
21
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
22
+ copies of the Software, and to permit persons to whom the Software is
23
+ furnished to do so, subject to the following conditions:
24
+
25
+ The above copyright notice and this permission notice shall be included in all
26
+ copies or substantial portions of the Software.
27
+
28
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
29
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
30
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
31
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
32
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
33
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
34
+ SOFTWARE.
35
+ """
36
+