nsarrazin HF staff commited on
Commit
f93eee7
1 Parent(s): 29b7d2a

Add Command R+ to HuggingChat config (#1001)

Browse files

* Add Command R+ model

* add token limits & default sampling parameters

* Make Command R+ the default

Files changed (1) hide show
  1. .env.template +16 -2
.env.template CHANGED
@@ -1,7 +1,21 @@
1
  # template used in production for HuggingChat.
2
 
3
  MODELS=`[
4
- {
 
 
 
 
 
 
 
 
 
 
 
 
 
 
5
  "name" : "mistralai/Mixtral-8x7B-Instruct-v0.1",
6
  "description" : "The latest MoE model from Mistral AI! 8x7B and outperforms Llama 2 70B in most benchmarks.",
7
  "logoUrl": "https://huggingface.co/datasets/huggingchat/models-logo/resolve/main/mistral-logo.png",
@@ -153,7 +167,7 @@ MODELS=`[
153
  "prompt": "How do I make a delicious lemon cheesecake?"
154
  }
155
  ]
156
- },
157
  ]`
158
 
159
  OLD_MODELS=`[
 
1
  # template used in production for HuggingChat.
2
 
3
  MODELS=`[
4
+ {
5
+ "name" : "CohereForAI/c4ai-command-r-plus",
6
+ "tokenizer": "Xenova/c4ai-command-r-v01-tokenizer",
7
+ "description": "Command R+ is Cohere's latest LLM and is the first open weight model to beat GPT4 in the Chatbot Arena!",
8
+ "modelUrl": "https://huggingface.co/CohereForAI/c4ai-command-r-plus",
9
+ "websiteUrl": "https://docs.cohere.com/docs/command-r-plus",
10
+ "logoUrl": "https://huggingface.co/datasets/huggingchat/models-logo/resolve/main/cohere-logo.png",
11
+ "parameters": {
12
+ "stop": ["<|END_OF_TURN_TOKEN|>"],
13
+ "truncate" : 24576,
14
+ "max_new_tokens" : 8192,
15
+ "temperature" : 0.3
16
+ }
17
+ },
18
+ {
19
  "name" : "mistralai/Mixtral-8x7B-Instruct-v0.1",
20
  "description" : "The latest MoE model from Mistral AI! 8x7B and outperforms Llama 2 70B in most benchmarks.",
21
  "logoUrl": "https://huggingface.co/datasets/huggingchat/models-logo/resolve/main/mistral-logo.png",
 
167
  "prompt": "How do I make a delicious lemon cheesecake?"
168
  }
169
  ]
170
+ }
171
  ]`
172
 
173
  OLD_MODELS=`[