File size: 1,028 Bytes
2a5f9fb
df66f6e
2a5f9fb
 
1ffc326
 
37b74a1
f982b8e
37b74a1
 
 
1ffc326
2a5f9fb
ce8a069
046ddc7
 
2a5f9fb
1ffc326
37b74a1
395eff6
9833cdb
046ddc7
395eff6
3c62a69
 
 
efeee6d
b351f32
 
484276c
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
import os

from huggingface_hub import HfApi

# Info to change for your repository
# ----------------------------------
TOKEN = os.environ.get("HF_TOKEN")  # A read/write token for your org

OWNER = (
    "lmms-lab"  # Change to your org - don't forget to create a results and request dataset, with the correct format!
)
# ----------------------------------

REPO_ID = f"{OWNER}/LiveBench"
EVAL_DETAILED_RESULTS_REPO = f"{OWNER}/LiveBenchDetailedResults"
RESULTS_REPO = f"{OWNER}/LiveBenchResults"

# If you setup a cache later, just change HF_HOME
CACHE_PATH = os.getenv("HF_HOME", ".")

# Local caches
EVAL_DETAILED_RESULTS_PATH = os.path.join(CACHE_PATH, "eval-detailed-results")
EVAL_RESULTS_PATH = os.path.join(CACHE_PATH, "eval-results")
EVAL_REQUESTS_PATH_BACKEND = os.path.join(CACHE_PATH, "eval-queue-bk")
EVAL_RESULTS_PATH_BACKEND = os.path.join(CACHE_PATH, "eval-results-bk")

API = HfApi(token=TOKEN)

FONTAWESOME_KIT = os.getenv("FONTAWESOME_KIT", None)
NEWEST_VERSION = os.environ.get("NEWEST_VERSION", "2024-06")