model_trace / src /envs.py
Ahmed Ahmed
consolidate
466c93b
raw
history blame contribute delete
448 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 = "ahmedsqrd" # Change to your username
# ----------------------------------
RESULTS_REPO = f"{OWNER}/results"
# Local caches
CACHE_PATH = os.getenv("HF_HOME", ".")
EVAL_RESULTS_PATH = os.path.join(CACHE_PATH, "eval-results")
API = HfApi(token=TOKEN)