yintao02.hong commited on
Commit ·
c06ce41
1
Parent(s): 8bf5c20
add model card
Browse files
README.md
ADDED
|
@@ -0,0 +1,50 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# InternVL2-2B
|
| 2 |
+
|
| 3 |
+
**Original model repository:** [OpenGVLab/InternVL2-2B](https://huggingface.co/OpenGVLab/InternVL2-2B)
|
| 4 |
+
|
| 5 |
+
## Model Introduction
|
| 6 |
+
|
| 7 |
+
InternVL2-2B is an instruction-tuned Vision-Language Model (VLM) for image understanding and text generation. It combines an InternViT-300M vision encoder, an MLP projector, and InternLM2-Chat-1.8B as its language model. Typical applications include visual question answering, OCR, image description, document and chart understanding, and multimodal dialogue.
|
| 8 |
+
|
| 9 |
+
## Deployment Metrics
|
| 10 |
+
|
| 11 |
+
### Model Parameters
|
| 12 |
+
|
| 13 |
+
| Metric | Value |
|
| 14 |
+
|---|---:|
|
| 15 |
+
| Total model parameters | 2.206B |
|
| 16 |
+
| Vision model (ViT) parameters | 316.6M |
|
| 17 |
+
| Language model (LM) parameters | 1.889B |
|
| 18 |
+
|
| 19 |
+
Parameter counts are calculated from the tensors stored in the upstream checkpoint.
|
| 20 |
+
|
| 21 |
+
### Performance Metrics
|
| 22 |
+
|
| 23 |
+
#### Test Configuration
|
| 24 |
+
|
| 25 |
+
| Metric | Value |
|
| 26 |
+
|---|---|
|
| 27 |
+
| Platform | Matrix6P |
|
| 28 |
+
| Data type | W8A8 |
|
| 29 |
+
| ViT image size | 448 × 448 |
|
| 30 |
+
| Sequence length | 512 |
|
| 31 |
+
| Maximum context length | 1024 |
|
| 32 |
+
| BPU cores (ViT / Prefill / Decode) | 4 / 4 / 4 |
|
| 33 |
+
|
| 34 |
+
#### Performance Results
|
| 35 |
+
|
| 36 |
+
| Metric | Value |
|
| 37 |
+
|---|---:|
|
| 38 |
+
| ViT latency | 41.535 ms |
|
| 39 |
+
| Time to first token (TTFT) | 84.448 ms |
|
| 40 |
+
| Prefill throughput | 13,265.273 tokens/s |
|
| 41 |
+
| Decode throughput | 70.473 tokens/s |
|
| 42 |
+
|
| 43 |
+
#### Memory Usage
|
| 44 |
+
|
| 45 |
+
| Metric | Value |
|
| 46 |
+
|---|---:|
|
| 47 |
+
| BPU memory | 2.4 GB |
|
| 48 |
+
| CPU memory | 0.79 GB |
|
| 49 |
+
|
| 50 |
+
> **Note:** TTFT includes preprocessing and ViT latency. Memory values represent the peak memory usage measured during the specified performance test.
|