SuperAPIAI Directory

Open-R1-Video

github.com · AI video

Open-R1-Video is the first open-source R1-like video large language model project, aiming to introduce the R1 reinforcement learning paradigm into video understanding tasks. The project is based on the Qwen2-VL-7B-Instruct model and uses GRPO (pure reinforcement learning, without annotated reasoning traces) for training on 4 A100 (80G) GPUs, with training data consisting only of videos, questions, and the correct answer option letters. The project has open-sourced the training code, data (open-r1-video-4k), as well as inference scripts and evaluation results, and has released the temporary model Open-R1-Video-7B. This model improves video understanding capabilities through forced-thinking GRPO training, and the training process is recorded in Wandb logs for reference. The project also provides a data reformatting tool, a method for evaluation using Lmms-eval, and supports single-GPU A100 training.

Open website Alternatives
PricingOpen source开源项目(可免费自部署)

About this tool

Open-R1-Video is an open-source project that introduces the R1 paradigm into video understanding tasks, published on GitHub by Wang-Xiaodong1899. The project open-sourced the training code and data on February 18, 2025, and released the temporary model Open-R1-Video-7B, inference scripts, and evaluation results on February 22.

Purpose: Open-R1-Video aims to apply the reinforcement learning paradigm used in DeepSeek-R1 and huggingface/open-r1 to video multimodal large language models (Video-LMM, such as Qwen2-VL), enabling the model to produce a thinking process in video understanding tasks through GRPO training, thereby improving understanding capabilities.

Main capabilities: The project verifies that "forced-thinking GRPO training can improve video understanding." It is based on Qwen2-VL-7B-Instruct and, on the simple video dataset open-r1-video-4k, is trained using only videos, queries, and the correct answer letters, without relying on annotated reasoning traces. The project has open-sourced the complete training code, data, and inference scripts, and provides evaluation results and Wandb training logs.

Usage: The training command is configured for 4 A100 (80GB) GPUs, and can also be modified for single-GPU A100 (80G) training. The project provides qwen-7b.sh as a detailed reference for running GRPO on Qwen2-VL-7B. For data, an easy reformat method is provided; refer to format_video_data.py to obtain data for GRPO training; the simply reformatted data is in open-r1-video-4k, and the video data is in LLaVA-Video-large-swift. Evaluation uses Lmms-eval.

Applicable scenarios: Suitable for research and development of video understanding and multimodal reasoning models, especially scenarios where it is desired to improve performance on tasks such as video question answering through reinforcement learning (GRPO).

Limitations: The project explicitly states that its insights "may not be guaranteed to be correct," but promises to share honestly and welcomes community feedback and discussion. In the 7B model training, format accuracy was removed, and slight modifications were made to final answer matching to calculate the accuracy reward. Different hardware and topologies may require adjusting batch size and gradient accumulation steps.

Up/Down to navigate · Enter to open · ESC to closeBrowse all tools