Download scripts/r5_erran/r5_erran_py.sbatch from treoa/turkic-ocr-code: direct link, hf CLI and curl.
- Browser
- Download file 490 Bytes
-
https://huggingface.co/treoa/turkic-ocr-code/resolve/main/scripts/r5_erran/r5_erran_py.sbatch
- Command line
-
hf download hf://treoa/turkic-ocr-code/scripts/r5_erran/r5_erran_py.sbatch
-
curl -L -o r5_erran_py.sbatch https://huggingface.co/treoa/turkic-ocr-code/resolve/main/scripts/r5_erran/r5_erran_py.sbatch
490 Bytes
| #SBATCH --job-name=r5_erran_py | |
| #SBATCH --partition=ZEN4 | |
| #SBATCH --qos=nu-zen4 | |
| #SBATCH --gres=none | |
| #SBATCH --cpus-per-task=4 | |
| #SBATCH --mem=16G | |
| #SBATCH --time=00:30:00 | |
| #SBATCH --output=/path/to/TURKIC_OCR_DATA/logs/%x_%j.out | |
| # R5 ERRAN: run one ERRAN script from CODE/scripts/r5_erran with its arguments, e.g. | |
| # sbatch r5_erran_py.sbatch erran_sample.py --out DATA/outputs/r5/erran | |
| C=/path/to/TURKIC_OCR_CODE | |
| S=$1 | |
| shift | |
| $C/.venv_kraken/bin/python -I $C/scripts/r5_erran/$S "$@" | |