ubowang commited on
Commit
1dad4eb
·
verified ·
1 Parent(s): e353a82

Update utils.py

Browse files
Files changed (1) hide show
  1. utils.py +5 -3
utils.py CHANGED
@@ -17,9 +17,9 @@ MODEL_INFO = [
17
  "Biology", "Business", "Chemistry", "Computer Science", "Economics", "Engineering",
18
  "Health", "History", "Law", "Math", "Philosophy", "Physics", "Psychology", "Other"]
19
 
20
- DATA_TITILE_TYPE = ['markdown', 'number', 'number', 'number', 'number', 'number', 'number',
21
- 'number', 'number', 'number', 'number', 'number', 'number', 'number',
22
- 'number', 'number']
23
 
24
  SUBMISSION_NAME = "mmlu_pro_leaderboard_submission"
25
  SUBMISSION_URL = os.path.join("https://huggingface.co/datasets/TIGER-Lab/", SUBMISSION_NAME)
@@ -65,6 +65,8 @@ After submitting, you can click the "Refresh" button to see the updated leaderbo
65
 
66
 
67
  def get_df():
 
 
68
  repo = Repository(local_dir=SUBMISSION_NAME, clone_from=SUBMISSION_URL, use_auth_token=HF_TOKEN)
69
  repo.git_pull()
70
  df = pd.read_csv(CSV_DIR)
 
17
  "Biology", "Business", "Chemistry", "Computer Science", "Economics", "Engineering",
18
  "Health", "History", "Law", "Math", "Philosophy", "Physics", "Psychology", "Other"]
19
 
20
+ DATA_TILE_TYPE = ['markdown', 'number', 'number', 'number', 'number', 'number', 'number',
21
+ 'number', 'number', 'number', 'number', 'number', 'number', 'number',
22
+ 'number', 'number']
23
 
24
  SUBMISSION_NAME = "mmlu_pro_leaderboard_submission"
25
  SUBMISSION_URL = os.path.join("https://huggingface.co/datasets/TIGER-Lab/", SUBMISSION_NAME)
 
65
 
66
 
67
  def get_df():
68
+ print("HF_TOKEN", HF_TOKEN)
69
+ print("SUBMISSION_URL", SUBMISSION_URL)
70
  repo = Repository(local_dir=SUBMISSION_NAME, clone_from=SUBMISSION_URL, use_auth_token=HF_TOKEN)
71
  repo.git_pull()
72
  df = pd.read_csv(CSV_DIR)