Rebuild model card from reproducible CPU audit; include evidence and limitations
Browse files
evaluation/publication.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
| 1 |
{
|
| 2 |
"Cukinator/cpu1-ablations-final": {
|
| 3 |
-
"oid": "
|
| 4 |
-
"url": "https://huggingface.co/Cukinator/cpu1-ablations-final/commit/
|
| 5 |
}
|
| 6 |
}
|
|
|
|
| 1 |
{
|
| 2 |
"Cukinator/cpu1-ablations-final": {
|
| 3 |
+
"oid": "702ac8b8616c25454dede9a13b057c4da0a8f97b",
|
| 4 |
+
"url": "https://huggingface.co/Cukinator/cpu1-ablations-final/commit/702ac8b8616c25454dede9a13b057c4da0a8f97b"
|
| 5 |
}
|
| 6 |
}
|
evaluation/source/evaluation/cards.py
CHANGED
|
@@ -262,8 +262,8 @@ def upload_cards(inventory):
|
|
| 262 |
import os
|
| 263 |
token = os.environ.get('HF_TOKEN')
|
| 264 |
if not token:
|
| 265 |
-
|
| 266 |
-
token =
|
| 267 |
api = HfApi(token=token)
|
| 268 |
identity = api.whoami()
|
| 269 |
if identity['name'].lower() != 'cukinator':
|
|
|
|
| 262 |
import os
|
| 263 |
token = os.environ.get('HF_TOKEN')
|
| 264 |
if not token:
|
| 265 |
+
from getpass import getpass
|
| 266 |
+
token = getpass('Hugging Face token (hidden input): ').strip()
|
| 267 |
api = HfApi(token=token)
|
| 268 |
identity = api.whoami()
|
| 269 |
if identity['name'].lower() != 'cukinator':
|
evaluation/source/evaluation/export.py
CHANGED
|
@@ -214,7 +214,7 @@ def main():
|
|
| 214 |
print(f"\n{'=' * 65}")
|
| 215 |
print(f" Export ablations -- {HF_REPO_SRC} -> {HF_REPO_DEST}")
|
| 216 |
print(f" Runs: {runs}")
|
| 217 |
-
print(f" HF_TOKEN: {'
|
| 218 |
print(f" Local export dir: {EXPORT_DIR}")
|
| 219 |
print(f"{'=' * 65}\n")
|
| 220 |
|
|
|
|
| 214 |
print(f"\n{'=' * 65}")
|
| 215 |
print(f" Export ablations -- {HF_REPO_SRC} -> {HF_REPO_DEST}")
|
| 216 |
print(f" Runs: {runs}")
|
| 217 |
+
print(f" HF_TOKEN: {'configured' if token else 'not set'}")
|
| 218 |
print(f" Local export dir: {EXPORT_DIR}")
|
| 219 |
print(f"{'=' * 65}\n")
|
| 220 |
|
evaluation/source/training/ablation.py
CHANGED
|
@@ -2119,7 +2119,7 @@ def check_env() -> int:
|
|
| 2119 |
print(" En Lightning Studio: Settings → Secrets → HF_TOKEN")
|
| 2120 |
print(" Sin token los checkpoints NO se subirán a HF Hub.\n")
|
| 2121 |
else:
|
| 2122 |
-
print(
|
| 2123 |
return n_gpus
|
| 2124 |
|
| 2125 |
|
|
|
|
| 2119 |
print(" En Lightning Studio: Settings → Secrets → HF_TOKEN")
|
| 2120 |
print(" Sin token los checkpoints NO se subirán a HF Hub.\n")
|
| 2121 |
else:
|
| 2122 |
+
print("\nHF_TOKEN: configured")
|
| 2123 |
return n_gpus
|
| 2124 |
|
| 2125 |
|
evaluation/source/training/ablation_amd.py
CHANGED
|
@@ -2211,7 +2211,7 @@ def check_env() -> int:
|
|
| 2211 |
print(" En Lightning Studio: Settings → Secrets → HF_TOKEN")
|
| 2212 |
print(" Sin token los checkpoints NO se subirán a HF Hub.\n")
|
| 2213 |
else:
|
| 2214 |
-
print(
|
| 2215 |
return n_gpus
|
| 2216 |
|
| 2217 |
|
|
|
|
| 2211 |
print(" En Lightning Studio: Settings → Secrets → HF_TOKEN")
|
| 2212 |
print(" Sin token los checkpoints NO se subirán a HF Hub.\n")
|
| 2213 |
else:
|
| 2214 |
+
print("\nHF_TOKEN: configured")
|
| 2215 |
return n_gpus
|
| 2216 |
|
| 2217 |
|