Skip to content

Commit f93eee7

Browse files
authored
Add Command R+ to HuggingChat config (#1001)
* Add Command R+ model * add token limits & default sampling parameters * Make Command R+ the default
1 parent 29b7d2a commit f93eee7

File tree

1 file changed

+16
-2
lines changed

1 file changed

+16
-2
lines changed

.env.template

Lines changed: 16 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,21 @@
11
# template used in production for HuggingChat.
22

33
MODELS=`[
4-
{
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+
{
519
"name" : "mistralai/Mixtral-8x7B-Instruct-v0.1",
620
"description" : "The latest MoE model from Mistral AI! 8x7B and outperforms Llama 2 70B in most benchmarks.",
721
"logoUrl": "https://huggingface.co/datasets/huggingchat/models-logo/resolve/main/mistral-logo.png",
@@ -153,7 +167,7 @@ MODELS=`[
153167
"prompt": "How do I make a delicious lemon cheesecake?"
154168
}
155169
]
156-
},
170+
}
157171
]`
158172

159173
OLD_MODELS=`[

0 commit comments

Comments
 (0)