Muennighoff
commited on
Commit
•
6891c3a
1
Parent(s):
db95913
Add comma
Browse files- results.py +2 -2
results.py
CHANGED
@@ -84,7 +84,7 @@ MODELS = [
|
|
84 |
"sgpt-bloom-7b1-msmarco",
|
85 |
"sup-simcse-bert-base-uncased",
|
86 |
"text2vec-base-chinese",
|
87 |
-
"text2vec-large-chinese"
|
88 |
"text-embedding-ada-002",
|
89 |
"text-similarity-ada-001",
|
90 |
"text-similarity-babbage-001",
|
@@ -171,7 +171,7 @@ class MTEBResults(datasets.GeneratorBasedBuilder):
|
|
171 |
res_dict = json.load(f)
|
172 |
ds_name = res_dict["mteb_dataset_name"]
|
173 |
split = "test"
|
174 |
-
if ds_name in ["AFQMC", "CmedqaRetrieval", "Cmnli", "CovidRetrieval", "DuRetrieval", "EcomRetrieval", "IFlyTek", "JDReview", "MedicalRetrieval", "MultilingualSentiment", "
|
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"
|
|
|
84 |
"sgpt-bloom-7b1-msmarco",
|
85 |
"sup-simcse-bert-base-uncased",
|
86 |
"text2vec-base-chinese",
|
87 |
+
"text2vec-large-chinese",
|
88 |
"text-embedding-ada-002",
|
89 |
"text-similarity-ada-001",
|
90 |
"text-similarity-babbage-001",
|
|
|
171 |
res_dict = json.load(f)
|
172 |
ds_name = res_dict["mteb_dataset_name"]
|
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"
|