JuntaoTang commited on
Commit
917313f
·
verified ·
1 Parent(s): b33ac45

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +18 -81
README.md CHANGED
@@ -34,16 +34,13 @@ tags:
34
  <a href="#citation"><img src="https://img.shields.io/badge/Citation-BibTeX-blue" alt="BibTeX citation"></a>
35
  </p>
36
 
37
- ## Overview
38
-
39
- This repository hosts the downstream MLLM evaluation checkpoints accompanying **[A Strong Baseline for Evaluating Vision Encoders in Multimodal Large Language Models](https://arxiv.org/abs/2610.05413)**.
40
-
41
- The study evaluates **70 vision encoders with three main language backbones**. The released checkpoints are organized by language backbone, vision encoder and training stage; links to the original frozen encoder weights appear alongside the corresponding MLLM weights below.
42
 
 
43
 
44
  ## Files
45
 
46
- Checkpoints are grouped by language model, vision encoder, and training stage:
47
 
48
  ```text
49
  models/
@@ -53,71 +50,30 @@ models/
53
  finetune/ # Model weights, config, and tokenizer files
54
  ```
55
 
56
- For example, the Qwen3 + CLIP-L/14 finetuned model is at `models/continuous/qwen3/clip_openai__l14/finetune/`. Use `qwen25`, `qwen3`, or `smollm2` for the three main language-model groups; the additional Base runs use `qwen3base`.
57
-
58
- ## Download
59
-
60
- Download one encoder/model pair and its frozen vision encoder:
61
-
62
- ```python
63
- from huggingface_hub import snapshot_download
64
-
65
- snapshot_download(
66
- repo_id="336labs/VisionEncoder-to-MLLM-ModelZoo",
67
- allow_patterns=["continuous/qwen3/clip_openai__l14/**"],
68
- local_dir="models",
69
- )
70
- snapshot_download(
71
- repo_id="openai/clip-vit-large-patch14",
72
- local_dir="encoders/clip-vit-large-patch14",
73
- )
74
- ```
75
-
76
- The local checkpoint directory is `models/continuous/qwen3/clip_openai__l14/finetune/`; the encoder directory is `encoders/clip-vit-large-patch14/`. Keep all files in the selected checkpoint directory, including any weight shards. Other frozen encoder downloads are listed [below](#vision-encoder-downloads).
77
-
78
- Load checkpoints through the [project code](https://github.com/JuntaoTang/MLLM-VisionEncoder-Eval) using your local encoder directory. Saved model configurations may contain paths from the training machine. A pretrain projector also needs the matching original language model; the finetune directory contains the trained MLLM weights.
79
-
80
- ## Training and evaluation data
81
-
82
- A simple local data layout is:
83
-
84
- ```text
85
- data/
86
- instructions/pretrain/blip_laion_cc_sbu_558k.json
87
- instructions/finetune/llava_v1_5_mix665k_drop_ge8kchars.json
88
- instructions/test/<dataset>.tsv
89
- images/pretrain/
90
- images/finetune/
91
- images/test/
92
- ```
93
-
94
- Raw images and annotations are downloaded separately. See the [data sources and 11 evaluation benchmarks](https://huggingface.co/datasets/336labs/VisionEncoder-Eval-ReproData#datasets-required-by-the-evaluation-pipelines). Configuration and experiment commands are described in the code repository's [Setup](https://github.com/JuntaoTang/MLLM-VisionEncoder-Eval#setup) and [Running](https://github.com/JuntaoTang/MLLM-VisionEncoder-Eval#running) sections.
95
 
96
- ## Model Zoo
97
 
98
  This Model Zoo covers the **70 visual tokenizers used in our paper**: **43 language-supervised**, **22 self-supervised**, and **5 discrete** tokenizers.
99
- The current release provides both pretraining and finetuning checkpoints for all **65 continuous tokenizers** with each of the three main language backbones, plus **2** Qwen3-1.7B-Base runs. The **5 discrete tokenizers** are listed separately with their checkpoint availability.
100
 
101
- ### Training data and checkpoint types
102
 
103
  - **Pretrain Data — LCS-558K:** the image–text alignment dataset from [LLaVA-Pretrain](https://huggingface.co/datasets/liuhaotian/LLaVA-Pretrain), using `blip_laion_cc_sbu_558k.json`. This dataset is used for MLLM projector training.
104
  - **Finetuning Data — LLaVA-v1.5 mix665k (filtered):** the [LLaVA-v1.5 instruction mixture](https://huggingface.co/datasets/liuhaotian/LLaVA-Instruct-150K/blob/main/llava_v1_5_mix665k.json), using `llava_v1_5_mix665k_drop_ge8kchars.json`. The training configuration removes 395 examples with at least 8,000 characters of conversation text.
105
- - **Download:** `projector` downloads the pretraining `mm_projector.bin`; `finetuned` opens the finetuned checkpoint directory, including model weights, configuration, and language-tokenizer files. The frozen vision encoder must be supplied separately using the matching architecture and weights recorded in `config.json`. Pretraining projector weights alone are not instruction-tuned MLLMs.
106
-
107
- ### Vision encoder downloads
108
 
109
- The **Encoder weights** column links to the original upstream vision encoder or visual tokenizer. Each encoder name links to its model or project page. Use these frozen encoder weights together with the corresponding Stage 1 projector or Stage 2 MLLM checkpoint, preserving the architecture, feature layer and preprocessing specified by that run's `config.json`.
110
 
111
- - For Hugging Face models, retain the associated configuration and processor files. **Web-SSL MAE 3B** has sharded weights; its link opens the complete model repository.
112
- - **DINOv3** requires acceptance of the upstream model's terms and authentication. The **RAEv2 DINOv3-L (k=7)** entry uses the same DINOv3-L/16 backbone with the project's k=7 intermediate-layer readout; its download is the backbone used to construct that representation.
113
- - **TokLIP-S/L** require both the encoder checkpoint and the linked **VQ** checkpoint. For **UniAR** and **VILA-U**, retain the config files alongside the weights in the respective `bsq_encoder/` and `vision_tower/` directories.
 
 
 
 
114
 
115
  ### Qwen2.5-1.5B-Instruct
116
-
117
- Base LLM: [Qwen/Qwen2.5-1.5B-Instruct](https://huggingface.co/Qwen/Qwen2.5-1.5B-Instruct). **65 tokenizers**, each with pretraining and finetuning checkpoints.
118
-
119
- <details>
120
- <summary>Show 65 tokenizers and download links</summary>
121
 
122
  | Base LLM | Vision Encoder / Tokenizer | Encoder weights | Stage 1 Pretrained weights | Stage 2 Finetuned weights |
123
  | --- | --- | --- | --- | --- |
@@ -187,14 +143,10 @@ Base LLM: [Qwen/Qwen2.5-1.5B-Instruct](https://huggingface.co/Qwen/Qwen2.5-1.5B-
187
  | Qwen2.5-1.5B-Instruct | [DINO ViT-S/8](https://huggingface.co/facebook/dino-vits8) | [encoder](https://huggingface.co/facebook/dino-vits8/resolve/main/model.safetensors?download=true) | [projector](https://huggingface.co/336labs/VisionEncoder-to-MLLM-ModelZoo/resolve/main/continuous/qwen25/dino_vits8/pretrain/mm_projector.bin) | [finetuned](https://huggingface.co/336labs/VisionEncoder-to-MLLM-ModelZoo/tree/main/continuous/qwen25/dino_vits8/finetune) |
188
  | Qwen2.5-1.5B-Instruct | [EUPE ViT-T](https://huggingface.co/facebook/EUPE-ViT-T) | [encoder](https://huggingface.co/facebook/EUPE-ViT-T/resolve/main/EUPE-ViT-T.pt?download=true) | [projector](https://huggingface.co/336labs/VisionEncoder-to-MLLM-ModelZoo/resolve/main/continuous/qwen25/eupe_vit_t/pretrain/mm_projector.bin) | [finetuned](https://huggingface.co/336labs/VisionEncoder-to-MLLM-ModelZoo/tree/main/continuous/qwen25/eupe_vit_t/finetune) |
189
 
190
- </details>
191
 
192
  ### Qwen3-1.7B
193
 
194
- Base LLM: [Qwen/Qwen3-1.7B](https://huggingface.co/Qwen/Qwen3-1.7B). **65 tokenizers**, each with pretraining and finetuning checkpoints.
195
-
196
- <details>
197
- <summary>Show 65 tokenizers and download links</summary>
198
 
199
  | Base LLM | Vision Encoder / Tokenizer | Encoder weights | Stage 1 Pretrained weights | Stage 2 Finetuned weights |
200
  | --- | --- | --- | --- | --- |
@@ -264,14 +216,10 @@ Base LLM: [Qwen/Qwen3-1.7B](https://huggingface.co/Qwen/Qwen3-1.7B). **65 tokeni
264
  | Qwen3-1.7B | [DINO ViT-S/8](https://huggingface.co/facebook/dino-vits8) | [encoder](https://huggingface.co/facebook/dino-vits8/resolve/main/model.safetensors?download=true) | [projector](https://huggingface.co/336labs/VisionEncoder-to-MLLM-ModelZoo/resolve/main/continuous/qwen3/dino_vits8/pretrain/mm_projector.bin) | [finetuned](https://huggingface.co/336labs/VisionEncoder-to-MLLM-ModelZoo/tree/main/continuous/qwen3/dino_vits8/finetune) |
265
  | Qwen3-1.7B | [EUPE ViT-T](https://huggingface.co/facebook/EUPE-ViT-T) | [encoder](https://huggingface.co/facebook/EUPE-ViT-T/resolve/main/EUPE-ViT-T.pt?download=true) | [projector](https://huggingface.co/336labs/VisionEncoder-to-MLLM-ModelZoo/resolve/main/continuous/qwen3/eupe_vit_t/pretrain/mm_projector.bin) | [finetuned](https://huggingface.co/336labs/VisionEncoder-to-MLLM-ModelZoo/tree/main/continuous/qwen3/eupe_vit_t/finetune) |
266
 
267
- </details>
268
 
269
  ### SmolLM2-1.7B-Instruct
270
 
271
- Base LLM: [HuggingFaceTB/SmolLM2-1.7B-Instruct](https://huggingface.co/HuggingFaceTB/SmolLM2-1.7B-Instruct). **65 tokenizers**, each with pretraining and finetuning checkpoints.
272
-
273
- <details>
274
- <summary>Show 65 tokenizers and download links</summary>
275
 
276
  | Base LLM | Vision Encoder / Tokenizer | Encoder weights | Stage 1 Pretrained weights | Stage 2 Finetuned weights |
277
  | --- | --- | --- | --- | --- |
@@ -341,17 +289,6 @@ Base LLM: [HuggingFaceTB/SmolLM2-1.7B-Instruct](https://huggingface.co/HuggingFa
341
  | SmolLM2-1.7B-Instruct | [DINO ViT-S/8](https://huggingface.co/facebook/dino-vits8) | [encoder](https://huggingface.co/facebook/dino-vits8/resolve/main/model.safetensors?download=true) | [projector](https://huggingface.co/336labs/VisionEncoder-to-MLLM-ModelZoo/resolve/main/continuous/smollm2/dino_vits8/pretrain/mm_projector.bin) | [finetuned](https://huggingface.co/336labs/VisionEncoder-to-MLLM-ModelZoo/tree/main/continuous/smollm2/dino_vits8/finetune) |
342
  | SmolLM2-1.7B-Instruct | [EUPE ViT-T](https://huggingface.co/facebook/EUPE-ViT-T) | [encoder](https://huggingface.co/facebook/EUPE-ViT-T/resolve/main/EUPE-ViT-T.pt?download=true) | [projector](https://huggingface.co/336labs/VisionEncoder-to-MLLM-ModelZoo/resolve/main/continuous/smollm2/eupe_vit_t/pretrain/mm_projector.bin) | [finetuned](https://huggingface.co/336labs/VisionEncoder-to-MLLM-ModelZoo/tree/main/continuous/smollm2/eupe_vit_t/finetune) |
343
 
344
- </details>
345
-
346
- ### Discrete tokenizers in the paper
347
-
348
- | Vision Tokenizer | Encoder weights | MLLM checkpoint availability |
349
- | --- | --- | --- |
350
- | [UniTok-Attn (256)](https://huggingface.co/FoundationVision/unitok_tokenizer) | [encoder](https://huggingface.co/FoundationVision/unitok_tokenizer/resolve/main/unitok_tokenizer.pth?download=true) | Not released in this repository |
351
- | [UniAR-BSQ](https://huggingface.co/ShareLab-SII/UniAR-SFT/tree/main/bsq_encoder) | [encoder](https://huggingface.co/ShareLab-SII/UniAR-SFT/resolve/main/bsq_encoder/model.safetensors?download=true) | Not released in this repository |
352
- | [TokLIP-L (384)](https://huggingface.co/TencentARC/TokLIP) | [encoder](https://huggingface.co/TencentARC/TokLIP/resolve/main/TokLIP_L_384.pt?download=true) · [VQ](https://huggingface.co/peizesun/llamagen_t2i/resolve/main/vq_ds16_t2i.pt?download=true) | Not released in this repository |
353
- | [TokLIP-S (256)](https://huggingface.co/TencentARC/TokLIP) | [encoder](https://huggingface.co/TencentARC/TokLIP/resolve/main/TokLIP_S_256.pt?download=true) · [VQ](https://huggingface.co/peizesun/llamagen_t2i/resolve/main/vq_ds16_t2i.pt?download=true) | Not released in this repository |
354
- | [VILA-U (256)](https://huggingface.co/mit-han-lab/vila-u-7b-256) | [encoder](https://huggingface.co/mit-han-lab/vila-u-7b-256/resolve/main/vision_tower/model.safetensors?download=true) | Not released in this repository |
355
 
356
  ## Citation
357
 
 
34
  <a href="#citation"><img src="https://img.shields.io/badge/Citation-BibTeX-blue" alt="BibTeX citation"></a>
35
  </p>
36
 
37
+ # Overview
 
 
 
 
38
 
39
+ This repository hosts the downstream MLLM checkpoints accompanying **[A Strong Baseline for Evaluating Vision Encoders in Multimodal Large Language Models](https://arxiv.org/abs/2610.05413)**.
40
 
41
  ## Files
42
 
43
+ Checkpoints are grouped by language model backbone, vision encoder, and training stage:
44
 
45
  ```text
46
  models/
 
50
  finetune/ # Model weights, config, and tokenizer files
51
  ```
52
 
53
+ Use `qwen25`, `qwen3`, or `smollm2` for the three main language-model groups.
54
+ For example, the Qwen3 + CLIP-L/14 finetuned model is at `models/continuous/qwen3/clip_openai__l14/finetune/`.
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
55
 
56
+ # Model Zoo
57
 
58
  This Model Zoo covers the **70 visual tokenizers used in our paper**: **43 language-supervised**, **22 self-supervised**, and **5 discrete** tokenizers.
59
+ The current release provides both pretraining and finetuning checkpoints for all **65 continuous tokenizers** with each of the three main language backbones. The **5 discrete tokenizers** are listed separately with their checkpoint availability.
60
 
61
+ ## Training data
62
 
63
  - **Pretrain Data — LCS-558K:** the image–text alignment dataset from [LLaVA-Pretrain](https://huggingface.co/datasets/liuhaotian/LLaVA-Pretrain), using `blip_laion_cc_sbu_558k.json`. This dataset is used for MLLM projector training.
64
  - **Finetuning Data — LLaVA-v1.5 mix665k (filtered):** the [LLaVA-v1.5 instruction mixture](https://huggingface.co/datasets/liuhaotian/LLaVA-Instruct-150K/blob/main/llava_v1_5_mix665k.json), using `llava_v1_5_mix665k_drop_ge8kchars.json`. The training configuration removes 395 examples with at least 8,000 characters of conversation text.
 
 
 
65
 
 
66
 
67
+ ## Downloads
68
+ - 'Encoder weights' links to the original upstream vision encoder or visual tokenizer. Each encoder name links to its model or project page. Use these frozen encoder weights together with the corresponding Stage 1 projector or Stage 2 MLLM checkpoint, preserving the architecture, feature layer and preprocessing specified by that run's `config.json`.
69
+ - For Hugging Face models, retain the associated configuration and processor files. **Web-SSL MAE 3B** has sharded weights; its link opens the complete model repository.
70
+ - **DINOv3** requires acceptance of the upstream model's terms and authentication. The **RAEv2 DINOv3-L (k=7)** entry uses the same DINOv3-L/16 backbone with the project's k=7 intermediate-layer readout; its download is the backbone used to construct that representation.
71
+ - **TokLIP-S/L** require both the encoder checkpoint and the linked **VQ** checkpoint. For **UniAR** and **VILA-U**, retain the config files alongside the weights in the respective `bsq_encoder/` and `vision_tower/` directories.
72
+ - `projector` downloads the pretraining `mm_projector.bin`;
73
+ - `finetuned` opens the finetuned checkpoint directory, including model weights, configuration, and language-tokenizer files. The frozen vision encoder must be supplied separately using the matching architecture and weights recorded in `config.json`. Pretraining projector weights alone are not instruction-tuned MLLMs.
74
 
75
  ### Qwen2.5-1.5B-Instruct
76
+ Base LLM: [Qwen/Qwen2.5-1.5B-Instruct](https://huggingface.co/Qwen/Qwen2.5-1.5B-Instruct).
 
 
 
 
77
 
78
  | Base LLM | Vision Encoder / Tokenizer | Encoder weights | Stage 1 Pretrained weights | Stage 2 Finetuned weights |
79
  | --- | --- | --- | --- | --- |
 
143
  | Qwen2.5-1.5B-Instruct | [DINO ViT-S/8](https://huggingface.co/facebook/dino-vits8) | [encoder](https://huggingface.co/facebook/dino-vits8/resolve/main/model.safetensors?download=true) | [projector](https://huggingface.co/336labs/VisionEncoder-to-MLLM-ModelZoo/resolve/main/continuous/qwen25/dino_vits8/pretrain/mm_projector.bin) | [finetuned](https://huggingface.co/336labs/VisionEncoder-to-MLLM-ModelZoo/tree/main/continuous/qwen25/dino_vits8/finetune) |
144
  | Qwen2.5-1.5B-Instruct | [EUPE ViT-T](https://huggingface.co/facebook/EUPE-ViT-T) | [encoder](https://huggingface.co/facebook/EUPE-ViT-T/resolve/main/EUPE-ViT-T.pt?download=true) | [projector](https://huggingface.co/336labs/VisionEncoder-to-MLLM-ModelZoo/resolve/main/continuous/qwen25/eupe_vit_t/pretrain/mm_projector.bin) | [finetuned](https://huggingface.co/336labs/VisionEncoder-to-MLLM-ModelZoo/tree/main/continuous/qwen25/eupe_vit_t/finetune) |
145
 
 
146
 
147
  ### Qwen3-1.7B
148
 
149
+ Base LLM: [Qwen/Qwen3-1.7B](https://huggingface.co/Qwen/Qwen3-1.7B).
 
 
 
150
 
151
  | Base LLM | Vision Encoder / Tokenizer | Encoder weights | Stage 1 Pretrained weights | Stage 2 Finetuned weights |
152
  | --- | --- | --- | --- | --- |
 
216
  | Qwen3-1.7B | [DINO ViT-S/8](https://huggingface.co/facebook/dino-vits8) | [encoder](https://huggingface.co/facebook/dino-vits8/resolve/main/model.safetensors?download=true) | [projector](https://huggingface.co/336labs/VisionEncoder-to-MLLM-ModelZoo/resolve/main/continuous/qwen3/dino_vits8/pretrain/mm_projector.bin) | [finetuned](https://huggingface.co/336labs/VisionEncoder-to-MLLM-ModelZoo/tree/main/continuous/qwen3/dino_vits8/finetune) |
217
  | Qwen3-1.7B | [EUPE ViT-T](https://huggingface.co/facebook/EUPE-ViT-T) | [encoder](https://huggingface.co/facebook/EUPE-ViT-T/resolve/main/EUPE-ViT-T.pt?download=true) | [projector](https://huggingface.co/336labs/VisionEncoder-to-MLLM-ModelZoo/resolve/main/continuous/qwen3/eupe_vit_t/pretrain/mm_projector.bin) | [finetuned](https://huggingface.co/336labs/VisionEncoder-to-MLLM-ModelZoo/tree/main/continuous/qwen3/eupe_vit_t/finetune) |
218
 
 
219
 
220
  ### SmolLM2-1.7B-Instruct
221
 
222
+ Base LLM: [HuggingFaceTB/SmolLM2-1.7B-Instruct](https://huggingface.co/HuggingFaceTB/SmolLM2-1.7B-Instruct).
 
 
 
223
 
224
  | Base LLM | Vision Encoder / Tokenizer | Encoder weights | Stage 1 Pretrained weights | Stage 2 Finetuned weights |
225
  | --- | --- | --- | --- | --- |
 
289
  | SmolLM2-1.7B-Instruct | [DINO ViT-S/8](https://huggingface.co/facebook/dino-vits8) | [encoder](https://huggingface.co/facebook/dino-vits8/resolve/main/model.safetensors?download=true) | [projector](https://huggingface.co/336labs/VisionEncoder-to-MLLM-ModelZoo/resolve/main/continuous/smollm2/dino_vits8/pretrain/mm_projector.bin) | [finetuned](https://huggingface.co/336labs/VisionEncoder-to-MLLM-ModelZoo/tree/main/continuous/smollm2/dino_vits8/finetune) |
290
  | SmolLM2-1.7B-Instruct | [EUPE ViT-T](https://huggingface.co/facebook/EUPE-ViT-T) | [encoder](https://huggingface.co/facebook/EUPE-ViT-T/resolve/main/EUPE-ViT-T.pt?download=true) | [projector](https://huggingface.co/336labs/VisionEncoder-to-MLLM-ModelZoo/resolve/main/continuous/smollm2/eupe_vit_t/pretrain/mm_projector.bin) | [finetuned](https://huggingface.co/336labs/VisionEncoder-to-MLLM-ModelZoo/tree/main/continuous/smollm2/eupe_vit_t/finetune) |
291
 
 
 
 
 
 
 
 
 
 
 
 
292
 
293
  ## Citation
294