Download scripts/r5_print/r5_print_process.sbatch from treoa/turkic-ocr-code: direct link, hf CLI and curl.
- Browser
- Download file 634 Bytes
-
https://huggingface.co/treoa/turkic-ocr-code/resolve/main/scripts/r5_print/r5_print_process.sbatch
- Command line
-
hf download hf://treoa/turkic-ocr-code/scripts/r5_print/r5_print_process.sbatch
-
curl -L -o r5_print_process.sbatch https://huggingface.co/treoa/turkic-ocr-code/resolve/main/scripts/r5_print/r5_print_process.sbatch
634 Bytes
| #SBATCH --partition=ZEN4 | |
| #SBATCH --qos=nu-zen4 | |
| #SBATCH --gres=none | |
| #SBATCH --cpus-per-task=8 | |
| #SBATCH --mem=16G | |
| #SBATCH --time=01:00:00 | |
| #SBATCH --output=/path/to/TURKIC_OCR_DATA/logs/%x_%j.out | |
| # usage: sbatch --job-name=r5_print_<lang> r5_print_process.sbatch <lang> | |
| CODE=/path/to/TURKIC_OCR_CODE | |
| DATA=/path/to/TURKIC_OCR_DATA | |
| unset HF_TOKEN HUGGING_FACE_HUB_TOKEN | |
| hostname; date -u | |
| $CODE/.venv_print/bin/python -I $CODE/scripts/r5_print/r5_print_process.py --lang "$1" \ | |
| --raw $DATA/data/raw/r5_print --out $DATA/data/processed/r5/print_real \ | |
| --corpus $DATA/data/processed/r5/pagesynth_text_split --workers 8 | |
| date -u | |