sinhala-nlp/gemma-3-12b-it-TamSiPara-Ta2Si-si
08
gemma-3-12b-it-TamSiPara-Ta2Si-si
A LoRA adapter for Tamil to Sinhala machine translation, trained on the TamSiPara Tamil-Sinhala parallel corpus (Pushpananda et al., 2024) as part of the SinGen Sinhala text generation benchmark.
The adapter is trained on top of google/gemma-3-12b-it using the model's own chat template, with the same instruction wording as the SinGen zero-shot and few-shot prompting runs.
Usage
from transformers import AutoProcessor, AutoModelForImageTextToText
from peft import PeftModel
processor = AutoProcessor.from_pretrained("google/gemma-3-12b-it")
model = AutoModelForImageTextToText.from_pretrained("google/gemma-3-12b-it", dtype="auto", device_map="auto")
model = PeftModel.from_pretrained(model, "sinhala-nlp/gemma-3-12b-it-TamSiPara-Ta2Si-si")(Use AutoTokenizer / AutoModelForCausalLM for text-only checkpoints.)
The model continues from the Translation: prefix inside the assistant turn.
Training
Evaluation
Held-out tail of TamSiPara (999 sentence pairs), whitespace-tokenized (sacreBLEU's default 13a tokenizer splits Sinhala conjuncts and vowel signs):
Licence
Derived from Gemma and governed by the Gemma Terms of Use.
