Manas-64M · Pretraining
The base model: 63.9M parameters trained from random weights on about 1.5B tokens of English web, textbook and story text. Every other Manas stage starts here.
Try it: chat Space · Every stage: collection · Code: github.com/kuluruvineeth/manas · Data: manas_dataset
Results
| value | |
|---|---|
| held-out loss | 2.145 |
| training loss, first → last log point | 5.552 → 2.074 |
| training steps | 92,814 |
| tokens processed | ≈1.52B (throughput × time) |
| wall-clock | 175 min at ~145k tokens/s |

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.8% | 25.1% | 500 |
| arc_easy | 31.8% | 25.0% | 500 |
| hellaswag | 35.4% | 25.0% | 500 |
| mmlu | 25.0% | 25.0% | 500 |
| openbookqa | 28.8% | 25.0% | 500 |
| average | 28.6% |
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-pretrain"
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-pretrain).
Training
- Lineage: starts from random weights.
- Method: next-token prediction, sequence length 512, batch 32 with 8 accumulation steps, cosine decay to 10% of the peak learning rate.
- Data:
pretrain_t2t.jsonl: FineWeb-Edu sample-10BT, Cosmopedia v2, TinyStories (sources and licenses). - Trainer:
trainer/train_pretrain.py, peak learning rate 5e-4 (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 exportpretrain_full_768.pth: the raw training checkpoint for the training codepretrain_full_768_metrics.jsonl,pretrain_full_768_curves.png: the training log and its plot