Upload folder using huggingface_hub
Browse files
README.md
CHANGED
@@ -1,6 +1,20 @@
|
|
1 |
---
|
2 |
license: mit
|
3 |
pipeline_tag: image-text-to-text
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
4 |
---
|
5 |
|
6 |
# InternVL-Chat-V1-5
|
@@ -21,9 +35,9 @@ We introduce InternVL 1.5, an open-source multimodal large language model (MLLM)
|
|
21 |
|
22 |
We introduce three simple designs:
|
23 |
|
24 |
-
1. Strong Vision Encoder
|
25 |
-
2. Dynamic High-Resolution
|
26 |
-
3. High-Quality Bilingual Dataset
|
27 |
|
28 |
## Model Details
|
29 |
|
@@ -37,9 +51,9 @@ We introduce three simple designs:
|
|
37 |
|
38 |
- **Training Strategy:**
|
39 |
|
40 |
-
- Learnable component in the
|
41 |
-
- Learnable component in the
|
42 |
-
- For more details on training hyperparameters,
|
43 |
|
44 |
## Architecture
|
45 |
|
@@ -51,9 +65,9 @@ We introduce three simple designs:
|
|
51 |
|
52 |
![image/png](https://cdn-uploads.huggingface.co/production/uploads/64119264f0f81eb569e0d569/i2vp6zSHPS3UIr-1Q9cSe.png)
|
53 |
|
54 |
-
- 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.
|
55 |
|
56 |
-
- Please note that evaluating the same model using different testing toolkits like InternVL and VLMEvalKit can result in slight differences, which is normal. Updates to code versions and variations in environment and hardware can also cause minor discrepancies in results.
|
57 |
|
58 |
Limitations: Although we have made efforts to ensure the safety of the model during the training process and to encourage the model to generate text that complies with ethical and legal requirements, the model may still produce unexpected outputs due to its size and probabilistic generation paradigm. For example, the generated responses may contain biases, discrimination, or other harmful content. Please do not propagate such content. We are not responsible for any consequences resulting from the dissemination of harmful information.
|
59 |
|
|
|
1 |
---
|
2 |
license: mit
|
3 |
pipeline_tag: image-text-to-text
|
4 |
+
library_name: transformers
|
5 |
+
base_model:
|
6 |
+
- OpenGVLab/InternViT-6B-448px-V1-5
|
7 |
+
- internlm/internlm2-chat-20b
|
8 |
+
base_model_relation: merge
|
9 |
+
language:
|
10 |
+
- multilingual
|
11 |
+
tags:
|
12 |
+
- internvl
|
13 |
+
- vision
|
14 |
+
- ocr
|
15 |
+
- multi-image
|
16 |
+
- video
|
17 |
+
- custom_code
|
18 |
---
|
19 |
|
20 |
# InternVL-Chat-V1-5
|
|
|
35 |
|
36 |
We introduce three simple designs:
|
37 |
|
38 |
+
1. **Strong Vision Encoder:** we explored a continuous learning strategy for the large-scale vision foundation model---InternViT-6B, boosting its visual understanding capabilities, and making it can be transferred and reused in different LLMs.
|
39 |
+
2. **Dynamic High-Resolution:** we divide images into tiles ranging from 1 to 40 of 448 × 448 pixels according to the aspect ratio and resolution of the input images, which supports up to 4K resolution input during inference.
|
40 |
+
3. **High-Quality Bilingual Dataset:** we carefully collected a high-quality bilingual dataset that covers common scenes, document images, and annotated them with English and Chinese question-answer pairs, significantly enhancing performance in OCR- and Chinese-related tasks.
|
41 |
|
42 |
## Model Details
|
43 |
|
|
|
51 |
|
52 |
- **Training Strategy:**
|
53 |
|
54 |
+
- Learnable component in the pre-training stage: ViT + MLP
|
55 |
+
- Learnable component in the fine-tuning stage: ViT + MLP + LLM
|
56 |
+
- For more details on training hyperparameters, please see our [blog](https://internvl.github.io/blog/2024-04-30-InternVL-1.5/).
|
57 |
|
58 |
## Architecture
|
59 |
|
|
|
65 |
|
66 |
![image/png](https://cdn-uploads.huggingface.co/production/uploads/64119264f0f81eb569e0d569/i2vp6zSHPS3UIr-1Q9cSe.png)
|
67 |
|
68 |
+
- We simultaneously use [InternVL](https://github.com/OpenGVLab/InternVL) and [VLMEvalKit](https://github.com/open-compass/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.
|
69 |
|
70 |
+
- Please note that evaluating the same model using different testing toolkits like [InternVL](https://github.com/OpenGVLab/InternVL) and [VLMEvalKit](https://github.com/open-compass/VLMEvalKit) can result in slight differences, which is normal. Updates to code versions and variations in environment and hardware can also cause minor discrepancies in results.
|
71 |
|
72 |
Limitations: Although we have made efforts to ensure the safety of the model during the training process and to encourage the model to generate text that complies with ethical and legal requirements, the model may still produce unexpected outputs due to its size and probabilistic generation paradigm. For example, the generated responses may contain biases, discrimination, or other harmful content. Please do not propagate such content. We are not responsible for any consequences resulting from the dissemination of harmful information.
|
73 |
|