Qwen3.5-2B Video LoRA
an adapter for short video analysis and question answering
2 min readupdated
This LoRA adapter (a small add-on layer for a base model) extends the capabilities of the Qwen/Qwen3.5-2B language model for video tasks. The model is trained to answer multiple-choice questions about short video clips: it identifies crowd counts, activity levels, movement speed, object presence, or event sequences. The adapter was created via knowledge distillation from a larger teacher model and delivers excellent results on the specialized MEVA and Perception Test datasets.
Key features
- Processes video at 2 frames per second with resolutions up to 64 frames.
- Significant accuracy boost compared to the base version (79.6% vs 64.3%).
- Trained using KL divergence loss on the teacher model's response distributions.
- Specialized in counting people, evaluating activity, speed, and temporal sequencing.
What you can do
- Integrate it into video analytics pipelines to automatically answer questions about what is happening in a frame.
- Use it for benchmarking open-source video question answering (Video QA) models.
- Perform automated analysis of scenes, crowd levels, and movement across security camera feeds.
Example
Example code for running inference using the transformers and peft libraries:
import torch
from peft import PeftModel
from transformers import AutoModelForImageTextToText, AutoProcessor
base = "Qwen/Qwen3.5-2B"
processor = AutoProcessor.from_pretrained(base)
model = AutoModelForImageTextToText.from_pretrained(base, torch_dtype=torch.bfloat16, device_map="auto")
model = PeftModel.from_pretrained(model, "parth-apti/qwen3.5-2b-video-jev-lora").eval()
Read more
DetailsGold set accuracy: 79.6% (vs 64.3% for base).
Brier score: 0.304 (lower is better).
Training: LoRA r=16 on the language model, 2 epochs, lr 1e-4.
License: Apache 2.0.








Comments