Downloads · 30 days
9
21% of all-time downloads
sinhala-nlp/Qwen3.5-2B-PaliSinhala-Pali2Si-si
Qwen3.5-2B-PaliSinhala-Pali2Si-si is a translation model from sinhala-nlp. Use it when you need text moved from one language to another. It is set up for peft.
A LoRA adapter for Pali to Sinhala translation, fine-tuned from Qwen/Qwen3.5-2B as part of the SinGen Sinhala text generation benchmark.
Downloads · 30 days
9
21% of all-time downloads
All-time downloads
42
Public
Repo size
87.3 MB
Likes
0
Public
Click a slice to open those files.
.safetensors67.3 MB · 77%
From the Hugging Face model README
A LoRA adapter for Pali to Sinhala translation, fine-tuned from Qwen/Qwen3.5-2B as part of the SinGen Sinhala text generation benchmark.
from transformers import AutoTokenizer, AutoModelForCausalLM
from peft import PeftModel
tok = AutoTokenizer.from_pretrained("Qwen/Qwen3.5-2B")
model = AutoModelForCausalLM.from_pretrained("Qwen/Qwen3.5-2B", dtype="auto", device_map="auto")
model = PeftModel.from_pretrained(model, "sinhala-nlp/Qwen3.5-2B-PaliSinhala-Pali2Si-si")
Prompts use the base model's chat template with thinking disabled, and the assistant
response begins with the Translation: prefix.
| Training pairs | 9450 |
| Instruction language | si |
| Length-matched subsample | False |
| Epochs | 1.0 |
| Effective batch size | 16 |
| Learning rate | 0.0002 |
| Max sequence length | 3072 |
| LoRA r / alpha / dropout | 16 / 32 / 0.05 |
| Thinking during training | False |
Last 1000 rows of sinhala-nlp/pali-sinhala, whitespace-tokenized (sacreBLEU's default
13a tokenizer splits Sinhala conjuncts and vowel signs):
| Metric | Score |
|---|---|
| Corpus sacreBLEU | 0.03 |
| Sentence-level BLEU mean | 0.04 |
| Hyp/ref length ratio | 0.252 |
Read the scores with the length ratio. The corpus is in canonical order, so the trailing 1000 rows used as the test set are much longer than the training pool (median target length differs by roughly an order of magnitude). Predictions are therefore shorter than references and BLEU is partly driven by the brevity penalty rather than translation quality. This split is kept as-is so the numbers stay comparable across the model families evaluated in SinGen.
This adapter inherits the licence of the base model; check the base model card
before redistributing. Verify the terms of the sinhala-nlp/pali-sinhala dataset
on its dataset card as well.