Download scripts/r5_linedet/curve_post.sbatch from treoa/turkic-ocr-code: direct link, hf CLI and curl.
- Browser
- Download file 588 Bytes
-
https://huggingface.co/treoa/turkic-ocr-code/resolve/main/scripts/r5_linedet/curve_post.sbatch
- Command line
-
hf download hf://treoa/turkic-ocr-code/scripts/r5_linedet/curve_post.sbatch
-
curl -L -o curve_post.sbatch https://huggingface.co/treoa/turkic-ocr-code/resolve/main/scripts/r5_linedet/curve_post.sbatch
588 Bytes
| #SBATCH --job-name=r5_ld_curvepost | |
| #SBATCH --partition=ZEN4 | |
| #SBATCH --qos=nu-zen4 | |
| #SBATCH --gres=none | |
| #SBATCH --cpus-per-task=16 | |
| #SBATCH --mem=32G | |
| #SBATCH --time=03:00:00 | |
| #SBATCH --output=/path/to/TURKIC_OCR_DATA/logs/%x_%j.out | |
| # After the GPU job: greedy scoring of every learning-curve checkpoint that has no curve_v1.tsv yet (CPU). | |
| CODE=/path/to/TURKIC_OCR_CODE | |
| unset HF_TOKEN HUGGING_FACE_HUB_TOKEN | |
| export OMP_NUM_THREADS=8 MKL_NUM_THREADS=8 | |
| for ARM in A1 A2 A3 A4 A1s; do | |
| $CODE/.venv_kraken/bin/python -I -m linedet.curve_score --arm $ARM --device cpu --workers 6 | |
| done | |