Downloads · 30 days
0
Japhari/sdt-gm4-hesabu-flare-v0.01
sdt-gm4-hesabu-flare-v0.01 is a text generation model from Japhari. Use it when you need the model to write or continue text. It is set up for transformers. The card lists the license as mit.
Swahili math-assistant LoRA adapter focused on primary-school arithmetic and word problems.
Downloads · 30 days
0
Access
Public
Updated Jul 8, 2026
Repo size
394 MB
Likes
0
Public
Click a slice to open those files.
.safetensors238 MB · 60%
From the Hugging Face model README
Swahili math-assistant LoRA adapter focused on primary-school arithmetic and word problems.
sdt-gm4-hesabu-flare-v0.01unsloth/gemma-3-4b-it-unsloth-bnb-4bitThis model was trained with supervised chat-style examples from:
train.jsonl, val.jsonl)math_booster.jsonl)Associated dataset repo:
Japhari/sdt-gm4-hesabu-flare-v0.01-datasetFor production or assessment workflows, use deterministic validation/guardrails for arithmetic final answers.
from peft import PeftModel
from transformers import AutoModelForCausalLM, AutoTokenizer
base_model = "unsloth/gemma-3-4b-it-unsloth-bnb-4bit"
adapter_repo = "Japhari/sdt-gm4-hesabu-flare-v0.01"
tokenizer = AutoTokenizer.from_pretrained(adapter_repo)
model = AutoModelForCausalLM.from_pretrained(base_model, device_map="auto")
model = PeftModel.from_pretrained(model, adapter_repo)
prompt = "Mara 8 kwa 7 ni ngapi?"
inputs = tokenizer(prompt, return_tensors="pt").to(model.device)
out = model.generate(**inputs, max_new_tokens=64)
print(tokenizer.decode(out[0], skip_special_tokens=True))
v0.01 – initial release