Upload folder using huggingface_hub
Browse files
README.md
CHANGED
@@ -9,6 +9,8 @@ pipeline_tag: image-text-to-text
|
|
9 |
|
10 |
[\[🗨️ Chat Demo\]](https://internvl.opengvlab.com/) [\[🤗 HF Demo\]](https://huggingface.co/spaces/OpenGVLab/InternVL) [\[🚀 Quick Start\]](#quick-start) [\[📖 中文解读\]](https://zhuanlan.zhihu.com/p/706547971) \[🌟 [魔搭社区](https://modelscope.cn/organization/OpenGVLab) | [教程](https://mp.weixin.qq.com/s/OUaVLkxlk1zhFb1cvMCFjg) \]
|
11 |
|
|
|
|
|
12 |
## Introduction
|
13 |
|
14 |
We are excited to announce the release of InternVL 2.0, the latest addition to the InternVL series of multimodal large language models. InternVL 2.0 features a variety of **instruction-tuned models**, ranging from 1 billion to 108 billion parameters. This repository contains the instruction-tuned InternVL2-26B model.
|
@@ -17,6 +19,16 @@ Compared to the state-of-the-art open-source multimodal large language models, I
|
|
17 |
|
18 |
InternVL 2.0 is trained with an 8k context window and utilizes training data consisting of long texts, multiple images, and videos, significantly improving its ability to handle these types of inputs compared to InternVL 1.5. For more details, please refer to our blog and GitHub.
|
19 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
20 |
## Model Details
|
21 |
|
22 |
InternVL 2.0 is a multimodal large language model series, featuring models of various sizes. For each size, we release instruction-tuned models optimized for multimodal tasks. InternVL2-26B consists of [InternViT-6B-448px-V1-5](https://huggingface.co/OpenGVLab/InternViT-6B-448px-V1-5), an MLP projector, and [internlm2-chat-20b](https://huggingface.co/internlm/internlm2-chat-20b).
|
@@ -25,27 +37,28 @@ InternVL 2.0 is a multimodal large language model series, featuring models of va
|
|
25 |
|
26 |
### Image Benchmarks
|
27 |
|
28 |
-
|
|
29 |
-
|
|
30 |
-
|
|
31 |
-
|
|
32 |
-
|
|
33 |
-
|
|
34 |
-
|
|
35 |
-
|
|
36 |
-
|
|
37 |
-
|
|
38 |
-
|
|
39 |
-
|
|
40 |
-
|
|
41 |
-
|
|
42 |
-
|
|
43 |
-
|
|
44 |
-
|
|
45 |
-
|
|
46 |
-
|
|
47 |
-
|
|
48 |
-
|
|
|
|
49 |
|
50 |
- We simultaneously use InternVL and VLMEvalKit repositories for model evaluation. Specifically, the results reported for DocVQA, ChartQA, InfoVQA, TextVQA, MME, AI2D, MMBench, CCBench, MMVet, and SEED-Image were tested using the InternVL repository. OCRBench, RealWorldQA, HallBench, and MathVista were evaluated using the VLMEvalKit.
|
51 |
|
@@ -583,6 +596,16 @@ If you find this project useful in your research, please consider citing:
|
|
583 |
|
584 |
InternVL 2.0 使用 8k 上下文窗口进行训练,训练数据包含长文本、多图和视频数据,与 InternVL 1.5 相比,其处理这些类型输入的能力显著提高。更多详细信息,请参阅我们的博客和 GitHub。
|
585 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
586 |
## 模型细节
|
587 |
|
588 |
InternVL 2.0 是一个多模态大语言模型系列,包含各种规模的模型。对于每个规模的模型,我们都会发布针对多模态任务优化的指令微调模型。InternVL2-26B 包含 [InternViT-6B-448px-V1-5](https://huggingface.co/OpenGVLab/InternViT-6B-448px-V1-5)、一个 MLP 投影器和 [internlm2-chat-20b](https://huggingface.co/internlm/internlm2-chat-20b)。
|
@@ -591,27 +614,28 @@ InternVL 2.0 是一个多模态大语言模型系列,包含各种规模的模
|
|
591 |
|
592 |
### 图像相关评测
|
593 |
|
594 |
-
|
|
595 |
-
|
|
596 |
-
|
|
597 |
-
|
|
598 |
-
|
|
599 |
-
|
|
600 |
-
|
|
601 |
-
|
|
602 |
-
|
|
603 |
-
|
|
604 |
-
|
|
605 |
-
|
|
606 |
-
|
|
607 |
-
|
|
608 |
-
|
|
609 |
-
|
|
610 |
-
|
|
611 |
-
|
|
612 |
-
|
|
613 |
-
|
|
614 |
-
|
|
|
|
615 |
|
616 |
- 我们同时使用 InternVL 和 VLMEvalKit 仓库进行模型评估。具体来说,DocVQA、ChartQA、InfoVQA、TextVQA、MME、AI2D、MMBench、CCBench、MMVet 和 SEED-Image 的结果是使用 InternVL 仓库测试的。MMMU、OCRBench、RealWorldQA、HallBench 和 MathVista 是使用 VLMEvalKit 进行评估的。
|
617 |
|
|
|
9 |
|
10 |
[\[🗨️ Chat Demo\]](https://internvl.opengvlab.com/) [\[🤗 HF Demo\]](https://huggingface.co/spaces/OpenGVLab/InternVL) [\[🚀 Quick Start\]](#quick-start) [\[📖 中文解读\]](https://zhuanlan.zhihu.com/p/706547971) \[🌟 [魔搭社区](https://modelscope.cn/organization/OpenGVLab) | [教程](https://mp.weixin.qq.com/s/OUaVLkxlk1zhFb1cvMCFjg) \]
|
11 |
|
12 |
+
[切换至中文版](#简介)
|
13 |
+
|
14 |
## Introduction
|
15 |
|
16 |
We are excited to announce the release of InternVL 2.0, the latest addition to the InternVL series of multimodal large language models. InternVL 2.0 features a variety of **instruction-tuned models**, ranging from 1 billion to 108 billion parameters. This repository contains the instruction-tuned InternVL2-26B model.
|
|
|
19 |
|
20 |
InternVL 2.0 is trained with an 8k context window and utilizes training data consisting of long texts, multiple images, and videos, significantly improving its ability to handle these types of inputs compared to InternVL 1.5. For more details, please refer to our blog and GitHub.
|
21 |
|
22 |
+
| Model Name | Vision Part | Language Part | HF Link | MS Link |
|
23 |
+
| :------------------: | :---------------------------------------------------------------------------------: | :------------------------------------------------------------------------------------------: | :--------------------------------------------------------------: | :--------------------------------------------------------------------: |
|
24 |
+
| InternVL2-1B | [InternViT-300M-448px](https://huggingface.co/OpenGVLab/InternViT-300M-448px) | [Qwen2-0.5B-Instruct](https://huggingface.co/Qwen/Qwen2-0.5B-Instruct) | [🤗 link](https://huggingface.co/OpenGVLab/InternVL2-1B) | [🤖 link](https://modelscope.cn/models/OpenGVLab/InternVL2-1B) |
|
25 |
+
| InternVL2-2B | [InternViT-300M-448px](https://huggingface.co/OpenGVLab/InternViT-300M-448px) | [internlm2-chat-1_8b](https://huggingface.co/internlm/internlm2-chat-1_8b) | [🤗 link](https://huggingface.co/OpenGVLab/InternVL2-2B) | [🤖 link](https://modelscope.cn/models/OpenGVLab/InternVL2-2B) |
|
26 |
+
| InternVL2-4B | [InternViT-300M-448px](https://huggingface.co/OpenGVLab/InternViT-300M-448px) | [Phi-3-mini-128k-instruct](https://huggingface.co/microsoft/Phi-3-mini-128k-instruct) | [🤗 link](https://huggingface.co/OpenGVLab/InternVL2-4B) | [🤖 link](https://modelscope.cn/models/OpenGVLab/InternVL2-4B) |
|
27 |
+
| InternVL2-8B | [InternViT-300M-448px](https://huggingface.co/OpenGVLab/InternViT-300M-448px) | [internlm2_5-7b-chat](https://huggingface.co/internlm/internlm2_5-7b-chat) | [🤗 link](https://huggingface.co/OpenGVLab/InternVL2-8B) | [🤖 link](https://modelscope.cn/models/OpenGVLab/InternVL2-8B) |
|
28 |
+
| InternVL2-26B | [InternViT-6B-448px-V1-5](https://huggingface.co/OpenGVLab/InternViT-6B-448px-V1-5) | [internlm2-chat-20b](https://huggingface.co/internlm/internlm2-chat-20b) | [🤗 link](https://huggingface.co/OpenGVLab/InternVL2-26B) | [🤖 link](https://modelscope.cn/models/OpenGVLab/InternVL2-26B) |
|
29 |
+
| InternVL2-40B | [InternViT-6B-448px-V1-5](https://huggingface.co/OpenGVLab/InternViT-6B-448px-V1-5) | [Nous-Hermes-2-Yi-34B](https://huggingface.co/NousResearch/Nous-Hermes-2-Yi-34B) | [🤗 link](https://huggingface.co/OpenGVLab/InternVL2-40B) | [🤖 link](https://modelscope.cn/models/OpenGVLab/InternVL2-40B) |
|
30 |
+
| InternVL2-Llama3-76B | [InternViT-6B-448px-V1-5](https://huggingface.co/OpenGVLab/InternViT-6B-448px-V1-5) | [Hermes-2-Theta-Llama-3-70B](https://huggingface.co/NousResearch/Hermes-2-Theta-Llama-3-70B) | [🤗 link](https://huggingface.co/OpenGVLab/InternVL2-Llama3-76B) | [🤖 link](https://modelscope.cn/models/OpenGVLab/InternVL2-Llama3-76B) |
|
31 |
+
|
32 |
## Model Details
|
33 |
|
34 |
InternVL 2.0 is a multimodal large language model series, featuring models of various sizes. For each size, we release instruction-tuned models optimized for multimodal tasks. InternVL2-26B consists of [InternViT-6B-448px-V1-5](https://huggingface.co/OpenGVLab/InternViT-6B-448px-V1-5), an MLP projector, and [internlm2-chat-20b](https://huggingface.co/internlm/internlm2-chat-20b).
|
|
|
37 |
|
38 |
### Image Benchmarks
|
39 |
|
40 |
+
| Benchmark | GPT-4T-20240409 | Gemini-1.5-Pro | InternVL-Chat-V1-5 | InternVL2-26B |
|
41 |
+
| :-----------------------------: | :-------------: | :------------: | :----------------: | :-----------: |
|
42 |
+
| Model Size | - | - | 25.5B | 25.5B |
|
43 |
+
| | | | | |
|
44 |
+
| DocVQA<sub>test</sub> | 87.2 | 86.5 | 90.9 | 92.9 |
|
45 |
+
| ChartQA<sub>test</sub> | 78.1 | 81.3 | 83.8 | 84.9 |
|
46 |
+
| InfoVQA<sub>test</sub> | - | 72.7 | 72.5 | 75.9 |
|
47 |
+
| TextVQA<sub>val</sub> | - | 73.5 | 80.6 | 82.3 |
|
48 |
+
| OCRBench | 678 | 754 | 724 | 825 |
|
49 |
+
| MME<sub>sum</sub> | 2070.2 | 2110.6 | 2187.8 | 2260.7 |
|
50 |
+
| RealWorldQA | 68.0 | 67.5 | 66.0 | 68.3 |
|
51 |
+
| AI2D<sub>test</sub> | 89.4 | 80.3 | 80.7 | 84.5 |
|
52 |
+
| MMMU<sub>val</sub> | 63.1 / 61.7 | 58.5 / 60.6 | 45.2 / 46.8 | 48.3 / 50.7 |
|
53 |
+
| MMBench-EN<sub>test</sub> | 81.0 | 73.9 | 82.2 | 83.4 |
|
54 |
+
| MMBench-CN<sub>test</sub> | 80.2 | 73.8 | 82.0 | 82.0 |
|
55 |
+
| CCBench<sub>dev</sub> | 57.3 | 28.4 | 69.8 | 73.5 |
|
56 |
+
| MMVet<sub>GPT-4-0613</sub> | - | - | 62.8 | 64.2 |
|
57 |
+
| MMVet<sub>GPT-4-Turbo</sub> | 67.5 | 64.0 | 55.4 | 62.1 |
|
58 |
+
| SEED-Image | - | - | 76.0 | 76.8 |
|
59 |
+
| HallBench<sub>avg</sub> | 43.9 | 45.6 | 49.3 | 50.7 |
|
60 |
+
| MathVista<sub>testmini</sub> | 58.1 | 57.7 | 53.5 | 59.4 |
|
61 |
+
| OpenCompass<sub>avg-score</sub> | 63.5 | 64.4 | 61.7 | 66.4 |
|
62 |
|
63 |
- We simultaneously use InternVL and VLMEvalKit repositories for model evaluation. Specifically, the results reported for DocVQA, ChartQA, InfoVQA, TextVQA, MME, AI2D, MMBench, CCBench, MMVet, and SEED-Image were tested using the InternVL repository. OCRBench, RealWorldQA, HallBench, and MathVista were evaluated using the VLMEvalKit.
|
64 |
|
|
|
596 |
|
597 |
InternVL 2.0 使用 8k 上下文窗口进行训练,训练数据包含长文本、多图和视频数据,与 InternVL 1.5 相比,其处理这些类型输入的能力显著提高。更多详细信息,请参阅我们的博客和 GitHub。
|
598 |
|
599 |
+
| 模型名称 | 视��部分 | 语言部分 | HF 链接 | MS 链接 |
|
600 |
+
| :------------------: | :---------------------------------------------------------------------------------: | :------------------------------------------------------------------------------------------: | :--------------------------------------------------------------: | :--------------------------------------------------------------------: |
|
601 |
+
| InternVL2-1B | [InternViT-300M-448px](https://huggingface.co/OpenGVLab/InternViT-300M-448px) | [Qwen2-0.5B-Instruct](https://huggingface.co/Qwen/Qwen2-0.5B-Instruct) | [🤗 link](https://huggingface.co/OpenGVLab/InternVL2-1B) | [🤖 link](https://modelscope.cn/models/OpenGVLab/InternVL2-1B) |
|
602 |
+
| InternVL2-2B | [InternViT-300M-448px](https://huggingface.co/OpenGVLab/InternViT-300M-448px) | [internlm2-chat-1_8b](https://huggingface.co/internlm/internlm2-chat-1_8b) | [🤗 link](https://huggingface.co/OpenGVLab/InternVL2-2B) | [🤖 link](https://modelscope.cn/models/OpenGVLab/InternVL2-2B) |
|
603 |
+
| InternVL2-4B | [InternViT-300M-448px](https://huggingface.co/OpenGVLab/InternViT-300M-448px) | [Phi-3-mini-128k-instruct](https://huggingface.co/microsoft/Phi-3-mini-128k-instruct) | [🤗 link](https://huggingface.co/OpenGVLab/InternVL2-4B) | [🤖 link](https://modelscope.cn/models/OpenGVLab/InternVL2-4B) |
|
604 |
+
| InternVL2-8B | [InternViT-300M-448px](https://huggingface.co/OpenGVLab/InternViT-300M-448px) | [internlm2_5-7b-chat](https://huggingface.co/internlm/internlm2_5-7b-chat) | [🤗 link](https://huggingface.co/OpenGVLab/InternVL2-8B) | [🤖 link](https://modelscope.cn/models/OpenGVLab/InternVL2-8B) |
|
605 |
+
| InternVL2-26B | [InternViT-6B-448px-V1-5](https://huggingface.co/OpenGVLab/InternViT-6B-448px-V1-5) | [internlm2-chat-20b](https://huggingface.co/internlm/internlm2-chat-20b) | [🤗 link](https://huggingface.co/OpenGVLab/InternVL2-26B) | [🤖 link](https://modelscope.cn/models/OpenGVLab/InternVL2-26B) |
|
606 |
+
| InternVL2-40B | [InternViT-6B-448px-V1-5](https://huggingface.co/OpenGVLab/InternViT-6B-448px-V1-5) | [Nous-Hermes-2-Yi-34B](https://huggingface.co/NousResearch/Nous-Hermes-2-Yi-34B) | [🤗 link](https://huggingface.co/OpenGVLab/InternVL2-40B) | [🤖 link](https://modelscope.cn/models/OpenGVLab/InternVL2-40B) |
|
607 |
+
| InternVL2-Llama3-76B | [InternViT-6B-448px-V1-5](https://huggingface.co/OpenGVLab/InternViT-6B-448px-V1-5) | [Hermes-2-Theta-Llama-3-70B](https://huggingface.co/NousResearch/Hermes-2-Theta-Llama-3-70B) | [🤗 link](https://huggingface.co/OpenGVLab/InternVL2-Llama3-76B) | [🤖 link](https://modelscope.cn/models/OpenGVLab/InternVL2-Llama3-76B) |
|
608 |
+
|
609 |
## 模型细节
|
610 |
|
611 |
InternVL 2.0 是一个多模态大语言模型系列,包含各种规模的模型。对于每个规模的模型,我们都会发布针对多模态任务优化的指令微调模型。InternVL2-26B 包含 [InternViT-6B-448px-V1-5](https://huggingface.co/OpenGVLab/InternViT-6B-448px-V1-5)、一个 MLP 投影器和 [internlm2-chat-20b](https://huggingface.co/internlm/internlm2-chat-20b)。
|
|
|
614 |
|
615 |
### 图像相关评测
|
616 |
|
617 |
+
| 评测数据集 | GPT-4T-20240409 | Gemini-1.5-Pro | InternVL-Chat-V1-5 | InternVL2-26B |
|
618 |
+
| :-----------------------------: | :-------------: | :------------: | :----------------: | :-----------: |
|
619 |
+
| 模型大小 | - | - | 25.5B | 25.5B |
|
620 |
+
| | | | | |
|
621 |
+
| DocVQA<sub>test</sub> | 87.2 | 86.5 | 90.9 | 92.9 |
|
622 |
+
| ChartQA<sub>test</sub> | 78.1 | 81.3 | 83.8 | 84.9 |
|
623 |
+
| InfoVQA<sub>test</sub> | - | 72.7 | 72.5 | 75.9 |
|
624 |
+
| TextVQA<sub>val</sub> | - | 73.5 | 80.6 | 82.3 |
|
625 |
+
| OCRBench | 678 | 754 | 724 | 825 |
|
626 |
+
| MME<sub>sum</sub> | 2070.2 | 2110.6 | 2187.8 | 2260.7 |
|
627 |
+
| RealWorldQA | 68.0 | 67.5 | 66.0 | 68.3 |
|
628 |
+
| AI2D<sub>test</sub> | 89.4 | 80.3 | 80.7 | 84.5 |
|
629 |
+
| MMMU<sub>val</sub> | 63.1 / 61.7 | 58.5 / 60.6 | 45.2 / 46.8 | 48.3 / 50.7 |
|
630 |
+
| MMBench-EN<sub>test</sub> | 81.0 | 73.9 | 82.2 | 83.4 |
|
631 |
+
| MMBench-CN<sub>test</sub> | 80.2 | 73.8 | 82.0 | 82.0 |
|
632 |
+
| CCBench<sub>dev</sub> | 57.3 | 28.4 | 69.8 | 73.5 |
|
633 |
+
| MMVet<sub>GPT-4-0613</sub> | - | - | 62.8 | 64.2 |
|
634 |
+
| MMVet<sub>GPT-4-Turbo</sub> | 67.5 | 64.0 | 55.4 | 62.1 |
|
635 |
+
| SEED-Image | - | - | 76.0 | 76.8 |
|
636 |
+
| HallBench<sub>avg</sub> | 43.9 | 45.6 | 49.3 | 50.7 |
|
637 |
+
| MathVista<sub>testmini</sub> | 58.1 | 57.7 | 53.5 | 59.4 |
|
638 |
+
| OpenCompass<sub>avg-score</sub> | 63.5 | 64.4 | 61.7 | 66.4 |
|
639 |
|
640 |
- 我们同时使用 InternVL 和 VLMEvalKit 仓库进行模型评估。具体来说,DocVQA、ChartQA、InfoVQA、TextVQA、MME、AI2D、MMBench、CCBench、MMVet 和 SEED-Image 的结果是使用 InternVL 仓库测试的。MMMU、OCRBench、RealWorldQA、HallBench 和 MathVista 是使用 VLMEvalKit 进行评估的。
|
641 |
|