Commit
•
00e95b5
1
Parent(s):
6891c3a
Fix DanishPoliticalCommentsClassification]
Browse files- results.py +2 -0
results.py
CHANGED
@@ -173,6 +173,8 @@ class MTEBResults(datasets.GeneratorBasedBuilder):
|
|
173 |
split = "test"
|
174 |
if ds_name in ["AFQMC", "CmedqaRetrieval", "Cmnli", "CovidRetrieval", "DuRetrieval", "EcomRetrieval", "IFlyTek", "JDReview", "MedicalRetrieval", "MultilingualSentiment", "MmarcoReranking", "MMarcoRetrieval", "MSMARCO", "Ocnli", "OnlineShopping", "T2Reranking", "T2Retrieval", "TNews", "VideoRetrieval",]:
|
175 |
split = "dev" if "dev" in res_dict else "validation"
|
|
|
|
|
176 |
if (split not in res_dict) and (ds_name in ["JDReview"]):
|
177 |
split = "test"
|
178 |
if split not in res_dict:
|
|
|
173 |
split = "test"
|
174 |
if ds_name in ["AFQMC", "CmedqaRetrieval", "Cmnli", "CovidRetrieval", "DuRetrieval", "EcomRetrieval", "IFlyTek", "JDReview", "MedicalRetrieval", "MultilingualSentiment", "MmarcoReranking", "MMarcoRetrieval", "MSMARCO", "Ocnli", "OnlineShopping", "T2Reranking", "T2Retrieval", "TNews", "VideoRetrieval",]:
|
175 |
split = "dev" if "dev" in res_dict else "validation"
|
176 |
+
elif ds_name in ["DanishPoliticalCommentsClassification"]:
|
177 |
+
split = "train"
|
178 |
if (split not in res_dict) and (ds_name in ["JDReview"]):
|
179 |
split = "test"
|
180 |
if split not in res_dict:
|