Kintu-2.0-30M

Parameters Context Vocab License

A 30M-parameter Luganda chat model and the successor to Kintu-1.0-39M: Kintu-2.0-30M-Base fine-tuned on Luganda conversations.

Architecture Qwen3-style decoder (Qwen3ForCausalLM): RMSNorm, SwiGLU, RoPE (θ = 1e6), QK-norm, grouped-query attention (8 query / 4 KV heads), tied embeddings
Size 30.0M parameters: 8 layers, hidden size 512, MLP 1,664
Tokenizer Byte-level BPE, 6,400 tokens, trained on the pretraining data
Context 512 tokens

Training

Full fine-tuning on 59,798 Luganda prompt-reply pairs (the empathetic-dialogue and everyday-conversation subsets of henryhale/luganda-sft-translated) for 3 epochs : learning rate 5e-5 and 685 multi-turn Luganda converstations of henryhale/luganda-lima for 3 epochs : learning rate 2e-5with cosine decay, fp16 on one T4. Loss is only computed on the assistant's replies.

Usage

from transformers import AutoModelForCausalLM, AutoTokenizer

tok = AutoTokenizer.from_pretrained("henryhale/Kintu-2.0-30M")
model = AutoModelForCausalLM.from_pretrained("henryhale/Kintu-2.0-30M")
messages = [{"role": "user", "content": "Oli otya?"}]
enc = tok.apply_chat_template(messages, add_generation_prompt=True, return_tensors="pt", return_dict=True)
out = model.generate(**enc, max_new_tokens=100)
print(tok.decode(out[0, enc["input_ids"].shape[1]:], skip_special_tokens=True))

Samples

Sampled with temperature 0.85 and top-p 0.95:

💬 Oli otya?
🧠 Gezaako okukuumira ebirowoozo byo mu kamwa ko era weeyongere okunyweza omubiri gwo.

💬 Wasuze otya nno?
🧠 Wasuze otya naawe! Ndi muzadde omulungi nnyo! Ggwe osiibye otya?

💬 Osiibye otyanno ssebo?
🧠 Nsiibye bulungi. Oluggi luno lwakumala bbanga ki?

💬 Ndi musanyufu nnyo okulaba.
🧠 Nzikirizza kampuni ey'eby'enfuna n'eby'abakozi abakugu.

💬 Weebale nnyo okuyamba bulungi.
🧠 Ssanyu lyange. Ssanyu lyange. Olina omulimu?

Limitations

At 30M parameters it writes fluent Luganda but is often off-topic and gets facts wrong, so don't rely on it for information. It was trained on sequences of up to 512 tokens, and TinyStories translations are 68.5% of its pretraining tokens, so it leans towards simple stories.

Downloads last month
16
Safetensors
Model size
30M params
Tensor type
F16
·
Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support

Model tree for henryhale/Kintu-2.0-30M

Finetuned
(1)
this model
Quantizations
1 model

Datasets used to train henryhale/Kintu-2.0-30M

Collection including henryhale/Kintu-2.0-30M