Pratyush Maini commited on
Commit
cb06555
1 Parent(s): 906757a
__pycache__/uploads.cpython-312.pyc CHANGED
Binary files a/__pycache__/uploads.cpython-312.pyc and b/__pycache__/uploads.cpython-312.pyc differ
 
uploads.py CHANGED
@@ -5,8 +5,7 @@ import datetime
5
  import pandas as pd
6
 
7
 
8
- OWNER="locuslab"
9
- LEADERBOARD_PATH = f"{OWNER}/tofu_leaderboard"
10
  api = HfApi()
11
  TOKEN = os.environ.get("TOKEN", None)
12
  YEAR_VERSION = "2024"
@@ -65,7 +64,7 @@ def add_new_eval(
65
  df["timestamp"] = datetime.datetime.now()
66
 
67
  #upload to spaces using the hf api at
68
- RESULTS_PATH = "locuslab/tofu_leaderboard"
69
  path_in_repo = f"versions/{model_family}-{forget_rate.replace('%', 'p')}"
70
  file_name = f"{model}-{organisation}-{datetime.datetime.now().strftime('%Y-%m-%d')}.csv"
71
 
 
5
  import pandas as pd
6
 
7
 
8
+ RESULTS_PATH = "locuslab/tofu_leaderboard"
 
9
  api = HfApi()
10
  TOKEN = os.environ.get("TOKEN", None)
11
  YEAR_VERSION = "2024"
 
64
  df["timestamp"] = datetime.datetime.now()
65
 
66
  #upload to spaces using the hf api at
67
+
68
  path_in_repo = f"versions/{model_family}-{forget_rate.replace('%', 'p')}"
69
  file_name = f"{model}-{organisation}-{datetime.datetime.now().strftime('%Y-%m-%d')}.csv"
70