Download scripts/r5_erran/r5_erran.sbatch from treoa/turkic-ocr-code: direct link, hf CLI and curl.
- Browser
- Download file 586 Bytes
-
https://huggingface.co/treoa/turkic-ocr-code/resolve/main/scripts/r5_erran/r5_erran.sbatch
- Command line
-
hf download hf://treoa/turkic-ocr-code/scripts/r5_erran/r5_erran.sbatch
-
curl -L -o r5_erran.sbatch https://huggingface.co/treoa/turkic-ocr-code/resolve/main/scripts/r5_erran/r5_erran.sbatch
586 Bytes
| #SBATCH --job-name=r5_erran | |
| #SBATCH --partition=ZEN4 | |
| #SBATCH --qos=nu-zen4 | |
| #SBATCH --gres=none | |
| #SBATCH --cpus-per-task=16 | |
| #SBATCH --mem=32G | |
| #SBATCH --time=02:00:00 | |
| #SBATCH --output=/path/to/TURKIC_OCR_DATA/logs/%x_%j.out | |
| # R5 ERRAN: descriptive error analysis on validation data only. Arguments pass through to erran_analysis.py | |
| # (for example: --out DATA/outputs/r5/erran --tasks 1,3,4,6 [--limit-arms hunyuanocr]). | |
| C=/path/to/TURKIC_OCR_CODE | |
| export OMP_NUM_THREADS=16 | |
| export OPENBLAS_NUM_THREADS=16 | |
| $C/.venv_kraken/bin/python -I $C/scripts/r5_erran/erran_analysis.py "$@" | |