Spaces:
Build error
Build error
Update constants/models.py
Browse files- constants/models.py +2 -1
constants/models.py
CHANGED
|
@@ -5,7 +5,7 @@ MODEL_MAP = {
|
|
| 5 |
"yi-1.5-34b": "01-ai/Yi-1.5-34B-Chat",
|
| 6 |
"gemma-7b": "google/gemma-1.1-7b-it",
|
| 7 |
"openchat-3.5": "openchat/openchat-3.5-0106",
|
| 8 |
-
"command-r-plus": "CohereForAI/c4ai-command-r-plus",
|
| 9 |
"llama3-70b": "meta-llama/Meta-Llama-3-70B-Instruct",
|
| 10 |
"zephyr-141b": "HuggingFaceH4/zephyr-orpo-141b-A35b-v0.1",
|
| 11 |
"default": "NousResearch/Nous-Hermes-2-Mixtral-8x7B-DPO",
|
|
@@ -28,6 +28,7 @@ STOP_SEQUENCES_MAP = {
|
|
| 28 |
# https://huggingface.co/google/gemma-1.1-7b-it/blob/main/tokenizer_config.json#L1509
|
| 29 |
"gemma-7b": "<eos>",
|
| 30 |
"openchat-3.5": "<|end_of_turn|>",
|
|
|
|
| 31 |
"command-r-plus": "<|END_OF_TURN_TOKEN|>",
|
| 32 |
# https://huggingface.co/Qwen/Qwen2-72B-Instruct/blob/main/tokenizer_config.json#L30
|
| 33 |
"Qwen2-72B": "<|im_end|>",
|
|
|
|
| 5 |
"yi-1.5-34b": "01-ai/Yi-1.5-34B-Chat",
|
| 6 |
"gemma-7b": "google/gemma-1.1-7b-it",
|
| 7 |
"openchat-3.5": "openchat/openchat-3.5-0106",
|
| 8 |
+
"command-r-plus": "CohereForAI/c4ai-command-r-plus-4bit",
|
| 9 |
"llama3-70b": "meta-llama/Meta-Llama-3-70B-Instruct",
|
| 10 |
"zephyr-141b": "HuggingFaceH4/zephyr-orpo-141b-A35b-v0.1",
|
| 11 |
"default": "NousResearch/Nous-Hermes-2-Mixtral-8x7B-DPO",
|
|
|
|
| 28 |
# https://huggingface.co/google/gemma-1.1-7b-it/blob/main/tokenizer_config.json#L1509
|
| 29 |
"gemma-7b": "<eos>",
|
| 30 |
"openchat-3.5": "<|end_of_turn|>",
|
| 31 |
+
# https://huggingface.co/CohereForAI/c4ai-command-r-plus-4bit/blob/main/tokenizer_config.json#L305
|
| 32 |
"command-r-plus": "<|END_OF_TURN_TOKEN|>",
|
| 33 |
# https://huggingface.co/Qwen/Qwen2-72B-Instruct/blob/main/tokenizer_config.json#L30
|
| 34 |
"Qwen2-72B": "<|im_end|>",
|