Skip to article
Zeroth State Contact
TokenizerStudy and downloadMuna161M model research

Model research · Muna

A Compact Language Model Built Around Nepali

Muna is a 161.8M-parameter research checkpoint trained from scratch on 3.305B tokens. It tests how far careful data, tokenization, and a mobile-minded architecture can take a small model.

A luminous pink, violet, and teal magnolia bud representing the Muna language model
161.8Mparameters
3.305Bpretraining tokens
2,048token context

Research objective

Large multilingual systems distribute their capacity across many languages and tasks. Muna explores a narrower question: can a compact decoder-only model become useful for Nepali, Romanized Nepali, and education-oriented text when its data and tokenizer are designed around that surface?

This is a real pretrained checkpoint, not an API wrapper. It is also not a production-ready general assistant. The work is a measured step toward a model that can eventually run closer to the user, including offline and constrained-device settings.

Model scale161.8M parameters
Training scale3.305B tokens
Primary goalNepali-first research

Model architecture

The architecture favors depth and parameter efficiency over a wide hidden state. Grouped-query attention reduces key-value state, tied embeddings avoid duplicating the vocabulary matrix, and the 32k Muna tokenizer keeps the input and output vocabulary compact.

Transformer blocks36
Model width576
Feed-forward width1,792
Attention heads9
Key-value heads3
Head dimension64
Vocabulary32,000
Context length2,048
SwiGLU

Gated feed-forward layers improve expressiveness within a limited parameter budget.

RMSNorm and RoPE

Pre-normalized blocks and rotary position encoding keep the decoder design simple.

GQA and tied embeddings

Three key-value heads and one shared vocabulary matrix reduce memory cost.

Pretraining

The checkpoint records 3,305,373,696 training tokens. At 161,801,280 parameters, that is approximately 20.4 training tokens per parameter: a deliberate balance between model capacity and available corpus scale.

Native weights

BF16 checkpoint weights occupy about 617 MB on disk.

Nepali-centered text

The training data includes Devanagari Nepali, Romanized language, Wikipedia, education material, English anchors, and structured forms.

Custom tokenizer

The selected 32k Unigram tokenizer was evaluated separately for fertility, Unicode safety, and unseen-text behavior.

The parameter count and token budget are factual properties of this run. They are not evidence that the checkpoint matches larger general-purpose models; capability must be demonstrated task by task.

Adaptation evaluation

A small supervised adaptation experiment used 3,627 source rows, expanded to 5,635 effective examples, with 304 validation rows. The run completed 705 steps without paid API generation.

Recorded validation exampleGrounded textbook answer · exact match
Prompt

सन्दर्भ: नेपालको संविधान वि.सं. २०७२ असोज ३ गते जारी भएको हो।

प्रश्न: नेपालको संविधान कहिले जारी भएको हो?

Muna
नेपालको संविधान वि.सं. २०७२ असोज ३ गते जारी भएको हो।

The example above is copied from the recorded evaluation output. The adaptation remains a research checkpoint while translation quality is improved.

Try Muna

Muna runs locally in this browser, not on a hosted inference server. The first visit downloads the 361 MB model once; supported browsers keep that copy on the device so later sessions can work without Wi-Fi. Browser acceleration is used when available, with CPU inference as the fallback.

Runs on your deviceCPU compatibleOffline after first preparation
Muna 161.8M Local textbook preview
Loads only when you ask
Explore the textbook evaluation set7 subject areas · Grades 1–10 · Controlled preview
Muna

Choose a textbook question to observe the model generate an answer on your device.

Muna generates each visible answer locally from the supplied textbook context. Questions and answers do not leave the device.

Local and offline inference

Muna has a native CPU inference path and a browser build that runs entirely on the reader's device. The browser chooses the fastest local path it supports and falls back to CPU execution without sending prompts to an inference API.

After the model has been prepared once, the browser can reuse its local copy without Wi-Fi. The next deployment study focuses on a smaller quantized build for faster startup, lower memory use, and practical phone performance.

Limitations and next steps

Muna establishes the core pieces of a Nepali-centered language-model stack: a measured tokenizer, a completed multi-billion-token pretraining run, native local inference, and evaluation gates that can reject an adaptation even when its loss improves.

The next work is less glamorous and more important: improve translation and instruction behavior, evaluate knowledge and safety beyond templated tasks, quantify contamination, build retrieval for factual use, and test compressed variants on real phones. Until those gates pass, the pretrained model remains a research checkpoint.