Manas-64M · DPO
The SFT model aligned on chosen/rejected pairs with Direct Preference Optimization.
Try it: chat Space · Every stage: collection · Code: github.com/kuluruvineeth/manas · Data: manas_dataset
Results
| value | |
|---|---|
| held-out loss | 0.645 |
| training loss, first → last log point | 0.638 → 0.252 |
| training steps | 14,992 |
| wall-clock | 24 min at ~263k tokens/s |
For DPO the losses are the preference loss, not language-modeling loss. Training loss fell from 0.64 to 0.25 while the held-out loss ended at 0.645, barely below where training started: at this size and learning rate, DPO fit the training pairs without generalizing much.

Benchmarks
Zero-shot multiple choice, 500 items per task, scored by comparing answer log-likelihoods (scripts/evaluate.py).
| benchmark | accuracy | random chance | items |
|---|---|---|---|
| arc_challenge | 21.2% | 25.1% | 500 |
| arc_easy | 32.2% | 25.0% | 500 |
| hellaswag | 35.2% | 25.0% | 500 |
| mmlu | 26.0% | 25.0% | 500 |
| openbookqa | 25.2% | 25.0% | 500 |
| average | 28.0% |
A 64M model has far less capacity than these benchmarks assume, so scores sit near random chance. They are published because hiding them would be dishonest, and they move by about a point between stages, which is within noise at 500 items.
Use
from transformers import AutoModelForCausalLM, AutoTokenizer
repo = "kuluruvineeth/manas-64m-dpo"
tokenizer = AutoTokenizer.from_pretrained(repo)
model = AutoModelForCausalLM.from_pretrained(repo)
messages = [{"role": "user", "content": "What is the capital of France?"}]
inputs = tokenizer.apply_chat_template(messages, add_generation_prompt=True, return_tensors="pt", return_dict=True)
out = model.generate(**inputs, max_new_tokens=60, do_sample=False)
print(tokenizer.decode(out[0][inputs["input_ids"].shape[1]:], skip_special_tokens=True))
The export is a standard transformers checkpoint, so vLLM and SGLang load it with no custom code (vllm serve kuluruvineeth/manas-64m-dpo).
Training
- Lineage: starts from
manas-64m-full-sft. - Method: DPO, β = 0.15, sequence length 1024, batch 4.
- Data:
dpo.jsonl: UltraFeedback binarized (sources and licenses). - Trainer:
trainer/train_dpo.py, peak learning rate 4e-8 (from the training log). - Hardware: one A100 or H100 GPU on Modal (
gpu/modal_train.py). - Architecture: Qwen3 layout: 768 hidden, 8 layers, 8 query / 4 key-value heads (head dim 96), SwiGLU MLP of width 2,432, RoPE θ = 10⁶, tied embeddings, 6,400-token byte-level BPE vocabulary. 63,912,192 parameters.
Limitations
English only. At this size the model has little world knowledge: it is confidently wrong about facts that need it, loses the thread in long conversations, and should not be used for anything that matters. It is a teaching and research artifact for studying how each training stage changes a model.
Files
model.safetensors,config.json,tokenizer.json,chat_template.jinja: the transformers exportdpo_full_768.pth: the raw training checkpoint for the training codedpo_full_768_metrics.jsonl,dpo_full_768_curves.png: the training log and its plot