Update backend/app/services/leaderboard.py
Browse files
backend/app/services/leaderboard.py
CHANGED
|
@@ -342,14 +342,14 @@ class LeaderboardService:
|
|
| 342 |
|
| 343 |
# Map old model types to new ones
|
| 344 |
model_type_mapping = {
|
| 345 |
-
"fine-tuned": "
|
| 346 |
-
"fine tuned": "
|
| 347 |
-
"finetuned": "
|
| 348 |
-
"fine_tuned": "
|
| 349 |
-
"ft": "
|
| 350 |
-
"finetuning": "
|
| 351 |
-
"fine tuning": "
|
| 352 |
-
"fine-tuning": "
|
| 353 |
}
|
| 354 |
|
| 355 |
mapped_type = model_type_mapping.get(model_type.lower().strip(), model_type)
|
|
|
|
| 342 |
|
| 343 |
# Map old model types to new ones
|
| 344 |
model_type_mapping = {
|
| 345 |
+
"fine-tuned": "fine-tuned",
|
| 346 |
+
"fine tuned": "fine-tuned",
|
| 347 |
+
"finetuned": "fine-tuned",
|
| 348 |
+
"fine_tuned": "fine-tuned",
|
| 349 |
+
"ft": "fine-tuned",
|
| 350 |
+
"finetuning": "fine-tuned",
|
| 351 |
+
"fine tuning": "fine-tuned",
|
| 352 |
+
"fine-tuning": "fine-tuned"
|
| 353 |
}
|
| 354 |
|
| 355 |
mapped_type = model_type_mapping.get(model_type.lower().strip(), model_type)
|