Download scripts/r5_ktrain.sbatch from treoa/turkic-ocr-code: direct link, hf CLI and curl.
- Browser
- Download file 695 Bytes
-
https://huggingface.co/treoa/turkic-ocr-code/resolve/main/scripts/r5_ktrain.sbatch
- Command line
-
hf download hf://treoa/turkic-ocr-code/scripts/r5_ktrain.sbatch
-
curl -L -o r5_ktrain.sbatch https://huggingface.co/treoa/turkic-ocr-code/resolve/main/scripts/r5_ktrain.sbatch
695 Bytes
| #SBATCH --job-name=r5_ktrain | |
| #SBATCH --partition=ZEN4 | |
| #SBATCH --qos=nu-zen4 | |
| #SBATCH --gres=none | |
| #SBATCH --cpus-per-task=4 | |
| #SBATCH --mem=48G | |
| #SBATCH --time=01:00:00 | |
| #SBATCH --output=/path/to/TURKIC_OCR_DATA/logs/%x_%j.out | |
| # R5 EVALCODE: builds and hashes K_train (clarification G3) from the train manifests of the FROZEN mix_v1.yaml and the generator's train text. | |
| # Run once, after the freeze. Reads training text only. Output: DATA/data/processed/r5/p2/ktrain_manifest.json and three key files. | |
| C=/path/to/TURKIC_OCR_CODE | |
| D=/path/to/TURKIC_OCR_DATA | |
| $C/.venv_kraken/bin/python -I $C/scripts/r5eval/build_ktrain.py --mix $D/data/processed/r5/mix_v1.yaml --out $D/data/processed/r5/p2 | |