Skip to content

OpenGVLab/VideoChat-Flash

Repository files navigation

Xinhao Li, Yi Wang, Jiashuo Yu, Xiangyu Zeng, Yuhan Zhu, Haian Huang, Jianfei Gao, Kunchang Li, Yinan He, Chenting Wang, Yu Qiao, Yali Wang, and Limin Wang

🤗 Model & Data    |   🖥️ Demo    |    📑 Paper    |    🌐 Blog

🔥 Updates

  • 2026/07/17: 🚀🚀 We release VideoChat3, a fully open, efficient 4B Video MLLM for general, long-form, and streaming video understanding. VideoChat3 improves 18/19 offline and 10/11 streaming metrics over Qwen3-VL-4B. We release the model weights, code, training recipes, and complete datasets. Check out our paper and homepage!
  • 2025/06/13: 🎉🎉🎉Our model achieves promising results on the VideoEval-Pro benchmark focused on long video understanding!
  • 2025/05/10:🔥🔥🔥 We release most video of our training data, Hope it can be of help to you!
  • 2025/03/27:🔥🔥 We release our dataset and evaluation codes for single-hop and multi-hop needle-in-a-haystack!
  • 2025/03/09:🔥🔥 We release our weights of each training stage here, try to build your VideoChat-Flash on them!
  • 2025/02/25:🔥🔥 We release our training data, training codes based LLaVA for VideoChat-Flash and training codes based XTuner for finetuning InternVideo2.5.
  • 2025/02/12: 🎉🎉🎉Our VideoChat-Flash-7B@448 has achieved first place on the latest Video Detail Caption Benchmark, AuroraCap.
  • 2025/01/15: We provide evaluation codes for QA & Grounding Benchmark.
  • 2025/01/12: 🔥🔥🔥Release VideoChat2-Flash, a powerfull MLLM built on video encoder (InternVideo) and LLM (Qwen).

📑 Future Plan

  • lmdeploy/vllm support for Videochat-Flash and InternVideo2.5
  • LoRA finetuning training code for Videochat-Flash and InternVideo2.5
  • Mixing image/video training code for InternVideo2.5
  • Faster training code with XTuner for VideoChat-Flash

As I am currently very busy with work and find it difficult to complete the above plans quickly, I sincerely ask friends in the community to join in and submit a PR.

🦜 Introduction

🚀State-of-the-art performance in short and long video understanding, with temporal localization capabilities comparable to expert models. alt text 🔭Supports ultra-long video inputs, achieving a groundbreaking needle-in-a-haystack evaluation accuracy of 99.1% on 10,000 frames, capable of processing videos up to three hours long. alt text ⚡Highly efficient model architecture with exceptional inference speed, encoding each video frame into just 16 tokens, making it 5–10 times faster than the previous model. alt text

Demo & Inference

Refer to hf README to inference our model.

Evaluation

See evaluation codes. And lmms-eval have supported our model, you also could use it to evaluate our model on varous benchmarks.

Training

See training codes based LLaVA for VideoChat-Flash and training codes based XTuner for finetuning InternVideo2.5.

📊 NIAH

alt text

See xtuner-eval_niah for evaluation of Single-Hop NIAH-Video and Multi-Hop NIAH-Video.

📄 Citation

If you find this project useful in your research, please consider cite:

@article{li2024videochat,
  title={VideoChat-Flash: Hierarchical Compression for Long-Context Video Modeling},
  author={Li, Xinhao and Wang, Yi and Yu, Jiashuo and Zeng, Xiangyu and Zhu, Yuhan and Huang, Haian and Gao, Jianfei and Li, Kunchang and He, Yinan and Wang, Chenting and Qiao, Yu and Wang, Yali and Wang, Limin},
  journal={arXiv preprint arXiv:2501.00574},
  year={2024}
}

💫 Acknowledgement

Thanks to the open source of the following projects: InternVideo, UMT, Qwen, LLaVA-VL, lmms-eval, Ask-Anything, ToMe, LongVLM, FastV, LLaVolta, PyramidDrop, LongVA, their implementation provides valuable reference experience for our project.

About

[ICLR2026] VideoChat-Flash: Hierarchical Compression for Long-Context Video Modeling

Resources

License

Stars

525 stars

Watchers

21 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors