Downloads · 30 days
3
14% of all-time downloads
bhaskar1707/smolvlm2-bangla-bayanno-lora
smolvlm2-bangla-bayanno-lora is a machine learning model from bhaskar1707. Use it for the machine learning task on the model card, and read the license before you ship it in a product. It is set up for peft. The card lists the license as apache-2.0.
LoRA adapter for HuggingFaceTB/SmolVLM2-2.2B-Instruct, fine-tuned for Bengali Visual Question Answering on the Bangla-Bayanno dataset.
Downloads · 30 days
3
14% of all-time downloads
All-time downloads
22
Public
Repo size
113 MB
Likes
0
Public
Click a slice to open those files.
.safetensors108 MB · 93%
From the Hugging Face model README
LoRA adapter for HuggingFaceTB/SmolVLM2-2.2B-Instruct,
fine-tuned for Bengali Visual Question Answering on the
Bangla-Bayanno dataset.
Trained on a single Colab T4 GPU (16GB) with a constrained time/step budget (LoRA r=16, False QLoRA, fp16, image-splitting disabled for speed).
| Metric | Base SmolVLM2 | BanglaVLM-v1 (this adapter) |
|---|---|---|
| Exact Match | 0.3067 | 0.3347 |
| Normalized Exact Match | 0.3067 | 0.3351 |
| ROUGE-L | 0.3122 | 0.3417 |
Per-answer-type breakdown (BanglaVLM-v1):
| Type | n | Accuracy |
|---|---|---|
| descriptive | 2514 | 0.1508 |
| polar | 1841 | 0.5665 |
| numeric | 649 | 0.3991 |
Caveats: Trained on a ~7,000-example subset (not the full 42k+ train split) for ~1,000 optimizer steps to fit Colab's free-tier time/session limits. Descriptive-answer accuracy remains low; do not extrapolate beyond these measured numbers.
from transformers import AutoProcessor, AutoModelForImageTextToText
from peft import PeftModel
import torch
base = AutoModelForImageTextToText.from_pretrained(
"HuggingFaceTB/SmolVLM2-2.2B-Instruct", torch_dtype=torch.float16
)
model = PeftModel.from_pretrained(base, "bhaskar1707/smolvlm2-bangla-bayanno-lora")
processor = AutoProcessor.from_pretrained("bhaskar1707/smolvlm2-bangla-bayanno-lora", do_image_splitting=False)
Dataset analysis (answer-type distribution, question/answer length, split sizes)

GPU utilization / VRAM usage during training

Baseline vs fine-tuned comparison, accuracy by answer type

| # | Image | Question (বাংলা) | Reference Answer | Predicted Answer | Type | Correct |
|---|---|---|---|---|---|---|
| 1 | ![]() | গাড়িতে কতজন লোক আছে? | ২ | ২ | numeric | ✅ |
| 2 | ![]() | এটি কি যুক্তরাষ্ট্রে? | না | না | polar | ✅ |
| 3 | ![]() | প্লেটটির রঙ কি? | সাদা | সাদা | descriptive | ✅ |
| 4 | ![]() | সে কিসের উপর দাঁড়িয়ে আছে? | স্নোবোর্ড | স্কিইং | descriptive | ❌ |
| 5 | ![]() | আপনি কোন ব্র্যান্ডের মশলা দেখতে পাচ্ছেন? | আর্গো | টেনিস | descriptive | ❌ |