#!/bin/bash # Download-only driver, round 4: stricter candidate lists (_select2) for the thin languages (login node, nice'd). CODE=/path/to/TURKIC_OCR_CODE DATA=/path/to/TURKIC_OCR_DATA RAW=$DATA/data/raw/r5_print CAND=$RAW/_select2 PY=$CODE/.venv_print/bin/python f() { nice -n 10 env -u HF_TOKEN -u HUGGING_FACE_HUB_TOKEN $PY -I $CODE/scripts/r5_print/r5_print_fetch.py cand $CAND $RAW $1 $2; } ( f tuk_Latn 400 ) & ( f bak_Cyrl 400; f sah_Cyrl 400 ) & ( f tat_Cyrl 260 ) & ( f kir_Cyrl 260 ) & wait echo fetch_all4_done