Hugging Face's logo Hugging Face
  • Models
  • Datasets
  • Spaces
  • Buckets new
  • Docs
  • Enterprise
  • Pricing
    • Website
      • Tasks
      • HuggingChat
      • Collections
      • Languages
      • Organizations
    • Community
      • Blog
      • Posts
      • Daily Papers
      • Hardware
      • Learn
      • Discord
      • Forum
      • GitHub
    • Solutions
      • Team & Enterprise
      • Hugging Face PRO
      • Enterprise Support
      • Inference Providers
      • Inference Endpoints
      • Storage Buckets

  • Log In
  • Sign Up

XiaomiMiMo
/
MiMo-V2.6-Distill-Qwen-9B

Image-Text-to-Text
Transformers
Safetensors
qwen3_5
mimo_v2
agentic
distillation
supervised-fine-tuning
code
tool-use
conversational
Eval Results
Model card Files Files and versions
xet
Community
12

Instructions to use XiaomiMiMo/MiMo-V2.6-Distill-Qwen-9B with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Transformers

    How to use XiaomiMiMo/MiMo-V2.6-Distill-Qwen-9B with Transformers:

    # Use a pipeline as a high-level helper
    from transformers import pipeline
    
    pipe = pipeline("image-text-to-text", model="XiaomiMiMo/MiMo-V2.6-Distill-Qwen-9B")
    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("XiaomiMiMo/MiMo-V2.6-Distill-Qwen-9B")
    model = AutoModelForMultimodalLM.from_pretrained("XiaomiMiMo/MiMo-V2.6-Distill-Qwen-9B", 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?"}
            ]
        },
    ]
    inputs = processor.apply_chat_template(
    	messages,
    	add_generation_prompt=True,
    	tokenize=True,
    	return_dict=True,
    	return_tensors="pt",
    ).to(model.device)
    
    outputs = model.generate(**inputs, max_new_tokens=40)
    print(processor.decode(outputs[0][inputs["input_ids"].shape[-1]:]))
  • Notebooks
  • Google Colab
  • Kaggle
  • Local Apps Settings
  • vLLM

    How to use XiaomiMiMo/MiMo-V2.6-Distill-Qwen-9B with vLLM:

    Install from pip and serve model
    # Install vLLM from pip:
    pip install vllm
    # Start the vLLM server:
    vllm serve "XiaomiMiMo/MiMo-V2.6-Distill-Qwen-9B"
    # Call the server using curl (OpenAI-compatible API):
    curl -X POST "http://localhost:8000/v1/chat/completions" \
    	-H "Content-Type: application/json" \
    	--data '{
    		"model": "XiaomiMiMo/MiMo-V2.6-Distill-Qwen-9B",
    		"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/XiaomiMiMo/MiMo-V2.6-Distill-Qwen-9B
  • SGLang

    How to use XiaomiMiMo/MiMo-V2.6-Distill-Qwen-9B 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 "XiaomiMiMo/MiMo-V2.6-Distill-Qwen-9B" \
        --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": "XiaomiMiMo/MiMo-V2.6-Distill-Qwen-9B",
    		"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 "XiaomiMiMo/MiMo-V2.6-Distill-Qwen-9B" \
            --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": "XiaomiMiMo/MiMo-V2.6-Distill-Qwen-9B",
    		"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 XiaomiMiMo/MiMo-V2.6-Distill-Qwen-9B with Docker Model Runner:

    docker model run hf.co/XiaomiMiMo/MiMo-V2.6-Distill-Qwen-9B
New discussion
Resources
  • PR & discussions documentation
  • Code of Conduct
  • Hub documentation

please, give PARAMS temp, top_k, top_p.. etc

👍 5
2
#12 opened 9 days ago by
KottCh

Data Availability

#11 opened 10 days ago by
Alicorn-Max

Add evaluation results

#9 opened 12 days ago by
SaylorTwift

MTP support

🤝 7
4
#8 opened 12 days ago by
darkreaperboy

Non-stop running in llama.cpp

1
#7 opened 12 days ago by
bpool

Tool calls and reasoning not reliable on llama.cpp (fix provided)

👍❤️ 18
8
#6 opened 12 days ago by
coder543

maple ternary model finetuning?

❤️ 2
#5 opened 13 days ago by
rodrigomt

Clarification: MiMo reasoning boundary can leak literal </think> into content with the upstream template (BF16)

#4 opened 13 days ago by
ramgpt

Qwen 3.5/3.6 35b/a3b Finetune?

👍 18
3
#3 opened 13 days ago by
Fizzarolli

Will the RL version be released?

➕ 40
7
#2 opened 13 days ago by
guiopen

Possibility to create SFT off Nanbeige4.2-3B?

🚀❤️ 6
3
#1 opened 13 days ago by
dotyerts
Company
TOS Privacy About Careers
Website
Models Datasets Spaces Pricing Docs