smothiki commited on
Commit
32ac109
1 Parent(s): f8e7b37

Update src/envs.py

Browse files
Files changed (1) hide show
  1. src/envs.py +2 -2
src/envs.py CHANGED
@@ -3,7 +3,7 @@ import os
3
  from huggingface_hub import HfApi
4
 
5
  # clone / pull the lmeh eval data
6
- H4_TOKEN = os.environ.get("H4_TOKEN", None)
7
 
8
  REPO_ID = "HuggingFaceH4/open_llm_leaderboard"
9
  QUEUE_REPO = "open-llm-leaderboard/requests"
@@ -29,4 +29,4 @@ RATE_LIMIT_PERIOD = 7
29
  RATE_LIMIT_QUOTA = 5
30
  HAS_HIGHER_RATE_LIMIT = ["TheBloke"]
31
 
32
- API = HfApi(token=H4_TOKEN)
 
3
  from huggingface_hub import HfApi
4
 
5
  # clone / pull the lmeh eval data
6
+ HF_TOKEN = os.environ.get("HF_TOKEN", None)
7
 
8
  REPO_ID = "HuggingFaceH4/open_llm_leaderboard"
9
  QUEUE_REPO = "open-llm-leaderboard/requests"
 
29
  RATE_LIMIT_QUOTA = 5
30
  HAS_HIGHER_RATE_LIMIT = ["TheBloke"]
31
 
32
+ API = HfApi(token=HF_TOKEN)