InternVL README

The project's README from github.com/OpenGVLab/InternVL. As one markdown file: README.md.

InternVL Family: Closing the Gap to Commercial Multimodal Models with Open-Source Suites —— A Pioneering Open-Source Alternative to GPT-5

image

[🆕 Blog] [🤔 FAQs] [🗨️ Chat Demo] [📖 Document] [🌐 API] [🚀 Quick Start]

[🔥 InternVL3.5 Report] [📜 InternVL3.0 Report] [📜 InternVL2.5 MPO] [📜 InternVL2.5 Report]

[📜 Mini-InternVL Paper] [📜 InternVL2 Blog] [📜 InternVL 1.5 Paper] [📜 InternVL 1.0 Paper]

[📖 2.0 中文解读] [📖 1.5 中文解读] [📖 1.0 中文解读]

Switch to the Chinese version (切换至中文版)

OpenGVLab%2FInternVL | Trendshift image

image/jpg

News 🚀🚀🚀

More News
  • 2024/10/21: We release the Mini-InternVL series. These models achieve impressive performance with minimal size: the 4B model achieves 90% of the performance with just 5% of the model size. For more details, please check our project page and document.
  • 2024/08/01: The Chartmimic team evaluated the InternVL2 series models on their benchmark. The InternVL2-26B and 76B models achieved the top two performances among open-source models, with the InternVL2 76B model surpassing GeminiProVision and exhibiting comparable results to Claude-3-opus.
  • 2024/08/01: InternVL2-Pro achieved the SOTA performance among open-source models on the CharXiv dataset, surpassing many closed-source models such as GPT-4V, Gemini 1.5 Flash, and Claude 3 Sonnet.
  • 2024/07/24: The MLVU team evaluated InternVL-1.5 on their benchmark. The average performance on the multiple-choice task was 50.4%, while the performance on the generative tasks was 4.02. The performance on the multiple-choice task ranked #1 among all open-source MLLMs.
  • 2024/07/04: We release the InternVL2 series. InternVL2-Pro achieved a 62.0% accuracy on the MMMU benchmark, matching the performance of leading closed-source commercial models like GPT-4o.
  • 2024/07/18: InternVL2-40B achieved SOTA performance among open-source models on the Video-MME dataset, scoring 61.2 when inputting 16 frames and 64.4 when inputting 32 frames. It significantly outperforms other open-source models and is the closest open-source model to GPT-4o mini.
  • 2024/07/18: InternVL2-Pro achieved the SOTA performance on the DocVQA and InfoVQA benchmarks.
  • 2024/06/19: We propose Needle In A Multimodal Haystack (MM-NIAH), the first benchmark designed to systematically evaluate the capability of existing MLLMs to comprehend long multimodal documents.
  • 2024/05/30: We release ShareGPT-4o, a large-scale dataset that we plan to open-source with 200K images, 10K videos, and 10K audios with detailed descriptions.
  • 2024/05/28: Thanks to the lmdeploy team for providing AWQ quantization support. The 4-bit model is available at OpenGVLab/InternVL-Chat-V1-5-AWQ.
  • 2024/05/13: InternVL 1.0 can now be used as the text encoder for diffusion models to support multilingual generation natively in over 110 languages worldwide. See MuLan for more details.
  • 2024/04/18: InternVL-Chat-V1-5 has been released at HF link, approaching the performance of GPT-4V and Gemini Pro on various benchmarks like MMMU, DocVQA, ChartQA, MathVista, etc.
  • 2024/02/27: InternVL is accepted by CVPR 2024 (Oral)! 🎉
  • 2024/02/21: InternVL-Chat-V1-2-Plus achieved SOTA performance on MathVista (59.9), MMBench (83.8), and MMVP (58.7). See our blog for more details.
  • 2024/02/12: InternVL-Chat-V1-2 has been released. It achieves 51.6 on MMMU val and 82.3 on MMBench test. For more details, please refer to our blog and SFT data. The model is now available on HuggingFace, and both training / evaluation data and scripts are open-sourced.
  • 2024/01/24: InternVL-Chat-V1-1 is released, it supports Chinese and has stronger OCR capability, see here.
  • 2024/01/16: We release our customized mmcv/mmsegmentation/mmdetection code, integrated with DeepSpeed, which can be used for training large-scale detection and segmentation models.

Documents

🌟 Get Started

🏆 InternVL Family

Model Zoo

Multimodal Large Language Model (InternVL 3.5)

To maintain consistency with earlier generations, we provide two model formats: the GitHub format, consistent with prior releases, and the HF format, aligned with the official Transformers standard.

If you want to convert the checkpoint between these two formats, please refer to the scripts about custom2hf and hf2custom.

Github Format

Model #Vision Param #Language Param #Total Param HF Link ModelScope Link
InternVL3.5-1B 0.3B 0.8B 1.1B 🤗 link 🤖 link
InternVL3.5-2B 0.3B 2.0B 2.3B 🤗 link 🤖 link
InternVL3.5-4B 0.3B 4.4B 4.7B 🤗 link 🤖 link
InternVL3.5-8B 0.3B 8.2B 8.5B 🤗 link 🤖 link
InternVL3.5-14B 0.3B 14.8B 15.1B 🤗 link 🤖 link
InternVL3.5-38B 5.5B 32.8B 38.4B 🤗 link 🤖 link
InternVL3.5-20B-A4B 0.3B 20.9B 21.2B-A4B 🤗 link 🤖 link
InternVL3.5-30B-A3B 0.3B 30.5B 30.8B-A3B 🤗 link 🤖 link
InternVL3.5-241B-A28B 5.5B 235.1B 240.7B-A28B 🤗 link

InternVL (OpenGVLab/InternVL)

Searching Database…

10.2K ·GitHub
这是什么?一组开源的多模态对话模型,能理解图像、视频和文本,定位为 GPT-4o 的开源替代品。InternVL2.5-78B 是首个在 MMMU 基准测试上得分超过 70% 的开源模型。
这个仓库放的是模型本身,还是围绕模型的代码?这个仓库是一个中心:包含训练、评估和部署代码,以及一个模型仓库(model zoo)。实际的模型权重从 1B 到 241B 参数不等,通过仓库里提供的 HuggingFace 或 ModelScope 链接下载。
我怎样才能把它跑起来,先聊上第一次?按照安装指南(Installation Guide)从 requirements.txt 安装 Python 依赖,从 HuggingFace 下载一个检查点(checkpoint),然后用 transformers 的快速上手方式——或者启动自带的 Streamlit 演示,在本地直接对话。
下载检查点之前有什么要注意的坑吗?检查点有两种格式:早期的 GitHub 格式和官方的 transformers 标准 HF 格式。如果加载失败,可以用 custom2hf 和 hf2custom 这两个脚本在两种格式之间转换。
所有东西都在本地运行吗?我的图片会不会被传到服务器?你下载模型权重,在自己的硬件上运行——仓库甚至自带一个本地 Streamlit 聊天演示,所以图片完全不用离开你的电脑。
这些模型有多大?我的显卡带得动吗?模型规模从 1.1B 一直到 241B-A28B 的 MoE 模型,还有 20B-A4B、30B-A3B 这类中等规模的 MoE 版本。1B-8B 的小模型适合普通显卡,大模型也有 4-bit AWQ 量化版本可用。
它在图像和视频方面到底能做什么?可以做 OCR、文档和图表理解(在 DocVQA 和 InfoVQA 上是开源模型中的最佳水平)、视频问答、图像分类、语义分割、图文检索,3.5 这一代还支持智能体(agent)任务。
这个系列最新的模型是哪个?InternVL3.5,2025 年 8 月发布。其中最大的 InternVL3.5-241B-A28B 在通用多模态、推理、文本和智能体任务上是开源 MLLM 中的顶尖水平;还有一个 20B-A4B 版本基于 GPT-OSS-20B 构建。
除了模型权重,还开源了哪些东西?CascadeRL(一套离线加在线的强化学习流程)的训练代码,以及 MMPR-v1.2 和 MMPR-Tiny 偏好数据集;VisualPRM 8B 过程奖励模型及其 VisualPRM400K 数据;还有 ShareGPT-4o:包含 20 万张图片、1 万个视频和 1 万段音频及对应的描述。
我可以用自己的数据对它做微调吗?可以——每一代模型都附带微调指南,包括针对 COCO 图像描述任务的 LoRA 教程,MPO 训练流程及其数据构建脚本也都是公开的。
Creator
OpenGVLab
Size
39.6 MB
Stars
10.2K
Age
2y
Commits · 90 Days