alt.freeweights.vision / InternViT-300M-448px-V2_5
From: OpenGVLab <huggingface.co/OpenGVLab>Newsgroups: alt.freeweights.visionSubject:

InternViT-300M-448px-V2_5

Date: 2026-11-15Commit: 8f86a5eSigned: 2DC28CC7B26A283B ✓

Image feature extraction model with 304M parameters. Safetensors weights, 608 MB in all. Published by OpenGVLab under MIT.

304M params608MBInternViT-300M-448px-V2_5safetensorspermissive
FactsParams304MSize608 MBFormatssafetensorsTaskimage feature extractionLicenseMITFrom sourcepermissive
$ fw get OpenGVLab/InternViT-300M-448px-V2_5
# manifest sha256 081c48abdf01… · 608 MB · 8 files
$ fw verify ./InternViT-300M-448px-V2_5 OpenGVLab/InternViT-300M-448px-V2_5
From sourceHosted (signed)OpenGVLab/InternViT-300M-448px-V2_5Last check: 2026-11-15 03:41 UTC

Get help: custom fine-tune or private deploy. We review your setup before we quote.

Fine-tune of InternViT-300M-448px.

Works with

Runs with

Ranked by fit to this model (safetensors), then by GitHub stars.

Overview

Size
608 MB
Weights
608 MB (safetensors)
Parameters
304M
Formats
safetensors
Task
image feature extraction
License
MIT (permissive)
Files
8, each with a sha256
Publisher
OpenGVLab
Added
2026-11-15
Section
alt.freeweights.vision
Lineage

Original release from the publisher.

Base model: OpenGVLab/InternViT-300M-448px

Where these bytes come from
Publisher at the pinned commit→You

Sources are tried in order. A file counts only when its size and sha256 match the manifest. Sources are checked when you ask for them, not on a timer.

Sources
BadgeHostLast checkResult
From sourcehuggingface.co2026-11-15 03:41 UTCpassed

Model card

From the publisher at commit 8f86a5e. Shown as plain text with links; images open at the publisher.

InternViT-300M-448px-V2_5#

[\[πŸ“‚ GitHub\]](https://github.com/OpenGVLab/InternVL) [\[πŸ“œ InternVL 1.0\]](https://huggingface.co/papers/2312.14238) [\[πŸ“œ InternVL 1.5\]](https://huggingface.co/papers/2404.16821) [\[πŸ“œ Mini-InternVL\]](https://arxiv.org/abs/2410.16261) [\[πŸ“œ InternVL 2.5\]](https://huggingface.co/papers/2412.05271)

[\[πŸ†• Blog\]](https://internvl.github.io/blog/) [\[πŸ—¨οΈ Chat Demo\]](https://internvl.opengvlab.com/) [\[πŸ€— HF Demo\]](https://huggingface.co/spaces/OpenGVLab/InternVL) [\[πŸš€ Quick Start\]](#quick-start) [\[πŸ“– Documents\]](https://internvl.readthedocs.io/en/latest/)

Image: image

Introduction#

We are excited to announce the release of InternViT-300M-448px-V2_5, a significant enhancement built on the foundation of InternViT-300M-448px. By employing ViT incremental learning with NTP loss (Stage 1.5), the vision encoder has improved its ability to extract visual features, enabling it to capture more comprehensive information. This improvement is particularly noticeable in domains that are underrepresented in large-scale web datasets such as LAION-5B, including multilingual OCR data and mathematical charts, among others.

Image: image/png

InternViT 2.5 Family#

In the following table, we provide an overview of the InternViT 2.5 series.

Model NameHF Link
InternViT-300M-448px-V2_5πŸ€— link
InternViT-6B-448px-V2_5πŸ€— link

Model Architecture#

As shown in the following figure, InternVL 2.5 retains the same model architecture as its predecessors, InternVL 1.5 and 2.0, following the "ViT-MLP-LLM" paradigm. In this new version, we integrate a newly incrementally pre-trained InternViT with various pre-trained LLMs, including InternLM 2.5 and Qwen 2.5, using a randomly initialized MLP projector.

Image: image/png

As in the previous version, we applied a pixel unshuffle operation, reducing the number of visual tokens to one-quarter of the original. Besides, we adopted a similar dynamic resolution strategy as InternVL 1.5, dividing images into tiles of 448Γ—448 pixels. The key difference, starting from InternVL 2.0, is that we additionally introduced support for multi-image and video data.

Training Strategy#

Dynamic High-Resolution for Multimodal Data#

In InternVL 2.0 and 2.5, we extend the dynamic high-resolution training approach, enhancing its capabilities to handle multi-image and video datasets.

Image: image/png

  • For single-image datasets, the total number of tiles n_max are allocated to a single image for maximum resolution. Visual tokens are enclosed in <img> and </img> tags.
  • For multi-image datasets, the total number of tiles n_max are distributed across all images in a sample. Each image is labeled with auxiliary tags like Image-1 and enclosed in <img> and </img> tags.
  • For videos, each frame is resized to 448Γ—448. Frames are labeled with tags like Frame-1 and enclosed in <img> and </img> tags, similar to images.
Single Model Training Pipeline#

The training pipeline for a single model in InternVL 2.5 is structured across three stages, designed to enhance the model's visual perception and multimodal capabilities.

Image: image/png

  • Stage 1: MLP Warmup. In this stage, only the MLP projector is trained while the vision encoder and language model are frozen. A dynamic high-resolution training strategy is applied for better performance, despite increased cost. This phase ensures robust cross-modal alignment and prepares the model for stable multimodal training.
  • Stage 1.5: ViT Incremental Learning (Optional). This stage allows incremental training of the vision encoder and MLP projector using the same data as Stage 1. It enhances the encoder’s ability to handle rare domains like multilingual OCR and mathematical charts. Once trained, the encoder can be reused across LLMs without retraining, making this stage optional unless new domains are introduced.
  • Stage 2: Full Model Instruction Tuning. The entire model is trained on high-quality multimodal instruction datasets. Strict data quality controls are enforced to prevent degradation of the LLM, as noisy data can cause issues like repetitive or incorrect outputs. After this stage, the training process is complete.

Evaluation on Vision Capability#

We present a comprehensive evaluation of the vision encoder’s performance across various domains and tasks. The evaluation is divided into two key categories: (1) image classification, representing global-view semantic quality, and (2) semantic segmentation, capturing local-view semantic quality. This approach allows us to assess the representation quality of InternViT across its successive version updates. Please refer to our technical report for more details.

Image Classification#

Image: image/png

Image classification performance across different versions of InternViT. We use IN-1K for training and evaluate on the IN-1K validation set as well as multiple ImageNet variants, including IN-ReaL, IN-V2, IN-A, IN-R, and IN-Sketch. Results are reported for both linear probing and attention pooling probing methods, with average accuracy for each method. βˆ† represents the performance gap between attention pooling probing and linear probing, where a larger βˆ† suggests a shift from learning simple linear features to capturing more complex, nonlinear semantic representations.

Semantic Segmentation Performance#

Image: image/png

Semantic segmentation performance across different versions of InternViT. The models are evaluated on ADE20K and COCO-Stuff-164K using three configurations: linear probing, head tuning, and full tuning. The table shows the mIoU scores for each configuration and their averages. βˆ†1 represents the gap between head tuning and linear probing, while βˆ†2 shows the gap between full tuning and linear probing. A larger βˆ† value indicates a shift from simple linear features to more complex, nonlinear representations.

Quick Start#

\[!Warning\] 🚨 Note: In our experience, the InternViT V2.5 series is better suited for building MLLMs than traditional computer vision tasks.

import torch
from PIL import Image
from transformers import AutoModel, CLIPImageProcessor

model = AutoModel.from_pretrained(
    'OpenGVLab/InternViT-300M-448px-V2_5',
    torch_dtype=torch.bfloat16,
    low_cpu_mem_usage=True,
    trust_remote_code=True).cuda().eval()

image = Image.open('./examples/image1.jpg').convert('RGB')

image_processor = CLIPImageProcessor.from_pretrained('OpenGVLab/InternViT-300M-448px-V2_5')

pixel_values = image_processor(images=image, return_tensors='pt').pixel_values
pixel_values = pixel_values.to(torch.bfloat16).cuda()

outputs = model(pixel_values)

License#

This project is released under the MIT License.

Citation#

If you find this project useful in your research, please consider citing:

@article{chen2024expanding,
  title={Expanding Performance Boundaries of Open-Source Multimodal Models with Model, Data, and Test-Time Scaling},
  author={Chen, Zhe and Wang, Weiyun and Cao, Yue and Liu, Yangzhou and Gao, Zhangwei and Cui, Erfei and Zhu, Jinguo and Ye, Shenglong and Tian, Hao and Liu, Zhaoyang and others},
  journal={arXiv preprint arXiv:2412.05271},
  year={2024}
}
@article{gao2024mini,
  title={Mini-internvl: A flexible-transfer pocket multimodal model with 5\% parameters and 90\% performance},
  author={Gao, Zhangwei and Chen, Zhe and Cui, Erfei and Ren, Yiming and Wang, Weiyun and Zhu, Jinguo and Tian, Hao and Ye, Shenglong and He, Junjun and Zhu, Xizhou and others},
  journal={arXiv preprint arXiv:2410.16261},
  year={2024}
}
@article{chen2024far,
  title={How Far Are We to GPT-4V? Closing the Gap to Commercial Multimodal Models with Open-Source Suites},
  author={Chen, Zhe and Wang, Weiyun and Tian, Hao and Ye, Shenglong and Gao, Zhangwei and Cui, Erfei and Tong, Wenwen and Hu, Kongzhi and Luo, Jiapeng and Ma, Zheng and others},
  journal={arXiv preprint arXiv:2404.16821},
  year={2024}
}
@inproceedings{chen2024internvl,
  title={Internvl: Scaling up vision foundation models and aligning for generic visual-linguistic tasks},
  author={Chen, Zhe and Wu, Jiannan and Wang, Wenhai and Su, Weijie and Chen, Guo and Xing, Sen and Zhong, Muyan and Zhang, Qinglong and Zhu, Xizhou and Lu, Lewei and others},
  booktitle={Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition},
  pages={24185--24198},
  year={2024}
}

Files

8 files Β· 608 MBWeights 608 MB (safetensors). Sizes and sha256 from the signed manifest.
Hide all 8 files with their sha256
FileSizesha256
.gitattributes1.52 KB11ad7efa24975ee4b0c3c3a38ed18737f0658a5f75a0a96787b576a78a023361
README.md9.72 KB00072b4bbbd1179c523b3b247ba11dcec11140fe8cce4937a7273b320ae9ebeb
config.json748 B5d42d1342d4d95ffb4c1bc0cd217c8ccd4240c4e1b8b21dac4ece5368aa35462
configuration_intern_vit.py5.55 KB5bf42e1fdd013b93e90ad355cb8f3abf9bfd35712f120d38d4a2fa26ac635675
flash_attention.py3.46 KB81c4f08c9dc75668b385b410b67c898973b3d8ddb7d248704d4565959e241cbf
model.safetensors608 MBe88b49b25b61cf1874f4b9eb1289ab16fffcaa2f0e0766daceaaf3ec1471a9a3
modeling_intern_vit.py14.9 KBeb20457de0a1748d8fa7f45af99c35372ca25abf3429584daa1d95fd42ddab28
preprocessor_config.json287 B0658115064c561026539aeeead9ed3b1a8e0cc90967df8c142849199f955d2b4
VersionsEach time the pinned upstream commit or file list changed in this repo. Newest first.
Upstream commitDateContents
8f86a5e876 pinned now2026-11-15 03:41 UTC8 files Β· 608 MB

Use it

$ fw get OpenGVLab/InternViT-300M-448px-V2_5
# manifest sha256 081c48abdf01… · 608 MB · 8 files
$ fw verify ./InternViT-300M-448px-V2_5 OpenGVLab/InternViT-300M-448px-V2_5
fw.pyChecks the signature and every sha256, tries each source in order, resumes.
$ python3 fw.py get https://freeweights.allternit.com/manifests/OpenGVLab/InternViT-300M-448px-V2_5.json --dir ./InternViT-300M-448px-V2_5 $ python3 fw.py verify ./InternViT-300M-448px-V2_5 ./OpenGVLab__InternViT-300M-448px-V2_5.json
hfThe Hugging Face CLI with one setting. Same repo id.
$ HF_ENDPOINT=https://freeweights.allternit.com hf download OpenGVLab/InternViT-300M-448px-V2_5 --revision 8f86a5e87697180b439811ca69fabbfccd38d996 --local-dir ./InternViT-300M-448px-V2_5

License

Name
MIT License
Id
MIT
Class
Permissive
Redistribution
yes
Listing
Hosted (signed)
Decided
License as declared by the publisher. No person read it. 2026-11-15
Text in
README.md
Text sha256
00072b4bbbd1179c523b3b247ba11dcec11140fe8cce4937a7273b320ae9ebeb
Terms gate
No extra terms beyond the license.

Read the license text

Licenses are checked against the license table. A custom license passes only after a person reads it.

Provenance

From: OpenGVLab <huggingface.co/OpenGVLab>Newsgroups: alt.freeweights.visionSubject: InternViT-300M-448px-V2_5Date: 2026-11-15Commit: 8f86a5eSigned: 2DC28CC7B26A283B ✓
Upstream
OpenGVLab/InternViT-300M-448px-V2_5
Pinned commit
8f86a5e87697180b439811ca69fabbfccd38d996
Manifest
InternViT-300M-448px-V2_5.json Β· .minisig
Manifest sha256
081c48abdf01db20e08edd7923c07bd91dc762accc0deab6b1d690d95ea5ad82
Signature
minisign, Ed25519, key 2DC28CC7B26A283B
Created
2026-11-15 03:41 UTC
Generator
freeweights-manifest/0.1.0
Takedowns
None.

How to verify

$ curl -O https://freeweights.allternit.com/manifests/OpenGVLab/InternViT-300M-448px-V2_5.json $ curl -O https://freeweights.allternit.com/manifests/OpenGVLab/InternViT-300M-448px-V2_5.json.minisig $ minisign -Vm InternViT-300M-448px-V2_5.json -P RWQ7KGqyx4zCLXtUFOqvfv8L3g+8fpKJ1FsuxPyOYMF+4KufbUxKq1Oq $ shasum -a 256 <file> # compare with the Files tab

A manifest whose signature fails must be rejected. A file whose size or sha256 does not match must be discarded. Verify a download

Model tree

Parent

OpenGVLab/InternViT-300M-448px Β· this model is a finetune of it

6 models in the catalog name this one as their parent.

Merges
6
Get it
Download
$ HF_ENDPOINT=https://freeweights.allternit.com hf download OpenGVLab/InternViT-300M-448px-V2_5
Open in Freeweights Studio

Pull, verify and run it in the Allternit app on Desktop, web or phone.

Signed manifest
minisign, key 2DC28CC7B26A283B. InternViT-300M-448px-V2_5.json. Provenance. Takedown history: none.
From: dima806 <huggingface.co/dima806>Subject: ai_vs_real_image_detection
From: legekka <huggingface.co/legekka>Subject: AI-Anime-Image-Detector-ViT
From: onnx-community <huggingface.co/onnx-community>Subject: AI-Anime-Image-Detector-ViT-ONNX
From: AICodexLab <huggingface.co/AICodexLab>Subject: answerdotai-ModernBERT-base-ai-detector
From: onnx-community <huggingface.co/onnx-community>Subject: answerdotai-ModernBERT-base-ai-detector-ONNX
From: onnx-community <huggingface.co/onnx-community>Subject: bart-large-cnn-ONNX