Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -31,8 +31,7 @@ YEAR_VERSION = "default"
|
|
31 |
os.makedirs("scored", exist_ok=True)
|
32 |
|
33 |
# Load datasets
|
34 |
-
eval_results = load_dataset(RESULTS_DATASET, token=TOKEN, download_mode="force_redownload",
|
35 |
-
ignore_verifications=True, trust_remote_code=True)
|
36 |
gold_results = load_dataset(DATA_DATASET, token=TOKEN, trust_remote_code=True)
|
37 |
|
38 |
gold_answers = {split: {row["id"]: row["answer"] for row in gold_results[split]} for split in ["test"]}
|
|
|
31 |
os.makedirs("scored", exist_ok=True)
|
32 |
|
33 |
# Load datasets
|
34 |
+
eval_results = load_dataset(RESULTS_DATASET, token=TOKEN, download_mode="force_redownload", trust_remote_code=True)
|
|
|
35 |
gold_results = load_dataset(DATA_DATASET, token=TOKEN, trust_remote_code=True)
|
36 |
|
37 |
gold_answers = {split: {row["id"]: row["answer"] for row in gold_results[split]} for split in ["test"]}
|