Skip to content

Commit f2384c6

Browse files
nsarrazinlewtun
andauthored
Add new model to HuggingChat config (#1008)
* Add latest zephyr to HuggingChat config * Update .env.template Co-authored-by: lewtun <lewis.c.tunstall@gmail.com> * Update .env.template Co-authored-by: lewtun <lewis.c.tunstall@gmail.com> * Update .env.template Co-authored-by: lewtun <lewis.c.tunstall@gmail.com> * Update .env.template Co-authored-by: lewtun <lewis.c.tunstall@gmail.com> * Add default Zephyr prompt --------- Co-authored-by: lewtun <lewis.c.tunstall@gmail.com>
1 parent c1caa1f commit f2384c6

File tree

1 file changed

+25
-0
lines changed

1 file changed

+25
-0
lines changed

.env.template

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,31 @@ MODELS=`[
2727
}
2828
]
2929
},
30+
{
31+
"name" : "HuggingFaceH4/zephyr-orpo-141b-A35b-v0.1",
32+
"tokenizer": "HuggingFaceH4/zephyr-orpo-141b-A35b-v0.1",
33+
"description": "Zephyr 141B-A35B is a fine-tuned version of Mistral 8x22B, trained using ORPO, a novel alignment algorithm.",
34+
"modelUrl": "https://huggingface.co/HuggingFaceH4/zephyr-orpo-141b-A35b-v0.1",
35+
"websiteUrl": "https://huggingface.co/HuggingFaceH4/zephyr-orpo-141b-A35b-v0.1",
36+
"logoUrl": "https://huggingface.co/datasets/huggingchat/models-logo/resolve/main/zephyr-logo.png",
37+
"parameters": {
38+
"truncate" : 24576,
39+
"max_new_tokens" : 8192,
40+
},
41+
"preprompt" : "You are Zephyr, an assistant developed by KAIST AI, Argilla, and Hugging Face. You should give concise responses to very simple questions, but provide thorough responses to more complex and open-ended questions. You are happy to help with writing, analysis, question answering, math, coding, and all sorts of other tasks.",
42+
"promptExamples" : [
43+
{
44+
"title": "Write a poem",
45+
"prompt": "Write a poem to help me remember the first 10 elements on the periodic table, giving each element its own line."
46+
}, {
47+
"title": "Code a snake game",
48+
"prompt": "Code a basic snake game in python, give explanations for each step."
49+
}, {
50+
"title": "Logical reasoning",
51+
"prompt": "Kayley has three brothers. Each of her brothers has two sisters. How many sisters does Kayley have?"
52+
}
53+
]
54+
},
3055
{
3156
"name" : "mistralai/Mixtral-8x7B-Instruct-v0.1",
3257
"description" : "The latest MoE model from Mistral AI! 8x7B and outperforms Llama 2 70B in most benchmarks.",

0 commit comments

Comments
 (0)