Niansuh commited on
Commit
9ae615f
1 Parent(s): c90d65f

Update constants/models.py

Browse files
Files changed (1) hide show
  1. constants/models.py +11 -0
constants/models.py CHANGED
@@ -2,6 +2,7 @@ MODEL_MAP = {
2
  "mixtral-8x7b": "mistralai/Mixtral-8x7B-Instruct-v0.1", # [Recommended]
3
  "nous-mixtral-8x7b": "NousResearch/Nous-Hermes-2-Mixtral-8x7B-DPO",
4
  "Llama-3.1-70B-Instruct": "meta-llama/Meta-Llama-3.1-70B-Instruct",
 
5
  "mistral-7b": "mistralai/Mistral-7B-Instruct-v0.2",
6
  "yi-1.5-34b": "01-ai/Yi-1.5-34B-Chat",
7
  "gemma-7b": "google/gemma-1.1-7b-it",
@@ -23,6 +24,8 @@ STOP_SEQUENCES_MAP = {
23
  "nous-mixtral-8x7b": "<|im_end|>",
24
  # https://huggingface.co/meta-llama/Meta-Llama-3.1-70B-Instruct/blob/1d54af340dc8906a2d21146191a9c184c35e47bd/tokenizer_config.json#L2055
25
  "Llama-3.1-70B-Instruct": "<|eot_id|>",
 
 
26
  # https://huggingface.co/mistralai/Mistral-7B-Instruct-v0.2/blob/main/tokenizer_config.json#L33
27
  "mistral-7b": "</s>",
28
  # https://huggingface.co/01-ai/Yi-1.5-34B-Chat/blob/main/tokenizer_config.json#L42
@@ -37,6 +40,7 @@ TOKEN_LIMIT_MAP = {
37
  "mixtral-8x7b": 32768,
38
  "nous-mixtral-8x7b": 32768,
39
  "Llama-3.1-70B-Instruct": 32768,
 
40
  "mistral-7b": 32768,
41
  "yi-1.5-34b": 4096,
42
  "gemma-7b": 8192,
@@ -66,6 +70,13 @@ AVAILABLE_MODELS_DICTS = [
66
  "created": 1700000000,
67
  "owned_by": "NousResearch",
68
  },
 
 
 
 
 
 
 
69
  {
70
  "id": "Llama-3.1-70B-Instruct",
71
  "description": "[meta-llama/Llama-3.1-70B-Instruct]: https://huggingface.co/meta-llama/Llama-3.1-70B-Instruct",
 
2
  "mixtral-8x7b": "mistralai/Mixtral-8x7B-Instruct-v0.1", # [Recommended]
3
  "nous-mixtral-8x7b": "NousResearch/Nous-Hermes-2-Mixtral-8x7B-DPO",
4
  "Llama-3.1-70B-Instruct": "meta-llama/Meta-Llama-3.1-70B-Instruct",
5
+ "Mistral-Nemo-Instruct-2407": "mistralai/Mistral-Nemo-Instruct-2407",
6
  "mistral-7b": "mistralai/Mistral-7B-Instruct-v0.2",
7
  "yi-1.5-34b": "01-ai/Yi-1.5-34B-Chat",
8
  "gemma-7b": "google/gemma-1.1-7b-it",
 
24
  "nous-mixtral-8x7b": "<|im_end|>",
25
  # https://huggingface.co/meta-llama/Meta-Llama-3.1-70B-Instruct/blob/1d54af340dc8906a2d21146191a9c184c35e47bd/tokenizer_config.json#L2055
26
  "Llama-3.1-70B-Instruct": "<|eot_id|>",
27
+ # https://huggingface.co/meta-llama/Meta-Llama-3.1-70B-Instruct/blob/1d54af340dc8906a2d21146191a9c184c35e47bd/tokenizer_config.json#L2055
28
+ "Mistral-Nemo-Instruct-2407": "</s>",
29
  # https://huggingface.co/mistralai/Mistral-7B-Instruct-v0.2/blob/main/tokenizer_config.json#L33
30
  "mistral-7b": "</s>",
31
  # https://huggingface.co/01-ai/Yi-1.5-34B-Chat/blob/main/tokenizer_config.json#L42
 
40
  "mixtral-8x7b": 32768,
41
  "nous-mixtral-8x7b": 32768,
42
  "Llama-3.1-70B-Instruct": 32768,
43
+ "Mistral-Nemo-Instruct-2407": 32768,
44
  "mistral-7b": 32768,
45
  "yi-1.5-34b": 4096,
46
  "gemma-7b": 8192,
 
70
  "created": 1700000000,
71
  "owned_by": "NousResearch",
72
  },
73
+ {
74
+ "id": "Mistral-Nemo-Instruct-2407",
75
+ "description": "[mistralai/Mistral-Nemo-Instruct-2407]: https://huggingface.co/mistralai/Mistral-Nemo-Instruct-2407",
76
+ "object": "model",
77
+ "created": 1700000000,
78
+ "owned_by": "mistralai",
79
+ },
80
  {
81
  "id": "Llama-3.1-70B-Instruct",
82
  "description": "[meta-llama/Llama-3.1-70B-Instruct]: https://huggingface.co/meta-llama/Llama-3.1-70B-Instruct",