Add model card
Browse files1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253---license: mittags:- from-scratch- pretraining- bilingual- kawi- smoke-testdatasets:- KawiLM/kawi-corpuspretty_name: Kawi-tiny (pipeline validation checkpoint)---
# KawiLM/kawi-tiny
A 2.15M-parameter validation checkpoint from the **Kawi** pipeline β the first public artifact of a bilingual (English/Indonesian) LLM built from scratch on an Rp0 budget.
**This is a pipeline validation checkpoint, not a usable language model.** It exists to prove the full chain works: corpus β tokenizer β DDP training on free Kaggle GPUs β eval β export. Every number below is real, measured by `kawi eval` / `kawi eval-code` / `kawi eval-mc`.
## Training facts (60 steps, 2Γ Tesla T4, DDP)
- **Params:** 2,146,624 (dim 64, 2 layers, max_seq_len 128) β config `configs/kawi-tiny.yaml`- **Data:** [KawiLM/kawi-corpus](https://huggingface.co/datasets/KawiLM/kawi-corpus) shards (11.7B tokens), mix py 0.5 / id 0.5- **val_loss:** 8.20 β **7.90** in 60 steps (12,000 train tokens/step)- **Wall time:** 3.3 minutes total, incl. eval
## Evaluation (2M tokens, bpb = bits per byte)
| source | bpb ||---|---:|| code | 3.66 || en | 3.17 || git | 3.70 || **id** | **2.85** || py | 3.14 || tech | 3.46 || **overall** | **3.21** |
- HumanEval / MBPP pass@1: **0.0** (expected β the model has seen 720k tokens and outputs mostly underscores)- MMLU (engineering subset): acc 22.1% β random (expected)
## Files
- `best.pt` β best checkpoint by val loss (torch state dict)- `ckpt.pt` β resumable checkpoint (optimizer state included)- `eval.json` β full eval report (per-source bpb, code, knowledge)- `summary.json`, `log.jsonl` β training run facts
## What's next
Real pretraining runs scale to [configs/kawi-20m.yaml](https://github.com/aryasep-a/kawi/tree/main/configs) and beyond. Pipeline: [github.com/aryasep-a/kawi](https://github.com/aryasep-a/kawi). Tokenizer: [KawiLM/kawi-tokenizer](https://huggingface.co/KawiLM/kawi-tokenizer).
License: MIT. Budget: Rp0.README.mdAdded+53