Spaces:
Running
Running
Husnain
commited on
Commit
•
e51b66c
1
Parent(s):
61da4ff
⚡ [Enhance] Remove openchat (dropped) and command-r-plus (pro) f...
Browse files- constants/models.py +20 -20
constants/models.py
CHANGED
@@ -2,9 +2,9 @@ MODEL_MAP = {
|
|
2 |
"mixtral-8x7b": "mistralai/Mixtral-8x7B-Instruct-v0.1", # [Recommended]
|
3 |
"nous-mixtral-8x7b": "NousResearch/Nous-Hermes-2-Mixtral-8x7B-DPO",
|
4 |
"mistral-7b": "mistralai/Mistral-7B-Instruct-v0.2",
|
5 |
-
"openchat-3.5": "openchat/openchat-3.5-0106",
|
6 |
-
"gemma-
|
7 |
-
"command-r-plus": "CohereForAI/c4ai-command-r-plus",
|
8 |
"default": "mistralai/Mixtral-8x7B-Instruct-v0.1",
|
9 |
}
|
10 |
|
@@ -15,7 +15,7 @@ STOP_SEQUENCES_MAP = {
|
|
15 |
"nous-mixtral-8x7b": "<|im_end|>",
|
16 |
"mistral-7b": "</s>",
|
17 |
"openchat-3.5": "<|end_of_turn|>",
|
18 |
-
"gemma-
|
19 |
"command-r-plus": "<|END_OF_TURN_TOKEN|>",
|
20 |
}
|
21 |
|
@@ -24,7 +24,7 @@ TOKEN_LIMIT_MAP = {
|
|
24 |
"nous-mixtral-8x7b": 32768,
|
25 |
"mistral-7b": 32768,
|
26 |
"openchat-3.5": 8192,
|
27 |
-
"gemma-
|
28 |
"gpt-3.5-turbo": 8192,
|
29 |
"command-r-plus": 32768,
|
30 |
}
|
@@ -55,27 +55,27 @@ AVAILABLE_MODELS_DICTS = [
|
|
55 |
"created": 1700000000,
|
56 |
"owned_by": "mistralai",
|
57 |
},
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
58 |
{
|
59 |
-
"id": "
|
60 |
-
"description": "[openchat/openchat-3.5-0106]: https://huggingface.co/openchat/openchat-3.5-0106",
|
61 |
-
"object": "model",
|
62 |
-
"created": 1700000000,
|
63 |
-
"owned_by": "openchat",
|
64 |
-
},
|
65 |
-
{
|
66 |
-
"id": "gemma-1.1-7b",
|
67 |
"description": "[google/gemma-1.1-7b-it]: https://huggingface.co/google/gemma-1.1-7b-it",
|
68 |
"object": "model",
|
69 |
"created": 1700000000,
|
70 |
"owned_by": "Google",
|
71 |
},
|
72 |
-
{
|
73 |
-
|
74 |
-
|
75 |
-
|
76 |
-
|
77 |
-
|
78 |
-
},
|
79 |
{
|
80 |
"id": "gpt-3.5-turbo",
|
81 |
"description": "[openai/gpt-3.5-turbo]: https://platform.openai.com/docs/models/gpt-3-5-turbo",
|
|
|
2 |
"mixtral-8x7b": "mistralai/Mixtral-8x7B-Instruct-v0.1", # [Recommended]
|
3 |
"nous-mixtral-8x7b": "NousResearch/Nous-Hermes-2-Mixtral-8x7B-DPO",
|
4 |
"mistral-7b": "mistralai/Mistral-7B-Instruct-v0.2",
|
5 |
+
# "openchat-3.5": "openchat/openchat-3.5-0106",
|
6 |
+
"gemma-7b": "google/gemma-1.1-7b-it",
|
7 |
+
# "command-r-plus": "CohereForAI/c4ai-command-r-plus",
|
8 |
"default": "mistralai/Mixtral-8x7B-Instruct-v0.1",
|
9 |
}
|
10 |
|
|
|
15 |
"nous-mixtral-8x7b": "<|im_end|>",
|
16 |
"mistral-7b": "</s>",
|
17 |
"openchat-3.5": "<|end_of_turn|>",
|
18 |
+
"gemma-7b": "<eos>",
|
19 |
"command-r-plus": "<|END_OF_TURN_TOKEN|>",
|
20 |
}
|
21 |
|
|
|
24 |
"nous-mixtral-8x7b": 32768,
|
25 |
"mistral-7b": 32768,
|
26 |
"openchat-3.5": 8192,
|
27 |
+
"gemma-7b": 8192,
|
28 |
"gpt-3.5-turbo": 8192,
|
29 |
"command-r-plus": 32768,
|
30 |
}
|
|
|
55 |
"created": 1700000000,
|
56 |
"owned_by": "mistralai",
|
57 |
},
|
58 |
+
# {
|
59 |
+
# "id": "openchat-3.5",
|
60 |
+
# "description": "[openchat/openchat-3.5-0106]: https://huggingface.co/openchat/openchat-3.5-0106",
|
61 |
+
# "object": "model",
|
62 |
+
# "created": 1700000000,
|
63 |
+
# "owned_by": "openchat",
|
64 |
+
# },
|
65 |
{
|
66 |
+
"id": "gemma-7b",
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
67 |
"description": "[google/gemma-1.1-7b-it]: https://huggingface.co/google/gemma-1.1-7b-it",
|
68 |
"object": "model",
|
69 |
"created": 1700000000,
|
70 |
"owned_by": "Google",
|
71 |
},
|
72 |
+
# {
|
73 |
+
# "id": "command-r-plus",
|
74 |
+
# "description": "[CohereForAI/c4ai-command-r-plus]: https://huggingface.co/CohereForAI/c4ai-command-r-plus",
|
75 |
+
# "object": "model",
|
76 |
+
# "created": 1700000000,
|
77 |
+
# "owned_by": "CohereForAI",
|
78 |
+
# },
|
79 |
{
|
80 |
"id": "gpt-3.5-turbo",
|
81 |
"description": "[openai/gpt-3.5-turbo]: https://platform.openai.com/docs/models/gpt-3-5-turbo",
|