Download scripts/j2/fetch_weights_loadtest.sbatch from treoa/turkic-ocr-code: direct link, hf CLI and curl.
- Browser
- Download file 912 Bytes
-
https://huggingface.co/treoa/turkic-ocr-code/resolve/main/scripts/j2/fetch_weights_loadtest.sbatch
- Command line
-
hf download hf://treoa/turkic-ocr-code/scripts/j2/fetch_weights_loadtest.sbatch
-
curl -L -o fetch_weights_loadtest.sbatch https://huggingface.co/treoa/turkic-ocr-code/resolve/main/scripts/j2/fetch_weights_loadtest.sbatch
912 Bytes
| #SBATCH --job-name=j2_weights | |
| #SBATCH --partition=ZEN4 | |
| #SBATCH --qos=nu-zen4 | |
| #SBATCH --gres=none | |
| #SBATCH --cpus-per-task=8 | |
| #SBATCH --mem=64G | |
| #SBATCH --time=03:00:00 | |
| #SBATCH --output=/path/to/TURKIC_OCR_DATA/logs/%x_%j.out | |
| # J2 step 2b: root-level safetensors download (no token, no .py) and native weight-load gate on CPU. | |
| set -eu | |
| CODE=/path/to/TURKIC_OCR_CODE | |
| DATA=/path/to/TURKIC_OCR_DATA | |
| export HF_HOME=$DATA/hf_cache/j2_home | |
| export HF_HUB_CACHE=$DATA/hf_cache/j2_hub | |
| export HF_HUB_DISABLE_IMPLICIT_TOKEN=1 | |
| unset HF_TOKEN HUGGING_FACE_HUB_TOKEN || true | |
| mkdir -p $DATA/outputs/j11_stage1_kohtd/loadtest | |
| $CODE/.venv_vlm/bin/python -I $CODE/scripts/j2/fetch_weights_loadtest.py $DATA/hf_cache/j2_models $DATA/outputs/j11_stage1_kohtd/loadtest \ | |
| paddleocr_vl_1_6 granite_docling_258m ovisocr2 lightonocr_3_0_8b lightonocr_3_1b hunyuanocr glm_ocr minicpm_ocr_1_0 qwen3_vl_2b | |
| echo "[j2_weights] done" | |