Spaces:
Sleeping
Sleeping
stivenDR14
commited on
Commit
·
f2b34f4
1
Parent(s):
b9a742d
updating more models
Browse files
utils.py
CHANGED
|
@@ -8,15 +8,19 @@ ENVIRONMENT = os.getenv("ENVIRONMENT")
|
|
| 8 |
|
| 9 |
if ENVIRONMENT == "dev":
|
| 10 |
AI_MODELS = {
|
| 11 |
-
"Huggingface / Mistral 8B Instruct": "mistralai/Ministral-8B-Instruct-2410",
|
| 12 |
"Huggingface / Meta Llama 3.1 8B Instruct": "meta-llama/Llama-3.1-8B-Instruct",
|
|
|
|
|
|
|
|
|
|
| 13 |
"IBM Granite3.1 dense / Ollama local": "ollama",
|
| 14 |
"Open AI / GPT-4o-mini": "openai",
|
| 15 |
}
|
| 16 |
else:
|
| 17 |
AI_MODELS = {
|
| 18 |
-
"Huggingface / Mistral 8B Instruct": "mistralai/Ministral-8B-Instruct-2410",
|
| 19 |
"Huggingface / Meta Llama 3.1 8B Instruct": "meta-llama/Llama-3.1-8B-Instruct",
|
|
|
|
|
|
|
|
|
|
| 20 |
"Open AI / GPT-4o-mini": "openai",
|
| 21 |
}
|
| 22 |
|
|
|
|
| 8 |
|
| 9 |
if ENVIRONMENT == "dev":
|
| 10 |
AI_MODELS = {
|
|
|
|
| 11 |
"Huggingface / Meta Llama 3.1 8B Instruct": "meta-llama/Llama-3.1-8B-Instruct",
|
| 12 |
+
"Huggingface / Mistral Nemo Instruct": "mistralai/Mistral-Nemo-Instruct-2407",
|
| 13 |
+
"Huggingface / Microsoft Phi 3.5 Mini Instruct": "microsoft/Phi-3.5-mini-instruct",
|
| 14 |
+
"Huggingface / Google Gemma 3 12B Instruct": "google/gemma-3-12b-it",
|
| 15 |
"IBM Granite3.1 dense / Ollama local": "ollama",
|
| 16 |
"Open AI / GPT-4o-mini": "openai",
|
| 17 |
}
|
| 18 |
else:
|
| 19 |
AI_MODELS = {
|
|
|
|
| 20 |
"Huggingface / Meta Llama 3.1 8B Instruct": "meta-llama/Llama-3.1-8B-Instruct",
|
| 21 |
+
"Huggingface / Mistral Nemo Instruct": "mistralai/Mistral-Nemo-Instruct-2407",
|
| 22 |
+
"Huggingface / Microsoft Phi 3.5 Mini Instruct": "microsoft/Phi-3.5-mini-instruct",
|
| 23 |
+
"Huggingface / Google Gemma 3 12B Instruct": "google/gemma-3-12b-it",
|
| 24 |
"Open AI / GPT-4o-mini": "openai",
|
| 25 |
}
|
| 26 |
|