Terry Zhuo
commited on
Commit
·
4021735
1
Parent(s):
a88f2e5
update
Browse files
app.py
CHANGED
|
@@ -184,7 +184,7 @@ def get_latest_data_leaderboard(
|
|
| 184 |
cache_dir=HF_HOME,
|
| 185 |
download_mode=datasets.DownloadMode.REUSE_DATASET_IF_EXISTS, # Uses the cached dataset
|
| 186 |
verification_mode="no_checks"
|
| 187 |
-
).filter(lambda x: x['complete'] is not None
|
| 188 |
LEADERBOARD_DF = get_leaderboard_df(
|
| 189 |
leaderboard_dataset=leaderboard_dataset,
|
| 190 |
cols=COLS,
|
|
@@ -196,7 +196,7 @@ def get_latest_data_leaderboard(
|
|
| 196 |
cache_dir=HF_HOME,
|
| 197 |
download_mode=datasets.DownloadMode.REUSE_DATASET_IF_EXISTS, # Uses the cached dataset
|
| 198 |
verification_mode="no_checks"
|
| 199 |
-
).filter(lambda x: x['complete'] is not None
|
| 200 |
hard_leaderboard_df = get_leaderboard_df(
|
| 201 |
leaderboard_dataset=hard_leaderboard_dataset,
|
| 202 |
cols=COLS,
|
|
|
|
| 184 |
cache_dir=HF_HOME,
|
| 185 |
download_mode=datasets.DownloadMode.REUSE_DATASET_IF_EXISTS, # Uses the cached dataset
|
| 186 |
verification_mode="no_checks"
|
| 187 |
+
).filter(lambda x: x['complete'] is not None or x['instruct'] is not None)
|
| 188 |
LEADERBOARD_DF = get_leaderboard_df(
|
| 189 |
leaderboard_dataset=leaderboard_dataset,
|
| 190 |
cols=COLS,
|
|
|
|
| 196 |
cache_dir=HF_HOME,
|
| 197 |
download_mode=datasets.DownloadMode.REUSE_DATASET_IF_EXISTS, # Uses the cached dataset
|
| 198 |
verification_mode="no_checks"
|
| 199 |
+
).filter(lambda x: x['complete'] is not None or x['instruct'] is not None)
|
| 200 |
hard_leaderboard_df = get_leaderboard_df(
|
| 201 |
leaderboard_dataset=hard_leaderboard_dataset,
|
| 202 |
cols=COLS,
|