hysts's picture
hysts HF staff
Rename
09cabca
raw
history blame
707 Bytes
import os
import pathlib
from huggingface_hub import HfApi
# Info to change for your repository
# ----------------------------------
HF_TOKEN = os.environ.get("HF_TOKEN") # A read/write token for your org
OWNER = "llm-jp" # Change to your org - don't forget to create a results and request dataset, with the correct format!
# ----------------------------------
REPO_ID = f"{OWNER}/open-japanese-llm-leaderboard"
QUEUE_REPO = f"{OWNER}/leaderboard-requests"
CONTENTS_REPO = f"{OWNER}/leaderboard-contents"
# If you setup a cache later, just change HF_HOME
CACHE_PATH = pathlib.Path(os.getenv("HF_HOME", "."))
# Local caches
EVAL_REQUESTS_PATH = CACHE_PATH / "eval-queue"
API = HfApi(token=HF_TOKEN)