Spaces:
Running
Running
File size: 685 Bytes
ec80aa7 7346895 ec80aa7 7d9d48e ec80aa7 7d9d48e ec80aa7 7346895 ec80aa7 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 |
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)
|