Download scripts/r5_gate/select_dryrun.sbatch from treoa/turkic-ocr-code: direct link, hf CLI and curl.
- Browser
- Download file 1.03 kB
-
https://huggingface.co/treoa/turkic-ocr-code/resolve/main/scripts/r5_gate/select_dryrun.sbatch
- Command line
-
hf download hf://treoa/turkic-ocr-code/scripts/r5_gate/select_dryrun.sbatch
-
curl -L -o select_dryrun.sbatch https://huggingface.co/treoa/turkic-ocr-code/resolve/main/scripts/r5_gate/select_dryrun.sbatch
1.03 kB
| #SBATCH --job-name=r5_select_dryrun | |
| #SBATCH --partition=ZEN4 | |
| #SBATCH --qos=nu-zen4 | |
| #SBATCH --gres=none | |
| #SBATCH --cpus-per-task=4 | |
| #SBATCH --mem=48G | |
| #SBATCH --time=00:30:00 | |
| #SBATCH --output=/path/to/TURKIC_OCR_DATA/logs/%x_%j.out | |
| # Dry run of select_b1b2.py on the validation scores present now, with the same arguments as | |
| # r5_select_verdict.sbatch select. It writes to DATA/tmp, never to DATA/outputs/r5/selection.json, which the | |
| # test-pass runner reads. Validation only, not hashed into records/R5/RULE; it is not the J7 selection. | |
| C=/path/to/TURKIC_OCR_CODE | |
| D=/path/to/TURKIC_OCR_DATA | |
| TSV=$C/scripts/r5_vlma/models_r5.tsv,$C/scripts/r5_vlmb/models_r5_vlmb.tsv | |
| AI="" | |
| if [ -f $D/outputs/r5/arms_info.json ]; then AI="--arms-info $D/outputs/r5/arms_info.json"; fi | |
| O=$D/tmp/selection_dryrun_$(date -u +%Y%m%dT%H%MZ).json | |
| $C/.venv_kraken/bin/python -I $C/scripts/r5eval/select_b1b2.py --scores $D/outputs/r5/scores --preds $D/outputs/r5/preds --out $O \ | |
| --models-tsv $TSV --vlm-arms "${VLM_EXTRA:-}" $AI | |
| echo "out $O" | |