NTT-hil-insight/SlideVQA
Viewer • Updated • 14.5k • 937 • 17
How to use saad1926q/lfm2.5-vl-slidevqa-lora with PEFT:
Task type is invalid.
How to use saad1926q/lfm2.5-vl-slidevqa-lora with Unsloth Studio:
curl -fsSL https://unsloth.ai/install.sh | sh # Run unsloth studio unsloth studio -H 0.0.0.0 -p 8888 # Then open http://localhost:8888 in your browser # Search for saad1926q/lfm2.5-vl-slidevqa-lora to start chatting
irm https://unsloth.ai/install.ps1 | iex # Run unsloth studio unsloth studio -H 0.0.0.0 -p 8888 # Then open http://localhost:8888 in your browser # Search for saad1926q/lfm2.5-vl-slidevqa-lora to start chatting
# No setup required # Open https://huggingface.co/spaces/unsloth/studio in your browser # Search for saad1926q/lfm2.5-vl-slidevqa-lora to start chatting
pip install unsloth
from unsloth import FastModel
model, tokenizer = FastModel.from_pretrained(
model_name="saad1926q/lfm2.5-vl-slidevqa-lora",
max_seq_length=2048,
)LoRA adapter for LiquidAI/LFM2.5-VL-1.6B, fine-tuned on the SlideVQA training split.
This adapter was trained with Unsloth for multi-slide document VQA.
Dataset: NTT-hil-insight/SlideVQA
Training split size:
Training tasks:
Framework: Unsloth + PEFT LoRA
Approximate config:
model: LiquidAI/LFM2.5-VL-1.6B
LoRA rank: 16
LoRA alpha: 16
vision layers: frozen
language layers: LoRA-tuned
attention modules: LoRA-tuned
MLP modules: LoRA-tuned
learning rate: 1e-4
max sequence length: 4096
precision: fp16/bf16 depending on hardware
import torch
from peft import PeftModel
from transformers import AutoModelForImageTextToText, AutoProcessor
base_model = "LiquidAI/LFM2.5-VL-1.6B"
adapter = "saad1926q/lfm2.5-vl-slidevqa-lora"
processor = AutoProcessor.from_pretrained(base_model, trust_remote_code=True)
model = AutoModelForImageTextToText.from_pretrained(
base_model,
torch_dtype=torch.bfloat16,
trust_remote_code=True,
).to("cuda")
model = PeftModel.from_pretrained(model, adapter).eval()
This is a task-specific LoRA adapter, not a standalone model. Load it on top of LiquidAI/LFM2.5-VL-1.6B.
The adapter is intended for research on multi-slide document VQA and SlideVQA-style tasks.