nsarrazin HF staff commited on
Commit
c5fac96
1 Parent(s): a0a9c1c

Add Phi 3 to huggingchat (#1058)

Browse files
Files changed (1) hide show
  1. .env.template +25 -0
.env.template CHANGED
@@ -173,6 +173,31 @@ MODELS=`[
173
  "stop": ["<|eot_id|>"],
174
  },
175
  "unlisted": true
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
176
  },
177
  {
178
  "name": "mistralai/Mistral-7B-Instruct-v0.2",
 
173
  "stop": ["<|eot_id|>"],
174
  },
175
  "unlisted": true
176
+ },
177
+ {
178
+ "name": "microsoft/Phi-3-mini-4k-instruct",
179
+ "tokenizer": "microsoft/Phi-3-mini-4k-instruct",
180
+ "description" : "Phi-3 Mini-4K-Instruct is a 3.8B parameters, lightweight, state-of-the-art open model built upon datasets used for Phi-2.",
181
+ "logoUrl": "https://huggingface.co/datasets/huggingchat/models-logo/resolve/main/microsoft-logo.png",
182
+ "modelUrl": "https://huggingface.co/microsoft/Phi-3-mini-4k-instruct",
183
+ "preprompt": "",
184
+ "parameters": {
185
+ "stop": ["</s>", "<|end|>"],
186
+ "max_new_tokens": 1024,
187
+ "truncate": 3071
188
+ },
189
+ "promptExamples": [
190
+ {
191
+ "title": "Write an email from bullet list",
192
+ "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)"
193
+ }, {
194
+ "title": "Code a snake game",
195
+ "prompt": "Code a basic snake game in python, give explanations for each step."
196
+ }, {
197
+ "title": "Assist in a task",
198
+ "prompt": "How do I make a delicious lemon cheesecake?"
199
+ }
200
+ ]
201
  },
202
  {
203
  "name": "mistralai/Mistral-7B-Instruct-v0.2",