#!/bin/bash #SBATCH --job-name=r5_ktrain #SBATCH --partition=ZEN4 #SBATCH --qos=nu-zen4 #SBATCH --gres=none #SBATCH --cpus-per-task=4 #SBATCH --mem=48G #SBATCH --time=01:00:00 #SBATCH --output=/path/to/TURKIC_OCR_DATA/logs/%x_%j.out # R5 EVALCODE: builds and hashes K_train (clarification G3) from the train manifests of the FROZEN mix_v1.yaml and the generator's train text. # Run once, after the freeze. Reads training text only. Output: DATA/data/processed/r5/p2/ktrain_manifest.json and three key files. C=/path/to/TURKIC_OCR_CODE D=/path/to/TURKIC_OCR_DATA $C/.venv_kraken/bin/python -I $C/scripts/r5eval/build_ktrain.py --mix $D/data/processed/r5/mix_v1.yaml --out $D/data/processed/r5/p2