Spaces:
Runtime error
Runtime error
Commit
•
3b554b5
1
Parent(s):
90fa47e
Update src/leaderboard/read_evals.py
Browse files
src/leaderboard/read_evals.py
CHANGED
@@ -86,7 +86,7 @@ class EvalResult:
|
|
86 |
|
87 |
if model_card.data.tags:
|
88 |
is_merge_from_metadata = "merge" in model_card.data.tags
|
89 |
-
merge_keywords = ["mergekit", "merged model", "merge model"]
|
90 |
# If the model is a merge but not saying it in the metadata, we flag it
|
91 |
is_merge_from_model_card = any(keyword in model_card.text.lower() for keyword in merge_keywords)
|
92 |
flagged = is_merge_from_model_card and not is_merge_from_metadata
|
|
|
86 |
|
87 |
if model_card.data.tags:
|
88 |
is_merge_from_metadata = "merge" in model_card.data.tags
|
89 |
+
merge_keywords = ["mergekit", "merged model", "merge model", "merging"]
|
90 |
# If the model is a merge but not saying it in the metadata, we flag it
|
91 |
is_merge_from_model_card = any(keyword in model_card.text.lower() for keyword in merge_keywords)
|
92 |
flagged = is_merge_from_model_card and not is_merge_from_metadata
|