Download scripts/r5_linedet/line_ext.sbatch from treoa/turkic-ocr-code: direct link, hf CLI and curl.
- Browser
- Download file 1.28 kB
-
https://huggingface.co/treoa/turkic-ocr-code/resolve/main/scripts/r5_linedet/line_ext.sbatch
- Command line
-
hf download hf://treoa/turkic-ocr-code/scripts/r5_linedet/line_ext.sbatch
-
curl -L -o line_ext.sbatch https://huggingface.co/treoa/turkic-ocr-code/resolve/main/scripts/r5_linedet/line_ext.sbatch
1.28 kB
| #SBATCH --job-name=r5_line_ext_L | |
| #SBATCH --partition=H100 | |
| #SBATCH --qos=nu-h100 | |
| #SBATCH --gres=gpu:h100:1 | |
| #SBATCH --cpus-per-task=32 | |
| #SBATCH --mem=160G | |
| #SBATCH --time=03:00:00 | |
| #SBATCH --output=/path/to/TURKIC_OCR_DATA/logs/%x_%j.out | |
| # Amendment 3.4 E5: A1 and A2 (seed 1) continue from their P_long checkpoints to 2 x P_long = 3,168,768 samples (frozen seed-1 sample stream, warm restart with a | |
| # time-aware cosine, peak 2.5e-4, see status.json), then validation predictions, LM decoding and gating for the checkpoint long2x. If the target is not reached in | |
| # the time of this job the training anneals by the clock and stops with a saved checkpoint; the samples reached are in the log and in the checkpoint file. | |
| # Slot L chain: 50971 -> 51128 -> 52050 -> this job -> 51277. | |
| CODE=/path/to/TURKIC_OCR_CODE | |
| DATA=/path/to/TURKIC_OCR_DATA | |
| unset HF_TOKEN HUGGING_FACE_HUB_TOKEN | |
| LD=$DATA/outputs/r5/linedet | |
| mkdir -p $LD/ext_driver_logs | |
| echo "job $SLURM_JOB_ID on $(hostname) started $(date -u)" | |
| export OMP_NUM_THREADS=4 MKL_NUM_THREADS=4 PYTHONUNBUFFERED=1 | |
| $CODE/.venv_kraken/bin/python -I -m linedet.driver --tasks $LD/tasks_line_ext.json --status $LD/driver_status_line_ext.json --logdir $LD/ext_driver_logs --max_seconds 10200 --grace 300 | |
| echo "driver ended $(date -u)" | |