Instructions to use yzk9/accident-vlm-t8-sapo-v4b-qwen3vl8b-lora with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use yzk9/accident-vlm-t8-sapo-v4b-qwen3vl8b-lora with PEFT:
from peft import PeftModel from transformers import AutoModelForCausalLM base_model = AutoModelForCausalLM.from_pretrained("/workspace/models/Qwen3-VL-8B-Instruct") model = PeftModel.from_pretrained(base_model, "yzk9/accident-vlm-t8-sapo-v4b-qwen3vl8b-lora") - Notebooks
- Google Colab
- Kaggle
Accident-VLM T8-SAPO-v4b Qwen3-VL-8B LoRA Adapter
This repository contains a LoRA adapter trained for traffic accident temporal grounding.
Base model
- Base model:
Qwen/Qwen3-VL-8B-Instruct - Adapter type: LoRA
- Training framework: ms-swift
- Main task: accident temporal grounding
- Output format:
{"has_accident": true, "accident_time_sec": 2.70}
Intended use
This adapter estimates the first clear impact time in traffic accident videos. It was trained for the ACCIDENT-style traffic accident video understanding setting.
Inference example
export IMAGE_MAX_TOKEN_NUM=1024
export VIDEO_MAX_TOKEN_NUM=512
export FPS_MAX_FRAMES=128
export FPS=4
export FORCE_QWENVL_VIDEO_READER=torchcodec
swift infer \
--model Qwen/Qwen3-VL-8B-Instruct \
--adapters <this_repo_or_local_adapter_path> \
--val_dataset path/to/infer.jsonl \
--max_new_tokens 64 \
--temperature 0 \
--result_path infer_results.jsonl
- Downloads last month
- 7
Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support
Model tree for yzk9/accident-vlm-t8-sapo-v4b-qwen3vl8b-lora
Base model
Qwen/Qwen3-VL-8B-Instruct