Fabian Wolf commited on
Commit
f754a71
·
1 Parent(s): df6fa49

print debug

Browse files
Files changed (2) hide show
  1. src/envs.py +0 -2
  2. src/leaderboard/read_evals.py +1 -0
src/envs.py CHANGED
@@ -5,8 +5,6 @@ from huggingface_hub import HfApi
5
  # Info to change for your repository
6
  # ----------------------------------
7
  TOKEN = os.environ.get("HF_TOKEN") # A read/write token for your org
8
- print("HF_TOKEN", TOKEN)
9
-
10
  OWNER = "fwao" # Change to your org - don't forget to create a results and request dataset, with the correct format!
11
  # ----------------------------------
12
 
 
5
  # Info to change for your repository
6
  # ----------------------------------
7
  TOKEN = os.environ.get("HF_TOKEN") # A read/write token for your org
 
 
8
  OWNER = "fwao" # Change to your org - don't forget to create a results and request dataset, with the correct format!
9
  # ----------------------------------
10
 
src/leaderboard/read_evals.py CHANGED
@@ -175,6 +175,7 @@ def get_raw_eval_results(results_path: str, requests_path: str) -> list[EvalResu
175
  eval_results = {}
176
  for model_result_filepath in model_result_filepaths:
177
  # Creation of result
 
178
  eval_result = EvalResult.init_from_json_file(model_result_filepath)
179
  eval_result.update_with_request_file(requests_path)
180
 
 
175
  eval_results = {}
176
  for model_result_filepath in model_result_filepaths:
177
  # Creation of result
178
+ print("Parsing", model_result_filepath)
179
  eval_result = EvalResult.init_from_json_file(model_result_filepath)
180
  eval_result.update_with_request_file(requests_path)
181