Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -31,7 +31,7 @@ BENCHMARK_WANDB_PROJECT = "raofoundation/pretraining-leaderboard-data"
|
|
31 |
H4_TOKEN = os.environ.get("H4_TOKEN", None)
|
32 |
API = HfApi(token=H4_TOKEN)
|
33 |
WANDB_TOKEN = os.environ.get("WANDB_API_KEY", None)
|
34 |
-
REPO_ID = "
|
35 |
MAX_AVG_LOSS_POINTS = 1
|
36 |
RETRIES = 5
|
37 |
DELAY_SECS = 3
|
@@ -286,6 +286,7 @@ def leaderboard_data(
|
|
286 |
|
287 |
def get_benchmarks() -> Tuple[pd.DataFrame, datetime.datetime]:
|
288 |
"""Returns the latest benchmarks and the time they were run."""
|
|
|
289 |
runs = get_wandb_runs(project=BENCHMARK_WANDB_PROJECT, filters=None)
|
290 |
for run in runs:
|
291 |
artifacts = list(run.logged_artifacts())
|
|
|
31 |
H4_TOKEN = os.environ.get("H4_TOKEN", None)
|
32 |
API = HfApi(token=H4_TOKEN)
|
33 |
WANDB_TOKEN = os.environ.get("WANDB_API_KEY", None)
|
34 |
+
REPO_ID = "0x9/pretraining-leaderboard"
|
35 |
MAX_AVG_LOSS_POINTS = 1
|
36 |
RETRIES = 5
|
37 |
DELAY_SECS = 3
|
|
|
286 |
|
287 |
def get_benchmarks() -> Tuple[pd.DataFrame, datetime.datetime]:
|
288 |
"""Returns the latest benchmarks and the time they were run."""
|
289 |
+
return None, None
|
290 |
runs = get_wandb_runs(project=BENCHMARK_WANDB_PROJECT, filters=None)
|
291 |
for run in runs:
|
292 |
artifacts = list(run.logged_artifacts())
|