Download scripts/r5_testpass2/tp2_score.sbatch from treoa/turkic-ocr-code: direct link, hf CLI and curl.
- Browser
- Download file 612 Bytes
-
https://huggingface.co/treoa/turkic-ocr-code/resolve/main/scripts/r5_testpass2/tp2_score.sbatch
- Command line
-
hf download hf://treoa/turkic-ocr-code/scripts/r5_testpass2/tp2_score.sbatch
-
curl -L -o tp2_score.sbatch https://huggingface.co/treoa/turkic-ocr-code/resolve/main/scripts/r5_testpass2/tp2_score.sbatch
612 Bytes
| #SBATCH --job-name=tp2_score | |
| #SBATCH --partition=ZEN4 | |
| #SBATCH --cpus-per-task=16 | |
| #SBATCH --mem=64G | |
| #SBATCH --time=04:00:00 | |
| #SBATCH --output=/path/to/TURKIC_OCR_DATA/logs/%x_%j.out | |
| # Test pass 2 scoring: R5 scorer per prediction root, page scorer, results table (plan DATA/outputs/r5/testpass2/plan.json). | |
| set -u | |
| CODE=/path/to/TURKIC_OCR_CODE | |
| T=/path/to/TURKIC_OCR_DATA/outputs/r5/testpass2 | |
| export OMP_NUM_THREADS=1 | |
| hostname; date -u | |
| $CODE/.venv_kraken/bin/python -I $CODE/scripts/r5_testpass2/tp2_score_all.py --root $T --gate $T/GATE_testpass2_started.txt --parallel 4 | |
| echo "=== exit $? $(date -u)" | |