Instructions to use gaon0427/VideoSSR-Qwen3-VL-8B with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use gaon0427/VideoSSR-Qwen3-VL-8B with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-text-to-text", model="gaon0427/VideoSSR-Qwen3-VL-8B")# Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("gaon0427/VideoSSR-Qwen3-VL-8B", device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use gaon0427/VideoSSR-Qwen3-VL-8B with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "gaon0427/VideoSSR-Qwen3-VL-8B" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "gaon0427/VideoSSR-Qwen3-VL-8B", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'Use Docker
docker model run hf.co/gaon0427/VideoSSR-Qwen3-VL-8B
- SGLang
How to use gaon0427/VideoSSR-Qwen3-VL-8B with SGLang:
Install from pip and serve model
# Install SGLang from pip: pip install sglang # Start the SGLang server: python3 -m sglang.launch_server \ --model-path "gaon0427/VideoSSR-Qwen3-VL-8B" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "gaon0427/VideoSSR-Qwen3-VL-8B", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'Use Docker images
docker run --gpus all \ --shm-size 32g \ -p 30000:30000 \ -v ~/.cache/huggingface:/root/.cache/huggingface \ --env "HF_TOKEN=<secret>" \ --ipc=host \ lmsysorg/sglang:latest \ python3 -m sglang.launch_server \ --model-path "gaon0427/VideoSSR-Qwen3-VL-8B" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "gaon0427/VideoSSR-Qwen3-VL-8B", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }' - Docker Model Runner
How to use gaon0427/VideoSSR-Qwen3-VL-8B with Docker Model Runner:
docker model run hf.co/gaon0427/VideoSSR-Qwen3-VL-8B
VideoSSR Qwen3-VL-8B
Two independently trained Qwen3-VL-8B-Instruct checkpoints from the official VideoSSR training recipe and the VideoSSR-30K dataset.
The two checkpoints are stored in separate subfolders:
r001: training run 1, global step 468r002: training run 2, global step 468
Both runs started from the same base model and are independent runs. They are not sequential checkpoints of one training run.
Loading
from transformers import AutoProcessor, Qwen3VLForConditionalGeneration
repo_id = "gaon0427/VideoSSR-Qwen3-VL-8B"
run = "r001" # or "r002"
processor = AutoProcessor.from_pretrained(repo_id, subfolder=run)
model = Qwen3VLForConditionalGeneration.from_pretrained(
repo_id,
subfolder=run,
torch_dtype="auto",
device_map="auto",
)
Training configuration
- Algorithm: GRPO with rule-based VideoSSR rewards
- Base model: Qwen3-VL-8B-Instruct
- Training samples: 30,000
- Sample representation: 48 video frames
- Train batch size: 64
- Rollouts per prompt: 8
- Learning rate: 1e-6
- Epochs: 1 (468 global steps)
- GPUs: 8
- Maximum prompt length: 8,192
- Maximum response length: 2,048
- Actor KL loss coefficient: 0.001
- Critic/value model: disabled
The original verl metrics use the critic/score/* and critic/rewards/*
names for rule-based reward statistics even though no critic model is trained.
Runs
No downstream benchmark results are claimed in this repository yet.
Source
- VideoSSR code commit:
b0d2acb7bb040adb40bcd308e68f9c3bc2ca0699 - VideoSSR paper/repository: https://github.com/lcqysl/VideoSSR
Model tree for gaon0427/VideoSSR-Qwen3-VL-8B
Base model
Qwen/Qwen3-VL-8B-Instruct