Spaces:
Running on Zero
Running on Zero
Download scripts/setup_julia.sh from muratcanlaloglu/TurkishDecisionBenchmark: direct link, hf CLI and curl.
- Browser
- Download file 561 Bytes
-
https://huggingface.co/spaces/muratcanlaloglu/TurkishDecisionBenchmark/resolve/main/scripts/setup_julia.sh
- Command line
-
hf download hf://spaces/muratcanlaloglu/TurkishDecisionBenchmark/scripts/setup_julia.sh
-
curl -L -o setup_julia.sh https://huggingface.co/spaces/muratcanlaloglu/TurkishDecisionBenchmark/resolve/main/scripts/setup_julia.sh
561 Bytes
| # Downloads SupersonicLabs/Julia-1 (~550 MiB) into models/Julia-1 and installs its runtime. | |
| # Requires Python 3.11+. Override the installer with PIP="uv pip" if the venv has no pip. | |
| set -euo pipefail | |
| cd "$(dirname "$0")/.." | |
| PYTHON="${PYTHON:-python}" | |
| PIP="${PIP:-$PYTHON -m pip}" | |
| $PIP install "huggingface_hub>=0.24" | |
| $PYTHON -c "from huggingface_hub import snapshot_download; snapshot_download('SupersonicLabs/Julia-1', local_dir='models/Julia-1')" | |
| $PIP install -e ./models/Julia-1 | |
| echo "Julia-1 ready: python runner.py --preset julia-1" | |