Download scripts/r5_print/r5_print_fetch_all2.sh from treoa/turkic-ocr-code: direct link, hf CLI and curl.
- Browser
- Download file 434 Bytes
-
https://huggingface.co/treoa/turkic-ocr-code/resolve/main/scripts/r5_print/r5_print_fetch_all2.sh
- Command line
-
hf download hf://treoa/turkic-ocr-code/scripts/r5_print/r5_print_fetch_all2.sh
-
curl -L -o r5_print_fetch_all2.sh https://huggingface.co/treoa/turkic-ocr-code/resolve/main/scripts/r5_print/r5_print_fetch_all2.sh
434 Bytes
| # Download-only driver, second batch (login node, nice'd). | |
| CODE=/path/to/TURKIC_OCR_CODE | |
| DATA=/path/to/TURKIC_OCR_DATA | |
| RAW=$DATA/data/raw/r5_print | |
| CAND=$RAW/_select | |
| 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 kaz_Cyrl 100 & | |
| f uzn_Latn 100 & | |
| f azj_Latn 100 & | |
| f tur_Latn 60 & | |
| wait | |
| echo fetch_all2_done | |