Instructions to use unsloth/MiMo-VL-7B-RL-GGUF with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use unsloth/MiMo-VL-7B-RL-GGUF with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-text-to-text", model="unsloth/MiMo-VL-7B-RL-GGUF", device_map="auto") 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)# Load model directly from transformers import AutoProcessor, AutoModelForMultimodalLM processor = AutoProcessor.from_pretrained("unsloth/MiMo-VL-7B-RL-GGUF") model = AutoModelForMultimodalLM.from_pretrained("unsloth/MiMo-VL-7B-RL-GGUF", device_map="auto") - llama-cpp-python
How to use unsloth/MiMo-VL-7B-RL-GGUF with llama-cpp-python:
# !pip install llama-cpp-python from llama_cpp import Llama llm = Llama.from_pretrained( repo_id="unsloth/MiMo-VL-7B-RL-GGUF", filename="MiMo-VL-7B-RL-BF16.gguf", )
llm.create_chat_completion( 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" } } ] } ] ) - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- llama.cpp
How to use unsloth/MiMo-VL-7B-RL-GGUF with llama.cpp:
Install (macOS, Linux)
curl -LsSf https://llama.app/install.sh | sh # Start a local OpenAI-compatible server with a web UI: llama serve -hf unsloth/MiMo-VL-7B-RL-GGUF:UD-Q4_K_XL # Run inference directly in the terminal: llama cli -hf unsloth/MiMo-VL-7B-RL-GGUF:UD-Q4_K_XL
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama serve -hf unsloth/MiMo-VL-7B-RL-GGUF:UD-Q4_K_XL # Run inference directly in the terminal: llama cli -hf unsloth/MiMo-VL-7B-RL-GGUF:UD-Q4_K_XL
Use pre-built binary
# Download pre-built binary from: # https://github.com/ggerganov/llama.cpp/releases # Start a local OpenAI-compatible server with a web UI: ./llama-server -hf unsloth/MiMo-VL-7B-RL-GGUF:UD-Q4_K_XL # Run inference directly in the terminal: ./llama-cli -hf unsloth/MiMo-VL-7B-RL-GGUF:UD-Q4_K_XL
Build from source code
git clone https://github.com/ggerganov/llama.cpp.git cd llama.cpp cmake -B build cmake --build build -j --target llama-server llama-cli # Start a local OpenAI-compatible server with a web UI: ./build/bin/llama-server -hf unsloth/MiMo-VL-7B-RL-GGUF:UD-Q4_K_XL # Run inference directly in the terminal: ./build/bin/llama-cli -hf unsloth/MiMo-VL-7B-RL-GGUF:UD-Q4_K_XL
Use Docker
docker model run hf.co/unsloth/MiMo-VL-7B-RL-GGUF:UD-Q4_K_XL
- LM Studio
- Jan
- vLLM
How to use unsloth/MiMo-VL-7B-RL-GGUF with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "unsloth/MiMo-VL-7B-RL-GGUF" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "unsloth/MiMo-VL-7B-RL-GGUF", "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/unsloth/MiMo-VL-7B-RL-GGUF:UD-Q4_K_XL
- SGLang
How to use unsloth/MiMo-VL-7B-RL-GGUF 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 "unsloth/MiMo-VL-7B-RL-GGUF" \ --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": "unsloth/MiMo-VL-7B-RL-GGUF", "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 "unsloth/MiMo-VL-7B-RL-GGUF" \ --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": "unsloth/MiMo-VL-7B-RL-GGUF", "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" } } ] } ] }' - Ollama
How to use unsloth/MiMo-VL-7B-RL-GGUF with Ollama:
ollama run hf.co/unsloth/MiMo-VL-7B-RL-GGUF:UD-Q4_K_XL
- Unsloth Studio
How to use unsloth/MiMo-VL-7B-RL-GGUF with Unsloth Studio:
Install Unsloth Studio (macOS, Linux, WSL)
curl -fsSL https://unsloth.ai/install.sh | sh # Run unsloth studio unsloth studio -H 0.0.0.0 -p 8888 # Then open http://localhost:8888 in your browser # Search for unsloth/MiMo-VL-7B-RL-GGUF to start chatting
Install Unsloth Studio (Windows)
irm https://unsloth.ai/install.ps1 | iex # Run unsloth studio unsloth studio -H 0.0.0.0 -p 8888 # Then open http://localhost:8888 in your browser # Search for unsloth/MiMo-VL-7B-RL-GGUF to start chatting
Using HuggingFace Spaces for Unsloth
# No setup required # Open https://huggingface.co/spaces/unsloth/studio in your browser # Search for unsloth/MiMo-VL-7B-RL-GGUF to start chatting
- Atomic Chat new
- Docker Model Runner
How to use unsloth/MiMo-VL-7B-RL-GGUF with Docker Model Runner:
docker model run hf.co/unsloth/MiMo-VL-7B-RL-GGUF:UD-Q4_K_XL
- Lemonade
How to use unsloth/MiMo-VL-7B-RL-GGUF with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull unsloth/MiMo-VL-7B-RL-GGUF:UD-Q4_K_XL
Run and chat with the model
lemonade run user.MiMo-VL-7B-RL-GGUF-UD-Q4_K_XL
List all available models
lemonade list
Unsloth Dynamic 2.0 achieves superior accuracy & outperforms other leading quants.
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
MiMo-VL Technical Report
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
I. Introduction
In this report, we share our efforts to build a compact yet powerful VLM, MiMo-VL-7B. MiMo-VL-7B comprises (1) a native resolution ViT encoder that preserves fine-grained visual details, (2) an MLP projector for efficient cross-modal alignment, and (3) our MiMo-7B language model, specifically optimized for complex reasoning tasks.
The development of MiMo-VL-7B involves two sequential training processes: (1) A four-stage pre-training phase, which includes projector warmup, vision-language alignment, general multi-modal pre-training, and long-context Supervised Fine-Tuning (SFT). This phase yields the MiMo-VL-7B-SFT model. (2) A subsequent post-training phase, where we introduce Mixed On-policy Reinforcement Learning (MORL), a novel framework that seamlessly integrates diverse reward signals spanning perception accuracy, visual grounding precision, logical reasoning capabilities, and human/AI preferences. This phase yields the MiMo-VL-7B-RL model.
We open-source MiMo-VL-7B series, including checkpoints of the SFT and RL model. We believe this report along with the models will provide valuable insights to develop powerful reasoning VLMs that benefit the larger community.
๐ค๏ธ During this journey, we find
- Incorporating high-quality, broad-coverage reasoning data from the pre-training stage is crucial for enhancing model performance
- We curate high-quality reasoning data by identifying diverse queries, employing large reasoning models to regenerate responses with long CoT, and applying rejection sampling to ensure quality.
- Rather than treating this as supplementary fine-tuning data, we incorporate substantial volumes of this synthetic reasoning data directly into the later pre-training stages, where extended training yields continued performance improvements without saturation.
- Mixed On-policy Reinforcement Learning further enhances model performance, while achieving stable simultaneous improvements remains challenging
- We apply RL across diverse capabilities, including reasoning, perception, grounding, and human preference alignment, spanning modalities including text, images, and videos. While this hybrid training approach further unlock modelโs potential, interference across data domains remains a challenge.
II. Model Details
Models are available at Huggingface Collections: MiMo-VL and ModelScope Collections: MiMo-VL
| Model | Description | Download (HuggingFace) | Download (ModelScope) |
|---|---|---|---|
| MiMo-VL-7B-SFT | VLM with extraordinary reasoning potential after 4-stage pre-training | ๐ค XiaomiMiMo/MiMo-VL-7B-SFT | ๐ค๏ธ XiaomiMiMo/MiMo-VL-7B-SFT |
| MiMo-VL-7B-RL | RL model leapfrogging existing open-source models | ๐ค XiaomiMiMo/MiMo-VL-7B-RL | ๐ค๏ธ XiaomiMiMo/MiMo-VL-7B-RL |
III. Evaluation Results
General Capabilities
In general visual-language understanding, MiMo-VL-7B models achieve state-of-the-art open-source results.
Reasoning Tasks
In multi-modal reasoning, both the SFT and RL models significantly outperform all compared open-source baselines across these benchmarks.
Results marked with * are obtained using our evaluation framework. Tasks with ${\dagger}$ are evaluated by GPT-4o.
GUI Tasks
MiMo-VL-7B-RL possess exceptional GUI understanding and grounding capabilities. As a general-purpose VL model, MiMo-VL achieves comparable or even superior performance to GUI-specialized models.
Elo Rating
With our in-house evaluation dataset and GPT-4o judgments, MiMo-VL-7B-RL achieves the highest Elo rating among all evaluated open-source vision-language models, ranking first across models spanning from 7B to 72B parameters.
IV. Deployment
The MiMo-VL-7B series maintain full compatibility with the Qwen2_5_VLForConditionalGeneration architecture for deployment and inference.
V. Citation
@misc{coreteam2025mimovl,
title={MiMo-VL Technical Report},
author={{Xiaomi LLM-Core Team}},
year={2025},
url={https://github.com/XiaomiMiMo/MiMo-VL},
}
VI. Contact
Please contact us at mimo@xiaomi.com or open an issue if you have any questions.
- Downloads last month
- 4,391
1-bit
2-bit
3-bit
4-bit
5-bit
6-bit
8-bit
16-bit
Model tree for unsloth/MiMo-VL-7B-RL-GGUF
Unable to build the model tree, the base model loops to the model itself. Learn more.