leaderboard / src /envs.py
Rafael Jaime Moreno
working on everything
7d9d48e
raw
history blame contribute delete
685 Bytes
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 = "RafaelJaime" # Your username
# ----------------------------------
HF_DATASETS_BASE_URL = "https://huggingface.co/datasets"
REPO_ID = f"{OWNER}/leaderboard"
QUEUE_REPO = f"{OWNER}/requests"
RESULTS_REPO = f"{OWNER}/results"
EXAM_QUESTIONS_REPO = f"{OWNER}/sas_opposition_exam_data"
# Local caches
EVAL_REQUESTS_PATH = "eval-queue"
EVAL_RESULTS_PATH = "eval-results"
EVAL_REQUESTS_PATH_BACKEND = "eval-queue-bk"
EVAL_RESULTS_PATH_BACKEND = "eval-results-bk"
API = HfApi(token=TOKEN)