3 Downloads Updated 20 hours ago
ollama run labadainofficial/labadain-e2b-tetun:q4_k_m
unsloth/gemma-4-E2B-itRequires a recent version of Ollama with Gemma 4 support. The model needs about 4–5 GB of free memory and also runs on CPU-only laptops.
Run the model with Ollama:
ollama run labadainofficial/labadain-e2b-tetun:q4_k_m --think=false
Keep thinking off with --think=false. The training conversations contain no reasoning traces, so the model was not tuned to think before answering.
curl http://localhost:11434/api/chat -d '{
"model": "labadainofficial/labadain-e2b-tetun:q4_k_m",
"messages": [{"role": "user", "content": "Saida mak kapitál Timor-Leste nian?"}],
"think": false,
"stream": false
}'
pip install ollama
from ollama import chat
response = chat(
model="labadainofficial/labadain-e2b-tetun:q4_k_m",
messages=[
{"role": "user", "content": "To'o iha-ne'ebé ona progresu edukasaun iha Timor-Leste?"},
],
think=False,
)
print(response.message.content)
| Parameter | Default |
|---|---|
temperature |
0.3 |
num_ctx |
4096 |
The low default temperature gives focused, consistent answers. For more varied writing, raise it to 0.7–1.0:
ollama run: /set parameter temperature 1.0"options": {"temperature": 1.0}chat(..., options={"temperature": 1.0})The model was fine-tuned on 138,033 Tetun conversations (roughly 102 million tokens) compiled by Labadain, including some material machine-translated into Tetun. Together they contain 261,593 question–answer exchanges:
| Conversation type | Conversations |
|---|---|
| Multi-turn (2 or more question–answer exchanges) | 71,091 (51.5%) |
| Single-turn (1 question–answer exchange) | 66,942 (48.5%) |
| Total | 138,033 |
Multi-turn conversations have up to 33 exchanges. Duplicates were removed before training, and 3,000 conversations were held out for validation.
The model was fine-tuned with Unsloth and TRL’s SFTTrainer for up to 2 epochs, keeping the checkpoint with the lowest validation loss. Loss was computed only on the model’s answers. The merged model was then converted to GGUF and quantized to Q4_K_M. Full training details are on the Hugging Face model card.
Merged model: https://huggingface.co/labadain/labadain-E2B-it-Tetun
GGUF: https://huggingface.co/labadain/labadain-E2B-it-Tetun-GGUF
This model is released under the Apache 2.0 license, following the Gemma 4 license of the base model.
Labadain is a research initiative advancing information retrieval (IR), natural language processing (NLP), and artificial intelligence (AI) for Tetun and other low-resource language settings.