turkic-ocr-code / scripts /r5_testpass2 /tp2_kzb_card.sbatch
treoa's picture
Release 1
24aaa76
Raw History Blame Contribute Delete
757 Bytes
#!/bin/bash
#SBATCH --job-name=tp2_kzb_card
#SBATCH --partition=ZEN4
#SBATCH --cpus-per-task=2
#SBATCH --mem=4G
#SBATCH --time=00:20:00
#SBATCH --output=/path/to/TURKIC_OCR_DATA/logs/%x_%j.out
# Owner-approved (25 Nov 2026): pin the revision of Omar-2002/kz_benchmark_data, list its tree, fetch README.md only (no token).
set -u
CODE=/path/to/TURKIC_OCR_CODE
D=/path/to/TURKIC_OCR_DATA
export HF_HOME=$D/hf_cache/kzb_home HF_HUB_DISABLE_TELEMETRY=1
unset HF_TOKEN HUGGING_FACE_HUB_TOKEN HF_HUB_OFFLINE
mkdir -p $D/outputs/r5/testpass2/kzb
cd $D/tmp
hostname; date -u
$CODE/.venv_dl/bin/python -I $CODE/scripts/r5_testpass2/tp2_kzb_fetch.py card --dest $D/data/raw/kz_benchmark_hw --out $D/outputs/r5/testpass2/kzb/listing.json
echo "=== exit $? $(date -u)"