Download scripts/r5_print/r5_print_fetch_all4.sh from treoa/turkic-ocr-code: direct link, hf CLI and curl.
- Browser
- Download file 523 Bytes
-
https://huggingface.co/treoa/turkic-ocr-code/resolve/main/scripts/r5_print/r5_print_fetch_all4.sh
- Command line
-
hf download hf://treoa/turkic-ocr-code/scripts/r5_print/r5_print_fetch_all4.sh
-
curl -L -o r5_print_fetch_all4.sh https://huggingface.co/treoa/turkic-ocr-code/resolve/main/scripts/r5_print/r5_print_fetch_all4.sh
523 Bytes
| # 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 | |