Spaces:
Sleeping
Sleeping
Add allowedModels.js
Browse files
frontend/src/pages/LeaderboardPage/components/Leaderboard/constants/allowedModels.js
ADDED
|
@@ -0,0 +1,32 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
// Define the list of allowed models to display
|
| 2 |
+
export const ALLOWED_MODELS = [
|
| 3 |
+
"GPT-4o",
|
| 4 |
+
"o3-Mini",
|
| 5 |
+
"Deepseek-V3",
|
| 6 |
+
"meta-llama/Llama-4-Scout-17B-16E-Instruct",
|
| 7 |
+
"meta-llama/Llama-3.1-70B-Instruct",
|
| 8 |
+
"google/gemma-3-4b-it",
|
| 9 |
+
"google/gemma-3-27b-it",
|
| 10 |
+
"Qwen/Qwen2.5-32B-Instruct",
|
| 11 |
+
"Qwen/Qwen2.5-Omni-7B",
|
| 12 |
+
"TheFinAI/finma-7b-full",
|
| 13 |
+
"Duxiaoman-DI/Llama3.1-XuanYuan-FinX1-Preview",
|
| 14 |
+
"cyberagent/DeepSeek-R1-Distill-Qwen-32B-Japanese",
|
| 15 |
+
"TheFinAI/FinMA-ES-Bilingual",
|
| 16 |
+
"TheFinAI/plutus-8B-instruct",
|
| 17 |
+
"Qwen-VL-MAX",
|
| 18 |
+
"LLaVA-1.6 Vicuna-13B",
|
| 19 |
+
"Deepseek-VL-7B-Chat",
|
| 20 |
+
"Whisper-V3",
|
| 21 |
+
"Qwen2-Audio-7B",
|
| 22 |
+
"Qwen2-Audio-7B-Instruct",
|
| 23 |
+
"SALMONN-7B",
|
| 24 |
+
"SALMONN-13B"
|
| 25 |
+
];
|
| 26 |
+
|
| 27 |
+
// Function to check if a model is in the allowed list
|
| 28 |
+
export const isModelAllowed = (modelName) => {
|
| 29 |
+
return ALLOWED_MODELS.some(allowedModel =>
|
| 30 |
+
modelName.toLowerCase().includes(allowedModel.toLowerCase())
|
| 31 |
+
);
|
| 32 |
+
};
|