Spaces:
Running
on
CPU Upgrade
Running
on
CPU Upgrade
Muennighoff
commited on
Commit
•
842d3bc
1
Parent(s):
2458a90
Add counts
Browse files
app.py
CHANGED
@@ -735,7 +735,7 @@ DATA_STS = get_mteb_data(["STS"])
|
|
735 |
NUM_SCORES = 0
|
736 |
DATASETS = []
|
737 |
# LANGUAGES = []
|
738 |
-
for d in [DATA_BITEXT_MINING, DATA_BITEXT_MINING_OTHER, DATA_CLASSIFICATION_EN, DATA_CLASSIFICATION_DA, DATA_CLASSIFICATION_NB, DATA_CLASSIFICATION_SV, DATA_CLASSIFICATION_OTHER, DATA_CLUSTERING, DATA_CLUSTERING_GERMAN, DATA_PAIR_CLASSIFICATION, DATA_RERANKING, DATA_RETRIEVAL, DATA_STS, DATA_SUMMARIZATION]:
|
739 |
# NUM_SCORES += d.iloc[:, 1:].apply(lambda x: sum([1 for y in x if isinstance(y, float) and not np.isnan(y)]), axis=1).sum()
|
740 |
cols_to_ignore = 3 if "Average" in d.columns else 2
|
741 |
# Count number of scores including only non-nan floats & excluding the rank column
|
|
|
735 |
NUM_SCORES = 0
|
736 |
DATASETS = []
|
737 |
# LANGUAGES = []
|
738 |
+
for d in [DATA_BITEXT_MINING, DATA_BITEXT_MINING_OTHER, DATA_CLASSIFICATION_EN, DATA_CLASSIFICATION_DA, DATA_CLASSIFICATION_NB, DATA_CLASSIFICATION_SV, DATA_CLASSIFICATION_OTHER, DATA_CLUSTERING, DATA_CLUSTERING_GERMAN, DATA_PAIR_CLASSIFICATION, DATA_RERANKING, DATA_RETRIEVAL, DATA_STS_EN, DATA_STS, DATA_SUMMARIZATION]:
|
739 |
# NUM_SCORES += d.iloc[:, 1:].apply(lambda x: sum([1 for y in x if isinstance(y, float) and not np.isnan(y)]), axis=1).sum()
|
740 |
cols_to_ignore = 3 if "Average" in d.columns else 2
|
741 |
# Count number of scores including only non-nan floats & excluding the rank column
|