add zephyr (#510)
Browse files- .env.template +9 -9
.env.template
CHANGED
@@ -94,20 +94,20 @@ MODELS=`[
|
|
94 |
]
|
95 |
},
|
96 |
{
|
97 |
-
"name": "
|
98 |
-
"displayName": "
|
99 |
-
"description": "
|
100 |
-
"websiteUrl": "https://
|
101 |
"preprompt": "",
|
102 |
-
"chatPromptTemplate" : "
|
103 |
"parameters": {
|
104 |
-
"temperature": 0.
|
105 |
"top_p": 0.95,
|
106 |
"repetition_penalty": 1.2,
|
107 |
"top_k": 50,
|
108 |
"truncate": 1000,
|
109 |
"max_new_tokens": 2048,
|
110 |
-
"stop": ["</s>"]
|
111 |
},
|
112 |
"promptExamples": [
|
113 |
{
|
@@ -124,8 +124,8 @@ MODELS=`[
|
|
124 |
}
|
125 |
]`
|
126 |
|
127 |
-
OLD_MODELS=`[{"name":"bigcode/starcoder"}, {"name":"OpenAssistant/oasst-sft-6-llama-30b-xor"}]`
|
128 |
-
TASK_MODEL='
|
129 |
|
130 |
APP_BASE="/chat"
|
131 |
PUBLIC_ORIGIN=https://huggingface.co
|
|
|
94 |
]
|
95 |
},
|
96 |
{
|
97 |
+
"name": "HuggingFaceH4/zephyr-7b-alpha",
|
98 |
+
"displayName": "HuggingFaceH4/zephyr-7b-alpha",
|
99 |
+
"description": "Zephyr 7B α is a fine-tune of Mistral 7B, released by the Hugging Face H4 RLHF team.",
|
100 |
+
"websiteUrl": "https://huggingface.co/HuggingFaceH4/zephyr-7b-alpha/",
|
101 |
"preprompt": "",
|
102 |
+
"chatPromptTemplate" : "<|system|>\n{{preprompt}}</s>\n{{#each messages}}{{#ifUser}}<|user|>\n{{content}}</s>\n<|assistant|>\n{{/ifUser}}{{#ifAssistant}}{{content}}</s>\n{{/ifAssistant}}{{/each}}",
|
103 |
"parameters": {
|
104 |
+
"temperature": 0.7,
|
105 |
"top_p": 0.95,
|
106 |
"repetition_penalty": 1.2,
|
107 |
"top_k": 50,
|
108 |
"truncate": 1000,
|
109 |
"max_new_tokens": 2048,
|
110 |
+
"stop": ["</s>", "<|>"]
|
111 |
},
|
112 |
"promptExamples": [
|
113 |
{
|
|
|
124 |
}
|
125 |
]`
|
126 |
|
127 |
+
OLD_MODELS=`[{"name":"bigcode/starcoder"}, {"name":"OpenAssistant/oasst-sft-6-llama-30b-xor"}, {"name":"mistralai/Mistral-7B-Instruct-v0.1"}]`
|
128 |
+
TASK_MODEL='HuggingFaceH4/zephyr-7b-alpha'
|
129 |
|
130 |
APP_BASE="/chat"
|
131 |
PUBLIC_ORIGIN=https://huggingface.co
|