Text Generation
Safetensors
GGUF
English
Chinese
vllm
mimo_v2
nvfp4
modelopt
mixture-of-experts
lossless-weight-transcode
conversational
custom_code
8-bit precision
Instructions to use ProCreations/MiMo-V2.6-Flash-MOPD-NVFP4 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- llama.cpp
How to use ProCreations/MiMo-V2.6-Flash-MOPD-NVFP4 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 ProCreations/MiMo-V2.6-Flash-MOPD-NVFP4:BF16 # Run inference directly in the terminal: llama cli -hf ProCreations/MiMo-V2.6-Flash-MOPD-NVFP4:BF16
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama serve -hf ProCreations/MiMo-V2.6-Flash-MOPD-NVFP4:BF16 # Run inference directly in the terminal: llama cli -hf ProCreations/MiMo-V2.6-Flash-MOPD-NVFP4:BF16
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 ProCreations/MiMo-V2.6-Flash-MOPD-NVFP4:BF16 # Run inference directly in the terminal: ./llama-cli -hf ProCreations/MiMo-V2.6-Flash-MOPD-NVFP4:BF16
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 ProCreations/MiMo-V2.6-Flash-MOPD-NVFP4:BF16 # Run inference directly in the terminal: ./build/bin/llama-cli -hf ProCreations/MiMo-V2.6-Flash-MOPD-NVFP4:BF16
Use Docker
docker model run hf.co/ProCreations/MiMo-V2.6-Flash-MOPD-NVFP4:BF16
- LM Studio
- Jan
- vLLM
How to use ProCreations/MiMo-V2.6-Flash-MOPD-NVFP4 with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "ProCreations/MiMo-V2.6-Flash-MOPD-NVFP4" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "ProCreations/MiMo-V2.6-Flash-MOPD-NVFP4", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/ProCreations/MiMo-V2.6-Flash-MOPD-NVFP4:BF16
- Ollama
How to use ProCreations/MiMo-V2.6-Flash-MOPD-NVFP4 with Ollama:
ollama run hf.co/ProCreations/MiMo-V2.6-Flash-MOPD-NVFP4:BF16
- Unsloth Desktop
- Pi
How to use ProCreations/MiMo-V2.6-Flash-MOPD-NVFP4 with Pi:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf ProCreations/MiMo-V2.6-Flash-MOPD-NVFP4:BF16
Configure the model in Pi
# Install Pi: npm install -g @earendil-works/pi-coding-agent # Add to ~/.pi/agent/models.json: { "providers": { "llama-cpp": { "baseUrl": "http://localhost:8080/v1", "api": "openai-completions", "apiKey": "none", "models": [ { "id": "ProCreations/MiMo-V2.6-Flash-MOPD-NVFP4:BF16" } ] } } }Run Pi
# Start Pi in your project directory: pi
- Docker Model Runner
How to use ProCreations/MiMo-V2.6-Flash-MOPD-NVFP4 with Docker Model Runner:
docker model run hf.co/ProCreations/MiMo-V2.6-Flash-MOPD-NVFP4:BF16
- Lemonade
How to use ProCreations/MiMo-V2.6-Flash-MOPD-NVFP4 with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull ProCreations/MiMo-V2.6-Flash-MOPD-NVFP4:BF16
Run and chat with the model
lemonade run user.MiMo-V2.6-Flash-MOPD-NVFP4-BF16
List all available models
lemonade list
- Hermes Agent
How to use ProCreations/MiMo-V2.6-Flash-MOPD-NVFP4 with Hermes Agent:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf ProCreations/MiMo-V2.6-Flash-MOPD-NVFP4:BF16
Configure Hermes
# Install Hermes: curl -fsSL https://hermes-agent.nousresearch.com/install.sh | bash hermes setup # Point Hermes at the local server: hermes config set model.provider custom hermes config set model.base_url http://127.0.0.1:8080/v1 hermes config set model.default ProCreations/MiMo-V2.6-Flash-MOPD-NVFP4:BF16
Run Hermes
hermes
- Atomic Chat
- OpenClaw
How to use ProCreations/MiMo-V2.6-Flash-MOPD-NVFP4 with OpenClaw:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf ProCreations/MiMo-V2.6-Flash-MOPD-NVFP4:BF16
Configure OpenClaw
# Install OpenClaw: npm install -g openclaw@latest # Register the local server and set it as the default model: openclaw onboard --non-interactive --mode local \ --auth-choice custom-api-key \ --custom-base-url http://127.0.0.1:8080/v1 \ --custom-model-id "ProCreations/MiMo-V2.6-Flash-MOPD-NVFP4:BF16" \ --custom-provider-id llama-cpp \ --custom-compatibility openai \ --custom-text-input \ --accept-risk \ --skip-health
Run OpenClaw
openclaw agent --local --agent main --message "Hello from Hugging Face"
Download chat_template.jinja from ProCreations/MiMo-V2.6-Flash-MOPD-NVFP4: direct link, hf CLI and curl.
- Browser
- Download file 3.87 kB
-
https://huggingface.co/ProCreations/MiMo-V2.6-Flash-MOPD-NVFP4/resolve/main/chat_template.jinja
- Command line
-
hf download hf://ProCreations/MiMo-V2.6-Flash-MOPD-NVFP4/chat_template.jinja
-
curl -L -o chat_template.jinja https://huggingface.co/ProCreations/MiMo-V2.6-Flash-MOPD-NVFP4/resolve/main/chat_template.jinja
3.87 kB
| {%- macro render_value(value) -%} | |
| {%- if value is string -%} | |
| {{- value -}} | |
| {%- else -%} | |
| {{- value | tojson(ensure_ascii=False) -}} | |
| {%- endif -%} | |
| {%- endmacro -%} | |
| {%- macro render_content(message_content) -%} | |
| {%- if message_content is string -%} | |
| {{- message_content -}} | |
| {%- elif message_content is iterable -%} | |
| {%- for part in message_content -%} | |
| {%- if part is not mapping -%} | |
| {{- part -}} | |
| {%- elif part['type'] == 'image' or 'image' in part or 'image_url' in part -%} | |
| {{- '<|vision_start|><|image_pad|><|vision_end|>' -}} | |
| {%- elif part['type'] == 'audio' or part['type'] == 'input_audio' or 'audio' in part or 'audio_url' in part or 'input_audio' in part -%} | |
| {{- '<|mimo_audio_start|><|audio_pad|><|mimo_audio_end|>' -}} | |
| {%- elif part['type'] == 'video' or 'video' in part or 'video_url' in part -%} | |
| {{- '<|vision_start|><|video_pad|><|vision_end|>' -}} | |
| {%- elif 'text' in part -%} | |
| {{- part['text'] -}} | |
| {%- endif -%} | |
| {%- endfor -%} | |
| {%- endif -%} | |
| {%- endmacro -%} | |
| {%- macro render_tools(tools) -%} | |
| {{- 'You are provided with the following tools:\n\n<tools>' -}} | |
| {%- for tool in tools -%} | |
| {{- '\n' ~ (tool | tojson(ensure_ascii=False)) -}} | |
| {%- endfor -%} | |
| {{- '\n</tools>' -}} | |
| {%- endmacro -%} | |
| {%- macro render_tool_calls(tool_calls) -%} | |
| {%- for tool_call in tool_calls -%} | |
| {%- if tool_call.function is defined -%} | |
| {%- set tool_call = tool_call.function -%} | |
| {%- elif tool_call.custom is defined -%} | |
| {%- set tool_call = tool_call.custom -%} | |
| {%- endif -%} | |
| {{- '<tool_call><function=' ~ tool_call.name ~ '>' -}} | |
| {%- if tool_call.input is defined and tool_call.input is string -%} | |
| {{- tool_call.input -}} | |
| {%- elif tool_call.arguments -%} | |
| {%- if tool_call.arguments is string -%} | |
| {{- tool_call.arguments -}} | |
| {%- else -%} | |
| {%- for args_name, args_value in tool_call.arguments | items -%} | |
| {{- '<parameter=' ~ args_name ~ '>' ~ render_value(args_value) ~ '</parameter>' -}} | |
| {%- endfor -%} | |
| {%- endif -%} | |
| {%- endif -%} | |
| {{- '</function></tool_call>' -}} | |
| {%- endfor -%} | |
| {%- endmacro -%} | |
| {%- macro render_assistant_message(message) -%} | |
| {%- set content = render_content(message.content) -%} | |
| {%- set reasoning = message.reasoning_content if message.reasoning_content is string else '' -%} | |
| {{- '<|im_start|>assistant\n<think>' ~ reasoning ~ '</think>' ~ content -}} | |
| {%- if message.tool_calls is defined and message.tool_calls is iterable and message.tool_calls | length > 0 -%} | |
| {{- render_tool_calls(message.tool_calls) -}} | |
| {%- endif -%} | |
| {{- '<|im_end|>' -}} | |
| {%- endmacro -%} | |
| {%- if tools is defined and tools is iterable and tools | length > 0 -%} | |
| {{- '<|im_start|>system\n' ~ render_tools(tools) ~ '<|im_end|>' -}} | |
| {%- endif -%} | |
| {%- for message in messages -%} | |
| {%- if message.role == 'assistant' -%} | |
| {{- render_assistant_message(message) -}} | |
| {%- else -%} | |
| {%- set body = render_content(message.content) -%} | |
| {{- '<|im_start|>' ~ message.role ~ '\n' ~ body -}} | |
| {%- if message.tools is defined and message.tools is iterable and message.tools | length > 0 -%} | |
| {%- if body -%} | |
| {{- '\n\n' -}} | |
| {%- endif -%} | |
| {{- render_tools(message.tools) -}} | |
| {%- endif -%} | |
| {{- '<|im_end|>' -}} | |
| {%- endif -%} | |
| {%- endfor -%} | |
| {%- if add_generation_prompt -%} | |
| {{- '<|im_start|>assistant\n' -}} | |
| {%- if enable_thinking is false -%} | |
| {{- '<think></think>' -}} | |
| {%- endif -%} | |
| {%- endif -%} | |