nsarrazin HF staff commited on
Commit
2313609
1 Parent(s): fac3250

add zephyr (#510)

Browse files
Files changed (1) hide show
  1. .env.template +9 -9
.env.template CHANGED
@@ -94,20 +94,20 @@ MODELS=`[
94
  ]
95
  },
96
  {
97
- "name": "mistralai/Mistral-7B-Instruct-v0.1",
98
- "displayName": "mistralai/Mistral-7B-Instruct-v0.1",
99
- "description": "Mistral 7B is a new Apache 2.0 model, released by Mistral AI that outperforms Llama2 13B in benchmarks.",
100
- "websiteUrl": "https://mistral.ai/news/announcing-mistral-7b/",
101
  "preprompt": "",
102
- "chatPromptTemplate" : "<s>{{#each messages}}{{#ifUser}}[INST] {{#if @first}}{{#if @root.preprompt}}{{@root.preprompt}}\n{{/if}}{{/if}}{{content}} [/INST]{{/ifUser}}{{#ifAssistant}}{{content}}</s>{{/ifAssistant}}{{/each}}",
103
  "parameters": {
104
- "temperature": 0.1,
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='mistralai/Mistral-7B-Instruct-v0.1'
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