Update Hugging Face model download CLI

This commit is contained in:
Codex
2026-06-25 15:34:22 +08:00
parent e79c7ea9bf
commit 4f9e0a30a9
3 changed files with 44 additions and 2 deletions
+8
View File
@@ -59,6 +59,14 @@ Download base models:
./scripts/download_models.sh
```
Model downloads use the current Hugging Face CLI:
```bash
hf download <model-id> --local-dir <dir> --max-workers <n>
```
Do not use the deprecated `huggingface-cli download` or the removed `--local-dir-use-symlinks` option. Tune download concurrency with `HF_DOWNLOAD_MAX_WORKERS`; pass an optional token with `HF_TOKEN`.
Run the full ordered experiment:
```bash