Maatu 15M Base 2B

Maatu 15M Base 2B is a 15,040,622-parameter Kannada language model pretrained from random initialization on 2 billion next-token targets. It takes a plain Kannada prompt and predicts a text continuation. It uses the nanochat GPT architecture with six layers, width 384, six query heads, two key/value heads, a 512-token context, and a 4,864-token byte-level BPE fitted on Kannada training documents.

Maatu 15M Base 2B is a text-completion-only model. It can produce readable short continuations by predicting the next Kannada tokens. A chat-tuned version is coming soon.

Run locally

The included PyTorch script loads the SafeTensors checkpoint and the matching tokenizer with the bundled nanochat code. These commands use Python 3.11 or later.

python -m pip install huggingface_hub
hf download RakshithFury/Maatu-15m-base-2b --local-dir Maatu-15m-base-2b
cd Maatu-15m-base-2b
python -m pip install -r requirements.txt
python -X utf8 infer.py "ಭಾರತದ ರಾಷ್ಟ್ರಪಿತ ಮಹಾತ್ಮ" --tokens 18 --greedy

Inference defaults to CPU. A BF16-capable GPU and a CUDA build of PyTorch can use --device cuda. The inference script expects plain prompts and adds the beginning-of-document token itself.

Training data and recipe

Maatu's training pipeline builds on the Udgam English 125M codebase from Udgam Labs (@udgamlabs). Maatu's Kannada model weights were initialized randomly.

Training consumed 2,000,000,000 next-token targets over 61,036 updates on one NVIDIA RTX 5070 Ti using BF16 compute and Adafactor. The run used the v1 tokenizer, Kannada-script filter, and held-out split. Preparation normalized text, deduplicated exact documents across sources, and rejected documents containing foreign letters or combining marks. Language identification within Kannada script follows the source labels.

Training detail Value
Primary corpus 948,303,360 targets from 21 pinned AI4Bharat Sangraha Verified Kannada shards (CC BY 4.0)
Supplemental corpus 1,051,696,640 targets from 32 shards of a pinned cleaned Kannada pretraining corpus (CC BY-SA 4.0), restricted to IndicCorp v2, FineWeb-2, IndicMonoDoc, Kannada Wikipedia, and Kannada Wikisource
Packed training set 3,906,250 rows, 2,000,000,000 next-token targets (4.01 GB)
Training consumed 2,000,000,000 next-token targets in one pass across 61,036 updates
Hardware One NVIDIA GeForce RTX 5070 Ti with 16 GB VRAM
Training time 1 hour 45 minutes 45 seconds for the completed run, excluding data download and preparation

Training curves

Maatu 15M Base 2B training loss, validation loss, and validation perplexity over two billion training targets

These curves use the metrics logged locally by W&B during pretraining. On the fixed 262,144-target validation subset, loss fell from 8.49 to 3.04 and perplexity fell from 4,864.94 to 20.92. The evaluation table below reports the separate full-holdout result.

Evaluation

Test Result Reference
Full Sangraha holdout, 999,936 next-token targets 21.33 perplexity 26.02 for Maatu 15M Base v1
IndicCOPA Kannada, zero-shot choice likelihood 54.0% (270/500) 50% uniform chance
Belebele Kannada, zero-shot A–D label likelihood 23.1% (208/900) 25% uniform chance

IndicCOPA scored full candidate continuations with Kannada causal connectives. Belebele used the EleutherAI harness prompt, and 2 prompts were left-truncated to 512 tokens. The model chose A on 810 of 900 questions. EleutherAI prompt template

Unfinished Kannada completions

These are verbatim excerpts from greedy completions of single-line prompts with no sentence-ending punctuation. The model supplied the expected opening immediately on 2 of 18 prompts in this informal test, counting Kannada suffixes and honorifics.

Unfinished prompt Expected next word or number Generated continuation excerpt
ಭಾರತದ ರಾಷ್ಟ್ರಪಿತ ಮಹಾತ್ಮ ಗಾಂಧಿ ಗಾಂಧೀಜಿ ಅವರ ಜನ್ಮದಿನದ ಅಂಗವಾಗಿ
ಭಾರತದ ಸ್ವಾತಂತ್ರ್ಯ ದಿನಾಚರಣೆ ಆಗಸ್ಟ್ ೧೫ ೧೫ರಂದು ನಡೆಯಲಿದೆ.
ಒಂದು ವಾರದಲ್ಲಿ ಏಳು ದಿನಗಳು ಲಕ್ಷಕ್ಕೂ ಅಧಿಕ ಮಂದಿ ಸೋಂಕಿನಿಂದ ಚೇತರಿಸಿಕೊಳ್ಳುತ್ತಿದ್ದಾರೆ.
ಒಂದು ವರ್ಷದಲ್ಲಿ ಹನ್ನೆರಡು ತಿಂಗಳುಗಳು ಸಾವಿರಕ್ಕೂ ಹೆಚ್ಚು ಮಂದಿ ಸೋಂಕಿನಿಂದ ಚೇತರಿಸಿಕೊಂಡಿದ್ದಾರೆ.
ಒಂದು ಗಂಟೆಯಲ್ಲಿ ಅರವತ್ತು ನಿಮಿಷಗಳು ಸಾವಿರದಷ್ಟು ಜನಸಂಖ್ಯೆ ಇರುವ ಈ ಗ್ರಾಮಕ್ಕೆ
ಮನುಷ್ಯನ ಒಂದು ಕೈಯಲ್ಲಿ ಐದು ಬೆರಳುಗಳು ಕಾಸಿನಷ್ಟು ಹಣವಿದೆ.
ಸೂರ್ಯನು ಪೂರ್ವದಲ್ಲಿ ಉದಯಿಸುತ್ತಾನೆ ಸೂರ್ಯನಂತೆ ಪ್ರಕಾಶಿಸುತ್ತಾನೆ.
ಭಾರತದ ರಾಷ್ಟ್ರೀಯ ಪಕ್ಷಿ ನವಿಲು ವಿಜ್ಞಾನಿ ಡಾ.ಕೆ.ಎಸ್.ಭಗವಾನ್ ಅವರು
ಕರ್ನಾಟಕದ ಅಧಿಕೃತ ಭಾಷೆ ಕನ್ನಡ . ಕರ್ನಾಟಕದ ಅಧಿಕೃತ ಭಾಷೆಯಾದ ಕನ್ನಡದಲ್ಲಿ

The number prompts often drifted into familiar news phrasing. Longer completions can repeat phrases, switch topics, and make unsupported claims.

Credits

Bundled inference code uses the MIT license. The pinned nanochat files retain their original MIT notice. Training corpora and benchmark datasets retain their upstream terms.

Downloads last month

-

Downloads are not tracked for this model. How to track
Safetensors
Model size
15M params
Tensor type
F32
·
Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support

Model tree for RakshithFury/Maatu-15m-base-2b

Finetunes
1 model

Datasets used to train RakshithFury/Maatu-15m-base-2b