CoolFace
Modelpublic

sinhala-nlp/Qwen3.5-9B-NSINA-Headlines-en

sourceHugging Faceupdated 2mo agoView on Hugging Face
0likes6downloads
Model Card

Qwen3.5-9B-NSINA-Headlines-en

A LoRA adapter for Sinhala news headline generation, fine-tuned from Qwen/Qwen3.5-9B as part of the SinGen Sinhala text generation benchmark.

Usage

python
from transformers import AutoTokenizer, AutoModelForCausalLM
from peft import PeftModel

tok = AutoTokenizer.from_pretrained("Qwen/Qwen3.5-9B")
model = AutoModelForCausalLM.from_pretrained("Qwen/Qwen3.5-9B", dtype="auto", device_map="auto")
model = PeftModel.from_pretrained(model, "sinhala-nlp/Qwen3.5-9B-NSINA-Headlines-en")

Prompts use the base model's chat template with thinking disabled, and the assistant response begins with the Headline: prefix. Articles are trimmed to 2500 characters and then budgeted to fit max_seq_len from the lead.

Training

Training articles8000
Instruction languageen
Epochs1.0
Effective batch size16
Learning rate0.0002
Max sequence length2560
LoRA r / alpha / dropout16 / 32 / 0.05
Thinking during trainingFalse

Evaluation

First 1000 instances of the NSINA-Headlines test split, ROUGE F1 x100 with whitespace tokenization (the default rouge_score tokenizer strips non-ASCII and zeroes out every Sinhala score):

MetricScore
ROUGE-129.18
ROUGE-213.39
ROUGE-L28.52

Licence

This adapter inherits the licence of the base model; check the base model card before redistributing. The training data is NSINA-Headlines, derived from scraped Sri Lankan news content -- verify its terms on the dataset card, as they may be more restrictive than the base model's licence.