Download scripts/j2/harness_audit.sbatch from treoa/turkic-ocr-code: direct link, hf CLI and curl.
- Browser
- Download file 1.01 kB
-
https://huggingface.co/treoa/turkic-ocr-code/resolve/main/scripts/j2/harness_audit.sbatch
- Command line
-
hf download hf://treoa/turkic-ocr-code/scripts/j2/harness_audit.sbatch
-
curl -L -o harness_audit.sbatch https://huggingface.co/treoa/turkic-ocr-code/resolve/main/scripts/j2/harness_audit.sbatch
1.01 kB
| #SBATCH --job-name=j2_audit | |
| #SBATCH --partition=ZEN4 | |
| #SBATCH --qos=nu-zen4 | |
| #SBATCH --gres=none | |
| #SBATCH --cpus-per-task=4 | |
| #SBATCH --mem=24G | |
| #SBATCH --time=01:00:00 | |
| #SBATCH --output=/path/to/TURKIC_OCR_DATA/logs/%x_%j.out | |
| # J2 harness audit (processor only, CPU, offline). Writes DATA/outputs/j11_positive_control/harness_audit.txt (text and numbers only). | |
| set -u | |
| CODE=/path/to/TURKIC_OCR_CODE | |
| DATA=/path/to/TURKIC_OCR_DATA | |
| export HF_HUB_OFFLINE=1 | |
| unset HF_TOKEN HUGGING_FACE_HUB_TOKEN || true | |
| CT=$DATA/outputs/j11_positive_control | |
| $CODE/.venv_vlm/bin/python -I $CODE/scripts/j2/harness_audit.py $DATA/hf_cache/j2_models $CODE/scripts/j2/prompts.json \ | |
| $DATA/outputs/j11_stage1_kohtd/screen_set_v1.tsv $DATA/data/processed/kohtd_words_raw/KOHTD_dataset/HK_dataset/img \ | |
| $CT/positive_control_screen_set_v1.tsv $CT/img $CT/harness_audit.txt \ | |
| paddleocr_vl_1_6 granite_docling_258m ovisocr2 lightonocr_3_0_8b lightonocr_3_1b hunyuanocr glm_ocr minicpm_ocr_1_0 qwen3_vl_2b | |
| echo "[j2_audit] done" | |