File size: 448 Bytes
359f755
 
 
 
 
 
466c93b
359f755
 
 
 
 
77c0f20
359f755
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
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)