Spaces:
Running
Running
feat(huggingchat): add Qwen 2.5 72B (#1481)
Browse files* feat(huggingchat): add Qwen 2.5 72B
* config: bump temp to 0.6
- chart/env/prod.yaml +174 -123
chart/env/prod.yaml
CHANGED
@@ -39,20 +39,23 @@ envVars:
|
|
39 |
METRICS_ENABLED: "true"
|
40 |
MODELS: >
|
41 |
[
|
42 |
-
{
|
43 |
-
"name"
|
44 |
"id": "meta-llama/Meta-Llama-3.1-70B-Instruct",
|
45 |
-
"tokenizer": {
|
|
|
|
|
|
|
46 |
"description": "Ideal for everyday use. A fast and extremely capable model matching closed source models' capabilities.",
|
47 |
"modelUrl": "https://huggingface.co/meta-llama/Meta-Llama-3.1-70B-Instruct",
|
48 |
"websiteUrl": "https://llama.meta.com/",
|
49 |
"logoUrl": "https://huggingface.co/datasets/huggingchat/models-logo/resolve/main/meta-logo.png",
|
50 |
"tools": true,
|
51 |
-
"preprompt"
|
52 |
"parameters": {
|
53 |
-
|
54 |
-
|
55 |
-
|
56 |
"max_new_tokens": 1024,
|
57 |
"truncate": 7167
|
58 |
},
|
@@ -60,18 +63,23 @@ envVars:
|
|
60 |
{
|
61 |
"title": "Write an email from bullet list",
|
62 |
"prompt": "As a restaurant owner, write a professional email to the supplier to get these products every week: \n\n- Wine (x10)\n- Eggs (x24)\n- Bread (x12)"
|
63 |
-
},
|
|
|
64 |
"title": "Code a snake game",
|
65 |
"prompt": "Code a basic snake game in python, give explanations for each step."
|
66 |
-
},
|
|
|
67 |
"title": "Assist in a task",
|
68 |
"prompt": "How do I make a delicious lemon cheesecake?"
|
69 |
}
|
70 |
]
|
71 |
-
},
|
72 |
{
|
73 |
-
"name"
|
74 |
-
"tokenizer": {
|
|
|
|
|
|
|
75 |
"description": "Cohere's largest language model, optimized for conversational interaction and tool use. Now with the 2024 update!",
|
76 |
"modelUrl": "https://huggingface.co/CohereForAI/c4ai-command-r-plus-08-2024",
|
77 |
"websiteUrl": "https://docs.cohere.com/docs/command-r-plus",
|
@@ -79,151 +87,194 @@ envVars:
|
|
79 |
"tools": true,
|
80 |
"parameters": {
|
81 |
"stop": ["<|END_OF_TURN_TOKEN|>"],
|
82 |
-
"truncate"
|
83 |
-
"max_new_tokens"
|
84 |
-
"temperature"
|
85 |
},
|
86 |
-
"promptExamples"
|
87 |
{
|
88 |
"title": "Generate a mouse portrait",
|
89 |
"prompt": "Generate the portrait of a scientific mouse in its laboratory."
|
90 |
-
},
|
|
|
91 |
"title": "Review a pull request",
|
92 |
"prompt": "Review this pull request: https://github.com/huggingface/chat-ui/pull/1131/files"
|
93 |
-
},
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
94 |
"title": "Code a snake game",
|
95 |
"prompt": "Code a basic snake game in python, give explanations for each step."
|
|
|
|
|
|
|
|
|
96 |
}
|
97 |
]
|
98 |
},
|
99 |
{
|
100 |
-
"name"
|
101 |
-
"description"
|
102 |
"logoUrl": "https://huggingface.co/datasets/huggingchat/models-logo/resolve/main/mistral-logo.png",
|
103 |
-
"websiteUrl"
|
104 |
"modelUrl": "https://huggingface.co/mistralai/Mixtral-8x7B-Instruct-v0.1",
|
105 |
"tokenizer": "mistralai/Mixtral-8x7B-Instruct-v0.1",
|
106 |
-
"preprompt"
|
107 |
-
"parameters"
|
108 |
-
"temperature"
|
109 |
-
"top_p"
|
110 |
-
"repetition_penalty"
|
111 |
-
"top_k"
|
112 |
-
"truncate"
|
113 |
-
"max_new_tokens"
|
114 |
-
"stop"
|
115 |
},
|
116 |
-
"promptExamples"
|
117 |
{
|
118 |
"title": "Write an email from bullet list",
|
119 |
"prompt": "As a restaurant owner, write a professional email to the supplier to get these products every week: \n\n- Wine (x10)\n- Eggs (x24)\n- Bread (x12)"
|
120 |
-
},
|
|
|
121 |
"title": "Code a snake game",
|
122 |
"prompt": "Code a basic snake game in python, give explanations for each step."
|
123 |
-
},
|
|
|
124 |
"title": "Assist in a task",
|
125 |
"prompt": "How do I make a delicious lemon cheesecake?"
|
126 |
}
|
127 |
]
|
128 |
},
|
129 |
{
|
130 |
-
|
131 |
-
|
132 |
-
|
133 |
-
|
134 |
-
|
135 |
-
|
136 |
-
|
137 |
-
|
138 |
-
|
139 |
-
|
140 |
-
|
141 |
-
|
142 |
-
|
143 |
-
|
144 |
-
|
145 |
-
|
146 |
-
|
147 |
-
|
148 |
-
"parameters": {
|
149 |
-
"temperature": 0.7,
|
150 |
-
"top_p": 0.95,
|
151 |
-
"repetition_penalty": 1,
|
152 |
-
"top_k": 50,
|
153 |
-
"truncate": 24576,
|
154 |
-
"max_new_tokens": 2048,
|
155 |
-
"stop": ["<|im_end|>"]
|
156 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
157 |
},
|
158 |
-
|
159 |
-
|
160 |
-
|
161 |
-
|
162 |
-
"logoUrl": "https://huggingface.co/datasets/huggingchat/models-logo/resolve/main/mistral-logo.png",
|
163 |
-
"websiteUrl": "https://mistral.ai/news/announcing-mistral-7b/",
|
164 |
-
"modelUrl": "https://huggingface.co/mistralai/Mistral-7B-Instruct-v0.3",
|
165 |
-
"tokenizer": "mistralai/Mistral-7B-Instruct-v0.3",
|
166 |
-
"preprompt": "",
|
167 |
-
"parameters": {
|
168 |
-
"temperature": 0.3,
|
169 |
-
"top_p": 0.95,
|
170 |
-
"repetition_penalty": 1.2,
|
171 |
-
"top_k": 50,
|
172 |
-
"truncate": 3072,
|
173 |
-
"max_new_tokens": 1024,
|
174 |
-
"stop": ["</s>"]
|
175 |
},
|
176 |
-
|
177 |
-
|
178 |
-
|
179 |
-
"prompt": "As a restaurant owner, write a professional email to the supplier to get these products every week: \n\n- Wine (x10)\n- Eggs (x24)\n- Bread (x12)"
|
180 |
-
}, {
|
181 |
-
"title": "Code a snake game",
|
182 |
-
"prompt": "Code a basic snake game in python, give explanations for each step."
|
183 |
-
}, {
|
184 |
-
"title": "Assist in a task",
|
185 |
-
"prompt": "How do I make a delicious lemon cheesecake?"
|
186 |
-
}
|
187 |
-
]
|
188 |
-
},
|
189 |
-
{
|
190 |
-
"name": "microsoft/Phi-3-mini-4k-instruct",
|
191 |
-
"tokenizer": "microsoft/Phi-3-mini-4k-instruct",
|
192 |
-
"description" : "One of the best small models (3.8B parameters), super fast for simple tasks.",
|
193 |
-
"logoUrl": "https://huggingface.co/datasets/huggingchat/models-logo/resolve/main/microsoft-logo.png",
|
194 |
-
"modelUrl": "https://huggingface.co/microsoft/Phi-3-mini-4k-instruct",
|
195 |
-
"websiteUrl": "https://azure.microsoft.com/en-us/blog/introducing-phi-3-redefining-whats-possible-with-slms/",
|
196 |
-
"preprompt": "",
|
197 |
-
"parameters": {
|
198 |
-
"stop": ["<|end|>", "<|endoftext|>", "<|assistant|>"],
|
199 |
-
"temperature": 0.7,
|
200 |
-
"max_new_tokens": 1024,
|
201 |
-
"truncate": 3071
|
202 |
},
|
203 |
-
|
204 |
-
|
205 |
-
|
206 |
-
|
207 |
-
|
208 |
-
|
209 |
-
|
210 |
-
|
211 |
-
|
212 |
-
|
213 |
-
|
214 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
215 |
},
|
216 |
-
|
217 |
-
|
218 |
-
|
219 |
-
|
220 |
-
"temperature": 0.6,
|
221 |
-
"top_p": 0.9,
|
222 |
-
"stop": ["<|endoftext|>", "<|eot_id|>"],
|
223 |
},
|
224 |
-
|
225 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
226 |
]
|
|
|
227 |
NODE_ENV: "prod"
|
228 |
NODE_LOG_STRUCTURED_DATA: true
|
229 |
OLD_MODELS: >
|
|
|
39 |
METRICS_ENABLED: "true"
|
40 |
MODELS: >
|
41 |
[
|
42 |
+
{
|
43 |
+
"name": "meta-llama/Meta-Llama-3.1-70B-Instruct",
|
44 |
"id": "meta-llama/Meta-Llama-3.1-70B-Instruct",
|
45 |
+
"tokenizer": {
|
46 |
+
"tokenizerUrl": "https://huggingface.co/nsarrazin/llama3.1-tokenizer/resolve/main/tokenizer.json",
|
47 |
+
"tokenizerConfigUrl": "https://huggingface.co/nsarrazin/llama3.1-tokenizer/raw/main/tokenizer_config.json"
|
48 |
+
},
|
49 |
"description": "Ideal for everyday use. A fast and extremely capable model matching closed source models' capabilities.",
|
50 |
"modelUrl": "https://huggingface.co/meta-llama/Meta-Llama-3.1-70B-Instruct",
|
51 |
"websiteUrl": "https://llama.meta.com/",
|
52 |
"logoUrl": "https://huggingface.co/datasets/huggingchat/models-logo/resolve/main/meta-logo.png",
|
53 |
"tools": true,
|
54 |
+
"preprompt": "",
|
55 |
"parameters": {
|
56 |
+
"temperature": 0.6,
|
57 |
+
"top_p": 0.9,
|
58 |
+
"stop": ["<|endoftext|>", "<|eot_id|>"],
|
59 |
"max_new_tokens": 1024,
|
60 |
"truncate": 7167
|
61 |
},
|
|
|
63 |
{
|
64 |
"title": "Write an email from bullet list",
|
65 |
"prompt": "As a restaurant owner, write a professional email to the supplier to get these products every week: \n\n- Wine (x10)\n- Eggs (x24)\n- Bread (x12)"
|
66 |
+
},
|
67 |
+
{
|
68 |
"title": "Code a snake game",
|
69 |
"prompt": "Code a basic snake game in python, give explanations for each step."
|
70 |
+
},
|
71 |
+
{
|
72 |
"title": "Assist in a task",
|
73 |
"prompt": "How do I make a delicious lemon cheesecake?"
|
74 |
}
|
75 |
]
|
76 |
+
},
|
77 |
{
|
78 |
+
"name": "CohereForAI/c4ai-command-r-plus-08-2024",
|
79 |
+
"tokenizer": {
|
80 |
+
"tokenizerUrl": "https://huggingface.co/nsarrazin/c4ai-command-r-v01-tokenizer/resolve/main/tokenizer.json",
|
81 |
+
"tokenizerConfigUrl": "https://huggingface.co/nsarrazin/c4ai-command-r-v01-tokenizer/raw/main/tokenizer_config.json"
|
82 |
+
},
|
83 |
"description": "Cohere's largest language model, optimized for conversational interaction and tool use. Now with the 2024 update!",
|
84 |
"modelUrl": "https://huggingface.co/CohereForAI/c4ai-command-r-plus-08-2024",
|
85 |
"websiteUrl": "https://docs.cohere.com/docs/command-r-plus",
|
|
|
87 |
"tools": true,
|
88 |
"parameters": {
|
89 |
"stop": ["<|END_OF_TURN_TOKEN|>"],
|
90 |
+
"truncate": 28672,
|
91 |
+
"max_new_tokens": 2048,
|
92 |
+
"temperature": 0.3
|
93 |
},
|
94 |
+
"promptExamples": [
|
95 |
{
|
96 |
"title": "Generate a mouse portrait",
|
97 |
"prompt": "Generate the portrait of a scientific mouse in its laboratory."
|
98 |
+
},
|
99 |
+
{
|
100 |
"title": "Review a pull request",
|
101 |
"prompt": "Review this pull request: https://github.com/huggingface/chat-ui/pull/1131/files"
|
102 |
+
},
|
103 |
+
{
|
104 |
+
"title": "Code a snake game",
|
105 |
+
"prompt": "Code a basic snake game in python, give explanations for each step."
|
106 |
+
}
|
107 |
+
]
|
108 |
+
},
|
109 |
+
{
|
110 |
+
"name": "Qwen/Qwen2.5-72B-Instruct",
|
111 |
+
"tokenizer": "Qwen/Qwen2.5-72B-Instruct",
|
112 |
+
"description": "The latest Qwen open model with improved role-playing, long text generation and structured data understanding.",
|
113 |
+
"modelUrl": "https://huggingface.co/Qwen/Qwen2.5-72B-Instruct",
|
114 |
+
"websiteUrl": "https://qwenlm.github.io/blog/qwen2.5/",
|
115 |
+
"logoUrl": "https://huggingface.co/datasets/huggingchat/models-logo/resolve/main/qwen-logo.png",
|
116 |
+
"preprompt": "",
|
117 |
+
"parameters": {
|
118 |
+
"temperature": 0.6,
|
119 |
+
"stop": ["<|endoftext|>", "<|im_end|>"],
|
120 |
+
"truncate": 28672,
|
121 |
+
"max_new_tokens": 3072,
|
122 |
+
},
|
123 |
+
"promptExamples": [
|
124 |
+
{
|
125 |
+
"title": "Write an email from bullet list",
|
126 |
+
"prompt": "As a restaurant owner, write a professional email to the supplier to get these products every week: \n\n- Wine (x10)\n- Eggs (x24)\n- Bread (x12)"
|
127 |
+
},
|
128 |
+
{
|
129 |
"title": "Code a snake game",
|
130 |
"prompt": "Code a basic snake game in python, give explanations for each step."
|
131 |
+
},
|
132 |
+
{
|
133 |
+
"title": "Assist in a task",
|
134 |
+
"prompt": "How do I make a delicious lemon cheesecake?"
|
135 |
}
|
136 |
]
|
137 |
},
|
138 |
{
|
139 |
+
"name": "mistralai/Mixtral-8x7B-Instruct-v0.1",
|
140 |
+
"description": "A high-quality sparse mixture of experts model with open weights.",
|
141 |
"logoUrl": "https://huggingface.co/datasets/huggingchat/models-logo/resolve/main/mistral-logo.png",
|
142 |
+
"websiteUrl": "https://mistral.ai/news/mixtral-of-experts/",
|
143 |
"modelUrl": "https://huggingface.co/mistralai/Mixtral-8x7B-Instruct-v0.1",
|
144 |
"tokenizer": "mistralai/Mixtral-8x7B-Instruct-v0.1",
|
145 |
+
"preprompt": "",
|
146 |
+
"parameters": {
|
147 |
+
"temperature": 0.6,
|
148 |
+
"top_p": 0.95,
|
149 |
+
"repetition_penalty": 1.2,
|
150 |
+
"top_k": 50,
|
151 |
+
"truncate": 24576,
|
152 |
+
"max_new_tokens": 8192,
|
153 |
+
"stop": ["</s>"]
|
154 |
},
|
155 |
+
"promptExamples": [
|
156 |
{
|
157 |
"title": "Write an email from bullet list",
|
158 |
"prompt": "As a restaurant owner, write a professional email to the supplier to get these products every week: \n\n- Wine (x10)\n- Eggs (x24)\n- Bread (x12)"
|
159 |
+
},
|
160 |
+
{
|
161 |
"title": "Code a snake game",
|
162 |
"prompt": "Code a basic snake game in python, give explanations for each step."
|
163 |
+
},
|
164 |
+
{
|
165 |
"title": "Assist in a task",
|
166 |
"prompt": "How do I make a delicious lemon cheesecake?"
|
167 |
}
|
168 |
]
|
169 |
},
|
170 |
{
|
171 |
+
"name": "NousResearch/Nous-Hermes-2-Mixtral-8x7B-DPO",
|
172 |
+
"description": "Nous Hermes' strong flagship model trained on the Mixtral 8x7B.",
|
173 |
+
"logoUrl": "https://huggingface.co/datasets/huggingchat/models-logo/resolve/main/nous-logo.png",
|
174 |
+
"websiteUrl": "https://nousresearch.com/",
|
175 |
+
"modelUrl": "https://huggingface.co/NousResearch/Nous-Hermes-2-Mixtral-8x7B-DPO",
|
176 |
+
"tokenizer": "NousResearch/Nous-Hermes-2-Mixtral-8x7B-DPO",
|
177 |
+
"promptExamples": [
|
178 |
+
{
|
179 |
+
"title": "Write an email from bullet list",
|
180 |
+
"prompt": "As a restaurant owner, write a professional email to the supplier to get these products every week: \n\n- Wine (x10)\n- Eggs (x24)\n- Bread (x12)"
|
181 |
+
},
|
182 |
+
{
|
183 |
+
"title": "Code a snake game",
|
184 |
+
"prompt": "Code a basic snake game in python, give explanations for each step."
|
185 |
+
},
|
186 |
+
{
|
187 |
+
"title": "Assist in a task",
|
188 |
+
"prompt": "How do I make a delicious lemon cheesecake?"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
189 |
}
|
190 |
+
],
|
191 |
+
"parameters": {
|
192 |
+
"temperature": 0.7,
|
193 |
+
"top_p": 0.95,
|
194 |
+
"repetition_penalty": 1,
|
195 |
+
"top_k": 50,
|
196 |
+
"truncate": 24576,
|
197 |
+
"max_new_tokens": 2048,
|
198 |
+
"stop": ["<|im_end|>"]
|
199 |
+
}
|
200 |
+
},
|
201 |
+
{
|
202 |
+
"name": "mistralai/Mistral-7B-Instruct-v0.3",
|
203 |
+
"displayName": "mistralai/Mistral-7B-Instruct-v0.3",
|
204 |
+
"description": "A small model with good capabilities in language understanding and commonsense reasoning.",
|
205 |
+
"logoUrl": "https://huggingface.co/datasets/huggingchat/models-logo/resolve/main/mistral-logo.png",
|
206 |
+
"websiteUrl": "https://mistral.ai/news/announcing-mistral-7b/",
|
207 |
+
"modelUrl": "https://huggingface.co/mistralai/Mistral-7B-Instruct-v0.3",
|
208 |
+
"tokenizer": "mistralai/Mistral-7B-Instruct-v0.3",
|
209 |
+
"preprompt": "",
|
210 |
+
"parameters": {
|
211 |
+
"temperature": 0.3,
|
212 |
+
"top_p": 0.95,
|
213 |
+
"repetition_penalty": 1.2,
|
214 |
+
"top_k": 50,
|
215 |
+
"truncate": 3072,
|
216 |
+
"max_new_tokens": 1024,
|
217 |
+
"stop": ["</s>"]
|
218 |
},
|
219 |
+
"promptExamples": [
|
220 |
+
{
|
221 |
+
"title": "Write an email from bullet list",
|
222 |
+
"prompt": "As a restaurant owner, write a professional email to the supplier to get these products every week: \n\n- Wine (x10)\n- Eggs (x24)\n- Bread (x12)"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
223 |
},
|
224 |
+
{
|
225 |
+
"title": "Code a snake game",
|
226 |
+
"prompt": "Code a basic snake game in python, give explanations for each step."
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
227 |
},
|
228 |
+
{
|
229 |
+
"title": "Assist in a task",
|
230 |
+
"prompt": "How do I make a delicious lemon cheesecake?"
|
231 |
+
}
|
232 |
+
]
|
233 |
+
},
|
234 |
+
{
|
235 |
+
"name": "microsoft/Phi-3-mini-4k-instruct",
|
236 |
+
"tokenizer": "microsoft/Phi-3-mini-4k-instruct",
|
237 |
+
"description": "One of the best small models (3.8B parameters), super fast for simple tasks.",
|
238 |
+
"logoUrl": "https://huggingface.co/datasets/huggingchat/models-logo/resolve/main/microsoft-logo.png",
|
239 |
+
"modelUrl": "https://huggingface.co/microsoft/Phi-3-mini-4k-instruct",
|
240 |
+
"websiteUrl": "https://azure.microsoft.com/en-us/blog/introducing-phi-3-redefining-whats-possible-with-slms/",
|
241 |
+
"preprompt": "",
|
242 |
+
"parameters": {
|
243 |
+
"stop": ["<|end|>", "<|endoftext|>", "<|assistant|>"],
|
244 |
+
"temperature": 0.7,
|
245 |
+
"max_new_tokens": 1024,
|
246 |
+
"truncate": 3071
|
247 |
},
|
248 |
+
"promptExamples": [
|
249 |
+
{
|
250 |
+
"title": "Write an email from bullet list",
|
251 |
+
"prompt": "As a restaurant owner, write a professional email to the supplier to get these products every week: \n\n- Wine (x10)\n- Eggs (x24)\n- Bread (x12)"
|
|
|
|
|
|
|
252 |
},
|
253 |
+
{
|
254 |
+
"title": "Code a snake game",
|
255 |
+
"prompt": "Code a basic snake game in python, give explanations for each step."
|
256 |
+
},
|
257 |
+
{
|
258 |
+
"title": "Assist in a task",
|
259 |
+
"prompt": "How do I make a delicious lemon cheesecake?"
|
260 |
+
}
|
261 |
+
]
|
262 |
+
},
|
263 |
+
{
|
264 |
+
"name": "llhf/Meta-Llama-3.1-8B-Instruct",
|
265 |
+
"tokenizer": {
|
266 |
+
"tokenizerUrl": "https://huggingface.co/nsarrazin/llama3.1-tokenizer/resolve/main/tokenizer.json",
|
267 |
+
"tokenizerConfigUrl": "https://huggingface.co/nsarrazin/llama3.1-tokenizer/raw/main/tokenizer_config.json"
|
268 |
+
},
|
269 |
+
"parameters": {
|
270 |
+
"temperature": 0.6,
|
271 |
+
"top_p": 0.9,
|
272 |
+
"stop": ["<|endoftext|>", "<|eot_id|>"]
|
273 |
+
},
|
274 |
+
"unlisted": true
|
275 |
+
}
|
276 |
]
|
277 |
+
|
278 |
NODE_ENV: "prod"
|
279 |
NODE_LOG_STRUCTURED_DATA: true
|
280 |
OLD_MODELS: >
|