Update src/envs.py
Browse files- src/envs.py +7 -9
src/envs.py
CHANGED
@@ -5,19 +5,18 @@ from huggingface_hub import HfApi
|
|
5 |
|
6 |
H4_TOKEN = os.environ.get("HF_SECRET", None)
|
7 |
|
8 |
-
|
9 |
-
REPO_ID = "CDT-BMAI-GP/biomed_probing_leaderboard" # "chaeeunlee/test_leaderboard" # "hallucinations-leaderboard/leaderboard"
|
10 |
|
11 |
-
QUEUE_REPO = "
|
12 |
-
RESULTS_REPO = "
|
13 |
|
14 |
# have not created these repos yet
|
15 |
-
PRIVATE_QUEUE_REPO = "
|
16 |
-
PRIVATE_RESULTS_REPO = "
|
17 |
|
18 |
IS_PUBLIC = bool(os.environ.get("IS_PUBLIC", True))
|
19 |
|
20 |
-
|
21 |
CACHE_PATH = os.getenv("HF_HOME", ".")
|
22 |
|
23 |
print(f"CACHE_PATH = {CACHE_PATH}")
|
@@ -28,7 +27,6 @@ EVAL_RESULTS_PATH = os.path.join(CACHE_PATH, "eval-results")
|
|
28 |
EVAL_REQUESTS_PATH_PRIVATE = "eval-queue-private"
|
29 |
EVAL_RESULTS_PATH_PRIVATE = "eval-results-private"
|
30 |
|
31 |
-
# PATH_TO_COLLECTION = "hallucinations-leaderboard/llm-leaderboard-best-models-652d6c7965a4619fb5c27a03" # ??
|
32 |
|
33 |
# Rate limit variables
|
34 |
RATE_LIMIT_PERIOD = 7
|
@@ -36,4 +34,4 @@ RATE_LIMIT_QUOTA = 5
|
|
36 |
HAS_HIGHER_RATE_LIMIT = ["TheBloke"]
|
37 |
|
38 |
API = HfApi(token=H4_TOKEN)
|
39 |
-
# API = HfApi()
|
|
|
5 |
|
6 |
H4_TOKEN = os.environ.get("HF_SECRET", None)
|
7 |
|
8 |
+
REPO_ID = "openlifescienceai/open_medical_llm_leaderboard"
|
|
|
9 |
|
10 |
+
QUEUE_REPO = "openlifescienceai/test_requests"
|
11 |
+
RESULTS_REPO = "openlifescienceai/test_results"
|
12 |
|
13 |
# have not created these repos yet
|
14 |
+
PRIVATE_QUEUE_REPO = "openlifescienceai/test_private-requests"
|
15 |
+
PRIVATE_RESULTS_REPO = "openlifescienceai/test_private-results"
|
16 |
|
17 |
IS_PUBLIC = bool(os.environ.get("IS_PUBLIC", True))
|
18 |
|
19 |
+
|
20 |
CACHE_PATH = os.getenv("HF_HOME", ".")
|
21 |
|
22 |
print(f"CACHE_PATH = {CACHE_PATH}")
|
|
|
27 |
EVAL_REQUESTS_PATH_PRIVATE = "eval-queue-private"
|
28 |
EVAL_RESULTS_PATH_PRIVATE = "eval-results-private"
|
29 |
|
|
|
30 |
|
31 |
# Rate limit variables
|
32 |
RATE_LIMIT_PERIOD = 7
|
|
|
34 |
HAS_HIGHER_RATE_LIMIT = ["TheBloke"]
|
35 |
|
36 |
API = HfApi(token=H4_TOKEN)
|
37 |
+
# API = HfApi()
|