Nau 1.0 (ނައޫ)
Nau is an open language model for Dhivehi (ދިވެހި), written in Thaana. It writes, translates, summarises, fixes spelling and answers questions in Dhivehi, and it runs on an ordinary laptop without an internet connection.
It is a 5.4B-parameter fine-tune of Gemma 4 E2B, with a tokenizer extended for Thaana.
| Held-out test | Nau 1.0 | Gemini 3.8 Flash | Gemma 4 E2B (base) |
|---|---|---|---|
| Translation, both directions (592 items, chrF) | 0.696 | 0.677 | 0.154 |
| · Dhivehi → English | 0.709 | 0.681 | 0.280 |
| · English → Dhivehi | 0.683 | 0.672 | 0.028 |
| Dhivehi skills, mean of 6 (461 items) | 0.481 | 0.408 | — |
| · Filling in a missing word (cloze) | 0.157 | 0.435 | — |
| · Continuing a text | 0.218 | 0.168 | — |
| · Picking the natural sentence (A/B) | 0.972 | 1.000 | — |
| · Fixing spelling mistakes (exact) | 0.380 | 0.204 | — |
| · News into English (chrF) | 0.396 | 0.524 | — |
| · Romanised Dhivehi → Thaana | 0.765 | 0.118 | — |
| Spelling fixes needed per 1,000 words (Dhivehi Academy rules; lower is better) | 0.0 | 59.9 | — |
| Declines to invent live or private facts (16 questions) | 16/16 | 15/16 | — |
| Answers simple general-knowledge questions correctly (8) | 4/8 | 8/8 | — |
| Writes Dhivehi when the instruction is in English (15) | 11/15 | 15/15 | — |
All tests are held out from training. Both models were run at temperature 0. Human Dhivehi news text needs 16.6 spelling fixes per 1,000 words by the same rules; Nau was trained on text normalised to those rules.
Use it
import torch
from transformers import AutoTokenizer, AutoModelForCausalLM
tok = AutoTokenizer.from_pretrained("nau-ai/Nau-1.0")
model = AutoModelForCausalLM.from_pretrained("nau-ai/Nau-1.0", dtype=torch.bfloat16)
msgs = [{"role": "user", "content": "ރާއްޖޭގެ ވެރިރަށަކީ ކޮބާ؟"}]
ids = tok.apply_chat_template(msgs, add_generation_prompt=True, return_tensors="pt", return_dict=True)
out = model.generate(**ids, max_new_tokens=200, do_sample=False, repetition_penalty=1.1)
print(tok.decode(out[0][ids["input_ids"].shape[1]:], skip_special_tokens=True))
Greedy decoding with a repetition penalty of about 1.1 gives the most reliable Dhivehi; it is what the results above use. The weights are 10.9 GB in bf16.
Try it free on Colab
runs Nau on Google Colab's free T4 GPU, with a chat box. Accept the licence on this page first, and add a Hugging Face token as the Colab secret
HF_TOKEN (or log in when asked). Then set Runtime → Change runtime type → T4 GPU, then Run all. If the button does not open it, download nau_colab.ipynb and use File → Upload notebook in Colab.
GGUF (llama.cpp, LM Studio, Ollama)
| File | Size | Notes |
|---|---|---|
Nau-1.0-Q8_0.gguf | 5.3 GB | Closest to the full model |
Nau-1.0-Q4_K_M.gguf | 3.7 GB | Faster and smaller; about 16–18 tokens per second on an Intel i7-12700 CPU with 8 threads |
llama-server -hf nau-ai/Nau-1.0:Q4_K_M
For the best Dhivehi, tokenize prompts with the Hugging Face tokenizer and send llama.cpp the token ids (the prompt field of /completion accepts a list of ids). llama.cpp's own tokenizer splits some Thaana words into different pieces than Nau was trained on. Plain text prompts still work, slightly less well.
Tip: write the instruction in Dhivehi when you want a Dhivehi answer. Given an English instruction such as "Write a Dhivehi email…", Nau sometimes answers in English.
What it is for
- Writing and editing Dhivehi: notices, letters, news-style text, summaries.
- Translating between Dhivehi and English.
- Correcting Dhivehi spelling toward the Dhivehi Academy standard.
- Converting romanised Dhivehi ("aharen mi hafthaa…") into Thaana.
- Answering questions about a text you give it.
Limitations
- General knowledge is thin. It can state wrong facts fluently. In testing it said the Maldives has 10 atolls and confused National Day with Independence Day. Check facts, and give it the source text when accuracy matters.
- Legal and official detail. Asked about laws without the text in front of it, it can invent article numbers. With the law text in the prompt, an earlier version answered 99% of questions on 22 held-out laws correctly.
- English instructions sometimes get English answers (see above).
- Long answers can repeat themselves; the repetition penalty helps.
- It has no access to the internet, the date or live information, and says so when asked about prices, weather, results or private details.
How it was made
- Tokenizer. Gemma's 262,144-token vocabulary has few Thaana pieces, so Dhivehi took about 5.6 tokens per word. 32,000 Thaana tokens were added (294,144 total), bringing it to about 1.6 tokens per word. Only the new embedding rows were trained at first.
- Continued pretraining on about 700M tokens in two rounds, mostly Dhivehi news from 20+ sites, plus fiction, religious writing, laws and the Government Gazette, mixed with English to keep the model's English.
- Instruction tuning on about 430k examples built from human Dhivehi text and public Dhivehi–English parallel datasets: translation, summaries, headlines, spelling correction, romanisation, A/B fluency choices, questions about laws, and dictionary tasks from Radheef.
- Identity and uncertainty. A short second fine-tune taught it its name and to say when it cannot know something (the time, prices, private details). Three variants were trained and averaged with the previous model to undo small losses from the extra training.
Every test set was removed from the training data before training (5,000 source documents and all test sentences).
Identity
Asked who it is, it answers that it is Nau, a Dhivehi AI assistant. In Thaana the name is written ނައޫ. Nau 1.0 writes its own name as ނައު in Dhivehi answers; this will be corrected in the next version.
Licence and attribution
CC BY-NC-SA 4.0, with a commercial licence on request (from 6 October 2026; see LICENSE and NOTICE).
- Non-commercial use (research, teaching, personal and public-interest projects) is free. Credit Nau, and share anything you build from it (fine-tunes, merges, quantisations, distilled models) under the same licence.
- Commercial use, including running Nau inside a paid product or service, needs a commercial licence from the Nau authors. Its terms include publishing the improvements you make to Nau. To ask for one, open a discussion titled "Commercial licence" on this repository.
Access requires accepting these terms in the form at the top of this page.
Copies downloaded before 6 October 2026 were released under Apache 2.0 and remain under it.
Nau is a derivative of Gemma 4 E2B by Google DeepMind, released under Apache 2.0 (copy in LICENSE-APACHE-2.0). These terms cover the Nau authors' changes, not Gemma 4 E2B itself.
Released training data and test sets (web-crawled text; the public alakxender datasets are linked rather than copied): nau-ai/dhivehi-corpus, nau-ai/nau-sft, nau-ai/dhivehi-eval.
Questions, problems or takedown requests: open a discussion on this repository.