Image-Text-to-Text
Transformers
Safetensors
multilingual
internvl_chat
feature-extraction
internvl
custom_code
conversational
Eval Results
Run this model with HF Jobs
Run OpenGVLab/InternVL3_5-8B on Hugging Face's managed compute, monitor its progress, and retrieve the results when it's done.
Paste one of these prompts into your coding agent:
Fine-tune on my dataset
Use HF Jobs and TRL to fine-tune https://huggingface.co/OpenGVLab/InternVL3_5-8B. Ask me which dataset to train on, then push the fine-tuned model to a new model repo. Run `hf jobs --help` first to learn the CLI.
Run batch inference
Use HF Jobs to run batch inference with https://huggingface.co/OpenGVLab/InternVL3_5-8B on the inputs in a mounted HF Bucket. Ask me which Bucket to use, then write the outputs back to it and keep each input ID. Run `hf jobs --help` first to learn the CLI.
Evaluate on a benchmark
Use HF Jobs to evaluate https://huggingface.co/OpenGVLab/InternVL3_5-8B. Ask me which benchmark to run, then save the scores and the per-example results to a new dataset repo. Run `hf jobs --help` first to learn the CLI.
Quantize for lower memory use
Use HF Jobs to create a 4-bit version of https://huggingface.co/OpenGVLab/InternVL3_5-8B. Push it to a new model repo, then reload it from there and report its memory footprint. Run `hf jobs --help` first to learn the CLI.
Instructions to use OpenGVLab/InternVL3_5-8B with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use OpenGVLab/InternVL3_5-8B with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-text-to-text", model="OpenGVLab/InternVL3_5-8B", trust_remote_code=True) messages = [ { "role": "user", "content": [ {"type": "image", "url": "https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/p-blog/candy.JPG"}, {"type": "text", "text": "What animal is on the candy?"} ] }, ] pipe(text=messages)# pip install -U transformers accelerate # Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("OpenGVLab/InternVL3_5-8B", trust_remote_code=True, device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use OpenGVLab/InternVL3_5-8B with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "OpenGVLab/InternVL3_5-8B" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "OpenGVLab/InternVL3_5-8B", "messages": [ { "role": "user", "content": [ { "type": "text", "text": "Describe this image in one sentence." }, { "type": "image_url", "image_url": { "url": "https://cdn.britannica.com/61/93061-050-99147DCE/Statue-of-Liberty-Island-New-York-Bay.jpg" } } ] } ] }'Use Docker
docker model run hf.co/OpenGVLab/InternVL3_5-8B
- SGLang
How to use OpenGVLab/InternVL3_5-8B with SGLang:
Install from pip and serve model
# Install SGLang from pip: pip install sglang # Start the SGLang server: python3 -m sglang.launch_server \ --model-path "OpenGVLab/InternVL3_5-8B" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "OpenGVLab/InternVL3_5-8B", "messages": [ { "role": "user", "content": [ { "type": "text", "text": "Describe this image in one sentence." }, { "type": "image_url", "image_url": { "url": "https://cdn.britannica.com/61/93061-050-99147DCE/Statue-of-Liberty-Island-New-York-Bay.jpg" } } ] } ] }'Use Docker images
docker run --gpus all \ --shm-size 32g \ -p 30000:30000 \ -v ~/.cache/huggingface:/root/.cache/huggingface \ --env "HF_TOKEN=<secret>" \ --ipc=host \ lmsysorg/sglang:latest \ python3 -m sglang.launch_server \ --model-path "OpenGVLab/InternVL3_5-8B" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "OpenGVLab/InternVL3_5-8B", "messages": [ { "role": "user", "content": [ { "type": "text", "text": "Describe this image in one sentence." }, { "type": "image_url", "image_url": { "url": "https://cdn.britannica.com/61/93061-050-99147DCE/Statue-of-Liberty-Island-New-York-Bay.jpg" } } ] } ] }' - Docker Model Runner
How to use OpenGVLab/InternVL3_5-8B with Docker Model Runner:
docker model run hf.co/OpenGVLab/InternVL3_5-8B
Upload README.md with huggingface_hub
Browse files6 unmodified lines7891011121329 unmodified lines4344454647484950517 unmodified lines59606162636465666768697071727374757677787980741 unmodified lines8228238248058068078088098108118128138148158168178188198208218228238248258268278288258268278288298308316 unmodified linesbase_model_relation: finetunedatasets: - OpenGVLab/MMPR-v1.2 - OpenGVLab/MMPR-Tinylanguage: - multilingualtags:29 unmodified lines> If you want to convert the checkpoint between these two formats, please refer to the scripts about [custom2hf](https://github.com/OpenGVLab/InternVL/blob/main/internvl_chat/tools/internvl_custom2hf.py) and [hf2custom](https://github.com/OpenGVLab/InternVL/blob/main/internvl_chat/tools/internvl_hf2custom.py).
### Github Format
| Model | #Vision Param | #Language Param | #Total Param | HF Link | ModelScope Link || --------------------- | ------------- | --------------- | ------------ | ------------------------------------------------------------------------------ | ---------------------------------------------------------------------------------------- || InternVL3.5-1B | 0.3B | 0.8B | 1.1B | [π€ link](https://huggingface.co/OpenGVLab/InternVL3_5-1B) | [π€ link](https://www.modelscope.cn/models/OpenGVLab/InternVL3_5-1B) |7 unmodified lines| InternVL3.5-241B-A28B | 5.5B | 235.1B | 240.7B-A29B | [π€ link](https://huggingface.co/OpenGVLab/InternVL3_5-241B-A28B) | [π€ link](https://www.modelscope.cn/models/OpenGVLab/InternVL3_5-241B-A28B) |
### HuggingFace Format
| Model | #Vision Param | #Language Param | #Total Param | HF Link | ModelScope Link || ------------------------ | ------------- | --------------- | ------------ | --------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------- || InternVL3.5-1B-HF | 0.3B | 0.8B | 1.1B | [π€ link](https://huggingface.co/OpenGVLab/InternVL3_5-1B-HF) | [π€ link](https://www.modelscope.cn/models/OpenGVLab/InternVL3_5-1B-HF) || InternVL3.5-2B-HF | 0.3B | 2.0B | 2.3B | [π€ link](https://huggingface.co/OpenGVLab/InternVL3_5-2B-HF) | [π€ link](https://www.modelscope.cn/models/OpenGVLab/InternVL3_5-2B-HF) || InternVL3.5-4B-HF | 0.3B | 4.4B | 4.7B | [π€ link](https://huggingface.co/OpenGVLab/InternVL3_5-4B-HF) | [π€ link](https://www.modelscope.cn/models/OpenGVLab/InternVL3_5-4B-HF) || InternVL3.5-8B-HF | 0.3B | 8.2B | 8.5B | [π€ link](https://huggingface.co/OpenGVLab/InternVL3_5-8B-HF) | [π€ link](https://www.modelscope.cn/models/OpenGVLab/InternVL3_5-8B-HF) || InternVL3.5-14B-HF | 0.3B | 14.8B | 15.1B | [π€ link](https://huggingface.co/OpenGVLab/InternVL3_5-14B-HF) | [π€ link](https://www.modelscope.cn/models/OpenGVLab/InternVL3_5-14B-HF) || InternVL3.5-38B-HF | 5.5B | 32.8B | 38.4B | [π€ link](https://huggingface.co/OpenGVLab/InternVL3_5-38B-HF) | [π€ link](https://www.modelscope.cn/models/OpenGVLab/InternVL3_5-38B-HF) || InternVL3.5-20B-A4B-HF | 0.3B | 20.9B | 21.2B-A4B | [π€ link](https://huggingface.co/OpenGVLab/InternVL3_5-GPT-OSS-20B-A4B-Preview-HF) | [π€ link](https://www.modelscope.cn/models/OpenGVLab/InternVL3_5-GPT-OSS-20B-A4B-Preview-HF) || InternVL3.5-30B-A3B-HF | 0.3B | 30.5B | 30.8B-A3B | [π€ link](https://huggingface.co/OpenGVLab/InternVL3_5-30B-A3B-HF) | [π€ link](https://www.modelscope.cn/models/OpenGVLab/InternVL3_5-30B-A3B-HF) || InternVL3.5-241B-A28B-HF | 5.5B | 235.1B | 240.7B-A29B | [π€ link](https://huggingface.co/OpenGVLab/InternVL3_5-241B-A28B-HF) | [π€ link](https://www.modelscope.cn/models/OpenGVLab/InternVL3_5-241B-A28B-HF) |

> We conduct the evaluation with [VLMEvalkit](https://github.com/open-compass/VLMEvalKit). ***To enable the Thinking mode of our model, please set the system prompt to [R1_SYSTEM_PROMPT](https://github.com/open-compass/VLMEvalKit/blob/main/vlmeval/vlm/internvl/internvl_chat.py#L38).*** When enabling Thinking mode, we recommend setting `do_sample=True` and `temperature=0.6` to mitigate undesired repetition.741 unmodified linesIf you find this project useful in your research, please consider citing:
```BibTeX@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{wang2024mpo, title={Enhancing the Reasoning Ability of Multimodal Large Language Models via Mixed Preference Optimization}, author={Wang, Weiyun and Chen, Zhe and Wang, Wenhai and Cao, Yue and Liu, Yangzhou and Gao, Zhangwei and Zhu, Jinguo and Zhu, Xizhou and Lu, Lewei and Qiao, Yu and Dai, Jifeng}, journal={arXiv preprint arXiv:2411.10442}, 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}@article{wang2025internvl3_5, title={InternVL3.5: Advancing Open-Source Multimodal Models in Versatility, Reasoning, and Efficiency}, author={Wang, Weiyun and Gao, Zhangwei and Gu, Lixin and Pu, Hengjun and Cui Long and Wei, Xingguang and Liu, Zhaoyang and Jing, Linglin and Ye, Shenglong and Shao, Jie and others}, journal={arXiv preprint arXiv:2508.18265}, year={2025}}```README.md+25-24