leaderboard / envs.py
anikfekr
fix: update dataset repository references and clean up unused variables
33e9297
Raw History Blame Contribute Delete
513 Bytes
import os
from huggingface_hub import HfApi
# Info to change for your repository
# ----------------------------------
TOKEN = os.environ.get("HF_TOKEN")
OWNER = "alinf"
RESULT_DATASET_REPO = f'{OWNER}/hikma_results'
# ----------------------------------
REQUEST_QUEUE_REPO = f'{OWNER}/request_queue'
# If you setup a cache later, just set/change 'HF_HOME' env variable
CACHE_PATH = os.getenv("HF_HOME", ".")
# Local caches
EVAL_REQUESTS_PATH = os.path.join(CACHE_PATH, "eval-queue")
API = HfApi(token=TOKEN)