nsarrazin HF staff commited on
Commit
98c37ee
1 Parent(s): 9a3aa08

rollback to mistral for tasks

Browse files
Files changed (1) hide show
  1. .env.template +1 -31
.env.template CHANGED
@@ -126,37 +126,7 @@ MODELS=`[
126
 
127
  OLD_MODELS=`[{"name":"bigcode/starcoder"}, {"name":"OpenAssistant/oasst-sft-6-llama-30b-xor"}, {"name":"HuggingFaceH4/zephyr-7b-alpha"}]`
128
 
129
- TASK_MODEL='
130
- {
131
- "name": "HuggingFaceH4/zephyr-7b-alpha",
132
- "displayName": "HuggingFaceH4/zephyr-7b-alpha",
133
- "description": "Zephyr 7B α is a fine-tune of Mistral 7B, released by the Hugging Face H4 RLHF team.",
134
- "websiteUrl": "https://huggingface.co/HuggingFaceH4/zephyr-7b-alpha/",
135
- "preprompt": "",
136
- "chatPromptTemplate" : "<|system|>\n{{preprompt}}</s>\n{{#each messages}}{{#ifUser}}<|user|>\n{{content}}</s>\n<|assistant|>\n{{/ifUser}}{{#ifAssistant}}{{content}}</s>\n{{/ifAssistant}}{{/each}}",
137
- "parameters": {
138
- "temperature": 0.7,
139
- "top_p": 0.95,
140
- "repetition_penalty": 1.2,
141
- "top_k": 50,
142
- "truncate": 1000,
143
- "max_new_tokens": 2048,
144
- "stop": ["</s>", "<|>"]
145
- },
146
- "promptExamples": [
147
- {
148
- "title": "Write an email from bullet list",
149
- "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)"
150
- }, {
151
- "title": "Code a snake game",
152
- "prompt": "Code a basic snake game in python, give explanations for each step."
153
- }, {
154
- "title": "Assist in a task",
155
- "prompt": "How do I make a delicious lemon cheesecake?"
156
- }
157
- ]
158
- }
159
- '
160
 
161
 
162
  APP_BASE="/chat"
 
126
 
127
  OLD_MODELS=`[{"name":"bigcode/starcoder"}, {"name":"OpenAssistant/oasst-sft-6-llama-30b-xor"}, {"name":"HuggingFaceH4/zephyr-7b-alpha"}]`
128
 
129
+ TASK_MODEL='mistralai/Mistral-7B-Instruct-v0.1'
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
130
 
131
 
132
  APP_BASE="/chat"