Downloads · 30 days
12
11% of all-time downloads
AvinabhDutta-Dev/bangla-paraphrase-tigerllm-qlora
bangla-paraphrase-tigerllm-qlora is a text generation model from AvinabhDutta-Dev. Use it when you need the model to write or continue text. It is set up for transformers. The card lists the license as cc-by-4.0.
A QLoRA fine-tune of md-nishat-008/TigerLLM-1B-it for Bengali paraphrase generation, trained on the BanglaParaphrase dataset. The LoRA adapter has been merged into the base weights — this is a complete, standalone mod…
Downloads · 30 days
12
11% of all-time downloads
All-time downloads
113
Public
Parameters
1000M
2 GB on disk
Likes
1
Public
Click a slice to open those files.
.safetensors2 GB · 98%
From the Hugging Face model README
A QLoRA fine-tune of md-nishat-008/TigerLLM-1B-it for Bengali paraphrase generation, trained on the BanglaParaphrase dataset. The LoRA adapter has been merged into the base weights — this is a complete, standalone model; no separate adapter loading is required.
This model is one of four architectures compared in a broader study, "Beyond BLEU: Evaluating Automated Metric Reliability for Bengali Paraphrase Generation" (GitHub repo), which benchmarks full fine-tuning vs. QLoRA and validates standard automated metrics (BLEU, ROUGE-L, BERTScore, PINC) against an LLM-as-a-judge.
TL;DR: Matches full-fine-tuned BanglaT5 on BLEU/BERTScore while training only ~5% of the parameters (13M vs. 247M).
| Base model | md-nishat-008/TigerLLM-1B-it |
| Architecture | Causal decoder-only LM (Gemma-based) |
| Fine-tuning method | QLoRA (4-bit base, LoRA r=16, α=32) — merged into base weights for this release |
| Trainable parameters at training time | ~13.0M (LoRA adapter only) |
| Training data | BanglaParaphrase, 100,000-pair subset |
| Max sequence length | 160 tokens |
| Effective batch size | 32 |
| Trained on | Google Colab (free-tier T4 GPU) |
| License | CC-BY-4.0 (matches base model — attribution required) |
Trained on a single free-tier Colab T4 GPU; exact carbon footprint not tracked, but compute was intentionally minimized to demonstrate low-resource feasibility for a low-resource-language task.
Generating Bengali paraphrases of an input sentence — e.g., data augmentation for downstream Bengali NLP tasks, or research on low-resource paraphrase generation and parameter-efficient fine-tuning. Evaluated only on the BanglaParaphrase test distribution; not evaluated on other domains, dialects, or languages.
from transformers import AutoModelForCausalLM, AutoTokenizer
model_name = "AvinabhDutta-Dev/bangla-paraphrase-tigerllm-qlora"
tokenizer = AutoTokenizer.from_pretrained(model_name)
model = AutoModelForCausalLM.from_pretrained(model_name, torch_dtype="auto", device_map="auto")
text = "এই বাড়িতে সাধারণত কোনো ঝগড়াঝাঁটি হয় না।"
messages = [{"role": "user", "content": f"Paraphrase this Bengali sentence: {text}"}]
inputs = tokenizer.apply_chat_template(messages, add_generation_prompt=True, return_tensors="pt")
output_ids = model.generate(inputs, max_new_tokens=160, do_sample=False)
print(tokenizer.decode(output_ids[0][inputs.shape[-1]:], skip_special_tokens=True))
Real outputs from this model on the held-out test set, judged 5/5 for both meaning preservation and fluency by the study's LLM-judge evaluation:
| Source | Generated |
|---|---|
| ইউনিভার্সিটির ল্যাবে কাজ করতেন। | তিনি বিশ্ববিদ্যালয়ের ল্যাবে কাজ করতেন। |
| ইউটিউব দেখে আমি প্রথম এই ব্যাগ তৈরি শিখি। | আমি ইউটিউব দেখে প্রথম ব্যাগটা তৈরি করি। |
Evaluated on the full, held-out BanglaParaphrase test set (23,332 examples), using the same pipeline and test data across all four models in this study.
| Metric | Score |
|---|---|
| BLEU | 18.69 |
| ROUGE-L | 0.466 |
| BERTScore (F1, BanglaBERT) | 0.942 |
| PINC (lexical novelty vs. source) | 0.777 |
Notably, TigerLLM matched or exceeded the full-fine-tune models on most metrics while updating only ~13M parameters (~5% of the model's total 664M parameters) during training — a strong result for parameter-efficient fine-tuning on this task.
A 400-pair, four-model symmetric subset (100 examples per model, identical sources) was independently scored by Gemini 3.5 Flash-Lite on semantic meaning preservation and fluency (1–5 scale), with a binary meaning-reversal flag.
| Metric | Score |
|---|---|
| Mean judge meaning-preservation score | 4.47 / 5 |
| Mean judge fluency score | 4.77 / 5 |
Error breakdown (out of 100 judged examples):
| Category | Count |
|---|---|
| Valid paraphrase | 91 |
| Hallucination / semantic drift | 6 |
| Meaning reversal | 3 |
| Severe disfluency | 0 |
Trained on a 100K-example subset (not the full ~420K available training pairs) and evaluated with greedy decoding, for compute tractability.
Training ran across multiple resumed Colab sessions due to free-tier GPU quota limits; total GPU-compute time is not precisely reconstructable from training logs (see the parent study's methodology notes).
BLEU/ROUGE-L are known to correlate only weakly with actual paraphrase quality (see the parent study's Notebook 07); BERTScore and the LLM-judge results are more informative for assessing this model.
Reproducibility: Trained on a fixed 100,000-pair subset of BanglaParaphrase with a documented train/val/test split (see processed_data/metadata.json in the GitHub repo); decoding was fully deterministic (greedy, do_sample=False), so generation outputs are reproducible given the same checkpoint and inputs.
If you use this model, please cite both the original TigerLLM/BanglaParaphrase work and this study:
@inproceedings{raihan-zampieri-2025-tigerllm,
title = "{T}iger{LLM} - A Family of {B}angla Large Language Models",
author = "Raihan, Nishat and Zampieri, Marcos",
booktitle = "Proceedings of the 63rd Annual Meeting of the Association for Computational Linguistics (Volume 2: Short Papers)",
year = "2025",
publisher = "Association for Computational Linguistics",
url = "https://aclanthology.org/2025.acl-short.69/"
}
@misc{banglaparaphrase2022,
title={BanglaParaphrase: A High-Quality Bengali Paraphrase Dataset},
author={Akil, Ajwad and others},
year={2022}
}
See the project GitHub repository for the full paper, code, and citation for this study.