Downloads · 30 days
37
39% of all-time downloads
timothydillan/gemma4-e2b-balinese-mt
gemma4-e2b-balinese-mt is a translation model from timothydillan. Use it when you need text moved from one language to another. It is set up for gguf. The card lists the license as gemma.
A LoRA-SFT fine-tune of Gemma 4 E2B for Indonesian ↔ Balinese translation, built as part of Open Indonesia Models — open language/speech models for Indonesian regional languages, starting with Balinese.
Downloads · 30 days
37
39% of all-time downloads
All-time downloads
94
Public
Repo size
5.1 GB
Likes
0
Public
Click a slice to open those files.
.gguf5 GB · 97%
From the Hugging Face model README
A LoRA-SFT fine-tune of Gemma 4 E2B for Indonesian ↔ Balinese translation, built as part of Open Indonesia Models — open language/speech models for Indonesian regional languages, starting with Balinese.
On-device first: ships as a q8_0 GGUF (4.6 GB) runnable in Ollama / llama.cpp / LM Studio.
| Direction | Base Gemma-4-E2B | This model (q8_0) | Δ |
|---|---|---|---|
| Indonesian → Balinese | 29.33 | 51.88 | +22.6 |
| Balinese → Indonesian | 34.46 | 60.93 | +26.5 |
Fine-tuning roughly doubles chrF++. Trained on 1,200 clean NusaX-MT pairs (2 epochs, Unsloth LoRA SFT, final loss 0.328). This is a v0 translation baseline, not a general assistant — expect occasional lexical slips.
# Build from the GGUF (Modelfile uses Gemma-4's <|turn> template):
ollama create oim-bali -f Modelfile
ollama run oim-bali "Translate from Indonesian to Balinese.
Selamat pagi, semoga harimu menyenangkan."
Prompt format follows training: Translate from Indonesian to Balinese.\n\n<text>
(or ... to Indonesian.). Register conditioning where available:
Translate from Indonesian to Balinese (register=Alus Sor).\n\n<text>.
gemma4-e2b-idban-Q8_0.gguf — the runnable on-device model (q8_0, PLE-safe).adapter/ — the LoRA adapter (apply onto google/gemma-4-E2B-it).Modelfile — Ollama Modelfile with the correct Gemma-4 chat template.convert_hf_to_gguf.py --outtype q8_0 (stock mlx-lm fails on the multimodal arch).