ANLP Assignment 2 — M1 dense translation model
This repository contains the trained M1 checkpoint, the training-only ByteLevel BPE tokenizer, frozen data/configuration manifests, training metrics, and raw test generations. The checkpoint is a student experiment, not a general-purpose translation model.
- Dataset:
belumind/en-vi-ja-curated-500k-triplets, pinned revision849990daee76e0f9e2eb9965e30e34bc1909a93. - Official train/validation/test triplets: 446,252 / 24,792 / 24,792; both vi→en and ja→en pairs retained.
- Model: 8-layer causal decoder, width 256, 4 heads, FFN width 1,024, context 256, tied embeddings; 10,555,648 parameters.
- Training: 30,000,000 input tokens; AdamW; seed 17; BF16 on an RTX 3050 Laptop GPU.
- Test: teacher-forced perplexity 27.0701 over 1,032,088 English target tokens; SacreBLEU 2.6.0 corpus BLEU 15.6307 overall, 18.7978 vi→en, 12.4507 ja→en.
checkpoint.pt contains model and optimizer state plus RNG/training state. The raw JSONL test file stores all 49,584 sample IDs, references, generations, token IDs, and stop reasons. See final_metrics.json, data.manifest.json, and train.jsonl for machine-readable results.
Generation uses batched greedy cached decoding in float32; the teacher-forced NLL evaluation uses BF16 autocast. A real-checkpoint p90 decode probe is saved as dense_decode_probe.json.