jonathanjordan21 commited on
Commit
67484b8
1 Parent(s): 1295055

Update constants/models.py

Browse files
Files changed (1) hide show
  1. constants/models.py +14 -3
constants/models.py CHANGED
@@ -14,7 +14,8 @@ MODEL_MAP = {
14
  "qwen2-1.5b-instruct" : "Qwen/Qwen2-1.5B-Instruct",
15
  "llama3-8b" : "meta-llama/Meta-Llama-3-8B-Instruct",
16
  "mistral-nemo-instruct":"mistralai/Mistral-Nemo-Instruct-2407",
17
- "zephyr-7b-beta":"HuggingFaceH4/zephyr-7b-beta"
 
18
  }
19
 
20
  AVAILABLE_MODELS = list(MODEL_MAP.keys())
@@ -45,7 +46,8 @@ STOP_SEQUENCES_MAP = {
45
  "llama3-8b" : "<|eot_id|>",
46
  "llama3-70b" : "<|eot_id|>",
47
  "mistral-nemo-instruct": "</s>",
48
- "zephyr-7b-beta":"</s>"
 
49
  }
50
 
51
  TOKEN_LIMIT_MAP = {
@@ -65,6 +67,7 @@ TOKEN_LIMIT_MAP = {
65
  "qwen2-7b-instruct": 32768,
66
  "qwen2-1.5b-instruct": 32768,
67
  "llama3-8b": 8192,
 
68
  }
69
 
70
  TOKEN_RESERVED = 20
@@ -100,7 +103,7 @@ LLM_MODELS_DICTS = [
100
  "object": "model",
101
  "created": 1700000000,
102
  "owned_by": "01-ai",
103
- "type": "pro",
104
  },
105
  {
106
  "id": "gemma-7b",
@@ -190,6 +193,14 @@ LLM_MODELS_DICTS = [
190
  "owned_by": "HuggingFaceH4",
191
  "type": "basic",
192
  },
 
 
 
 
 
 
 
 
193
  ]
194
 
195
 
 
14
  "qwen2-1.5b-instruct" : "Qwen/Qwen2-1.5B-Instruct",
15
  "llama3-8b" : "meta-llama/Meta-Llama-3-8B-Instruct",
16
  "mistral-nemo-instruct":"mistralai/Mistral-Nemo-Instruct-2407",
17
+ "zephyr-7b-beta":"HuggingFaceH4/zephyr-7b-beta",
18
+ "phi-3-mini-instruct":"microsoft/Phi-3-mini-4k-instruct"
19
  }
20
 
21
  AVAILABLE_MODELS = list(MODEL_MAP.keys())
 
46
  "llama3-8b" : "<|eot_id|>",
47
  "llama3-70b" : "<|eot_id|>",
48
  "mistral-nemo-instruct": "</s>",
49
+ "zephyr-7b-beta":"</s>",
50
+ "phi-3-mini-instruct":"<|end|>"
51
  }
52
 
53
  TOKEN_LIMIT_MAP = {
 
67
  "qwen2-7b-instruct": 32768,
68
  "qwen2-1.5b-instruct": 32768,
69
  "llama3-8b": 8192,
70
+ "phi-3-mini-instruct":4096
71
  }
72
 
73
  TOKEN_RESERVED = 20
 
103
  "object": "model",
104
  "created": 1700000000,
105
  "owned_by": "01-ai",
106
+ "type": "basic",
107
  },
108
  {
109
  "id": "gemma-7b",
 
193
  "owned_by": "HuggingFaceH4",
194
  "type": "basic",
195
  },
196
+ {
197
+ "id": "phi-3-mini-instruct",
198
+ "description": "[microsoft/Phi-3-mini-4k-instruct]: https://huggingface.co/microsoft/Phi-3-mini-4k-instruct",
199
+ "object": "model",
200
+ "created": 1700000000,
201
+ "owned_by": "microsoft",
202
+ "type": "basic",
203
+ },
204
  ]
205
 
206