Spaces:
Sleeping
Sleeping
initial commit
Browse files- .gitattributes +1 -0
- src/envs.py +4 -4
.gitattributes
CHANGED
|
@@ -33,3 +33,4 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
|
|
| 33 |
*.zst filter=lfs diff=lfs merge=lfs -text
|
| 34 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
| 35 |
scale-hf-logo.png filter=lfs diff=lfs merge=lfs -text
|
|
|
|
|
|
| 33 |
*.zst filter=lfs diff=lfs merge=lfs -text
|
| 34 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
| 35 |
scale-hf-logo.png filter=lfs diff=lfs merge=lfs -text
|
| 36 |
+
*.json filter=lfs diff=lfs merge=lfs -text
|
src/envs.py
CHANGED
|
@@ -7,7 +7,7 @@ from huggingface_hub import HfApi
|
|
| 7 |
# ----------------------------------
|
| 8 |
TOKEN = os.environ.get("HF_TOKEN") # A read/write token for your org
|
| 9 |
|
| 10 |
-
OWNER = "
|
| 11 |
|
| 12 |
# For harness evaluations
|
| 13 |
DEVICE = "cpu" # "cuda:0" if you add compute, for harness evaluations
|
|
@@ -23,9 +23,9 @@ TASKS_LIGHTEVAL = "lighteval|anli:r1|0|0,lighteval|logiqa|0|0"
|
|
| 23 |
# To add your own tasks, edit the custom file and launch it with `custom|myothertask|0|0``
|
| 24 |
|
| 25 |
# ---------------------------------------------------
|
| 26 |
-
REPO_ID = f"{OWNER}/backend"
|
| 27 |
-
QUEUE_REPO = f"{OWNER}/requests"
|
| 28 |
-
RESULTS_REPO = f"{OWNER}/results"
|
| 29 |
|
| 30 |
# If you setup a cache later, just change HF_HOME
|
| 31 |
CACHE_PATH = os.getenv("HF_HOME", ".")
|
|
|
|
| 7 |
# ----------------------------------
|
| 8 |
TOKEN = os.environ.get("HF_TOKEN") # A read/write token for your org
|
| 9 |
|
| 10 |
+
OWNER = "juancauma" # Change to your org - don't forget to create a results and request dataset
|
| 11 |
|
| 12 |
# For harness evaluations
|
| 13 |
DEVICE = "cpu" # "cuda:0" if you add compute, for harness evaluations
|
|
|
|
| 23 |
# To add your own tasks, edit the custom file and launch it with `custom|myothertask|0|0``
|
| 24 |
|
| 25 |
# ---------------------------------------------------
|
| 26 |
+
REPO_ID = f"{OWNER}/maxima-backend"
|
| 27 |
+
QUEUE_REPO = f"{OWNER}/maxima-requests"
|
| 28 |
+
RESULTS_REPO = f"{OWNER}/maxima-results"
|
| 29 |
|
| 30 |
# If you setup a cache later, just change HF_HOME
|
| 31 |
CACHE_PATH = os.getenv("HF_HOME", ".")
|