natolambert
commited on
Update app.py
Browse files
app.py
CHANGED
@@ -10,14 +10,14 @@ import numpy as np
|
|
10 |
api = HfApi()
|
11 |
|
12 |
COLLAB_TOKEN = os.environ.get("COLLAB_TOKEN")
|
13 |
-
evals_repo = "ai2-
|
14 |
-
prefs_repo = "ai2-
|
15 |
-
eval_set_repo = "ai2-
|
16 |
repo_dir_herm = "./evals/herm/"
|
17 |
repo_dir_prefs = "./evals/prefs/"
|
18 |
|
19 |
def restart_space():
|
20 |
-
api.restart_space(repo_id="ai2-
|
21 |
|
22 |
print("Pulling evaluation results")
|
23 |
repo = snapshot_download(
|
|
|
10 |
api = HfApi()
|
11 |
|
12 |
COLLAB_TOKEN = os.environ.get("COLLAB_TOKEN")
|
13 |
+
evals_repo = "ai2-adapt-dev/rm-benchmark-results"
|
14 |
+
prefs_repo = "ai2-adapt-dev/rm-testset-results"
|
15 |
+
eval_set_repo = "ai2-adapt-dev/rm-benchmark-dev"
|
16 |
repo_dir_herm = "./evals/herm/"
|
17 |
repo_dir_prefs = "./evals/prefs/"
|
18 |
|
19 |
def restart_space():
|
20 |
+
api.restart_space(repo_id="ai2-adapt-dev/rm-benchmark-viewer", token=COLLAB_TOKEN)
|
21 |
|
22 |
print("Pulling evaluation results")
|
23 |
repo = snapshot_download(
|