Views
No views yet
OmniLong-Qwen2.5-VL-7B is an enhanced multimodal language model fine tuned from the Qwen2.5-VL-7B-Instruct architecture, featuring significantly extended long context capabilities across both text and visual modalities. Developed through the OmniLong: A Resource-Effective Context Scaling Framework for Multimodal LLM Fine-tuning, this model shows effective context length scaling in multimodal LLMs while reducing computational requirements through advanced sequence parallelism and strategic CPU-GPU memory management. The model demonstrates superior performance on temporal reasoning and dense captioning tasks, as evidenced by its notable results on the VideoMME leaderboard. OmniLong-Qwen2.5-VL-7B enables processing of high-frame-rate videos and lengthy documents with greater performance than baseline approaches, making state-of-the-art multimodal AI capabilities more accessible to researchers and practitioners.
OmniLong-Qwen2.5-VL-7B scored averagely 97.55% on this NIAH benchmark across different numbers of frame depths and frames shown in this plot.OmniLong-Qwen2.5-VL-7B retains SOTAs on both perception and cognition evaluation.| Models | mme_cognition_score | mme_percetion_score |
|---|---|---|
| OmniLong-Qwen2.5-VL-7B | 642.85 | 1599.28 |
| Qwen2.5-VL-7B-Instruct | 629.64 | 1691.36 |
OmniLong-Qwen2.5-VL-7B scored a overall 67.9% with subtitles and 73.4% with as shown in this table (adapted from the VideoMME Leaderboard), which makes it the SOTA for 7B models.| Models | LLM Params | Overall (%) - w/o subs | Overall (%) - w subs |
|---|---|---|---|
| OmniLong-Qwen2_5-VL-7B | 7B | 67.9 | 73.4 |
| Qwen2.5-VL-7B-Instruct | 7B | 65.1 | 71.6 |
| LongVA | 7B | 52.6 | 54.3 |
| VideoLLaMA 2 | 7B | 47.9 | 50.3 |
| ShareGemini | 7B | 43.2 | 47.9 |
| Chat-UniVi-v1.5 | 7B | 40.6 | 45.9 |
| VideoChat2-Mistral | 7B | 39.5 | 43.8 |
| ST-LLM | 7B | 37.9 | 42.3 |
| Qwen-VL-Chat | 7B | 41.1 | 41.9 |
| Video-LLaVA | 7B | 39.9 | 41.6 |
OmniLong-Qwen2_5-VL-7B's long context capability by understanding videos. This can be useful for onboarding new developers.
#git clone https://github.com/awslabs/extending-the-context-length-of-open-source-llms.git
git clone https://github.com/yinsong1986/extending-the-context-length-of-open-source-llms.git
cd extending-the-context-length-of-open-source-llms
conda create -n OmniLong-Qwen2_5-VL-7B python=3.10 -y
conda activate OmniLong-Qwen2_5-VL-7B
pip install torch
pip install -r OmniLong-Qwen2.5-VL-7B/demo/requirements.txt
python OmniLong-Qwen2.5-VL-7B/demo/demo_video_understanding.pyhttp://localhost:6006 or https://xxxxxxxxxxxx.gradio.live if share=Ture is enabled in demo/demo_video_understanding.py.Qwen2.5-VL-7B-Instruct, enabling straightforward usage of the model similar to Qwen2.5-VL-7B-Instruct.g6e.12xlarge or larger instance, install vLLM as per vLLM docs.pip install vllmvllm serve aws-prototyping/OmniLong-Qwen2.5-VL-7B --tensor-parallel-size 4OmniLong-Qwen2.5-VL-7B model, it is important to perform your own independent assessment, and take measures to ensure that your use would comply with your own specific quality control practices and standards, and that your use would comply with the local rules, laws, regulations, licenses and terms that apply to you, and your content.@misc{OmniLong-Qwen2.5-VL-7B-2025,
author = { {Yin Song and Chen Wu} },
title = { {aws-prototyping/OmniLong-Qwen2.5-VL-7B} },
year = 2025,
url = { https://huggingface.co/aws-prototyping/OmniLong-Qwen2.5-VL-7B },
publisher = { Hugging Face }
}