Image-Text-to-Text
Transformers
GGUF
multimodal
Mixture of Experts
agent
coding
video
minimax_m3_vl
conversational
Instructions to use unsloth/MiniMax-M3-GGUF with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use unsloth/MiniMax-M3-GGUF with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-text-to-text", model="unsloth/MiniMax-M3-GGUF") 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 AutoModel model = AutoModel.from_pretrained("unsloth/MiniMax-M3-GGUF", device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- llama.cpp
How to use unsloth/MiniMax-M3-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/MiniMax-M3-GGUF:UD-Q4_K_M # Run inference directly in the terminal: llama cli -hf unsloth/MiniMax-M3-GGUF:UD-Q4_K_M
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama serve -hf unsloth/MiniMax-M3-GGUF:UD-Q4_K_M # Run inference directly in the terminal: llama cli -hf unsloth/MiniMax-M3-GGUF:UD-Q4_K_M
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/MiniMax-M3-GGUF:UD-Q4_K_M # Run inference directly in the terminal: ./llama-cli -hf unsloth/MiniMax-M3-GGUF:UD-Q4_K_M
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/MiniMax-M3-GGUF:UD-Q4_K_M # Run inference directly in the terminal: ./build/bin/llama-cli -hf unsloth/MiniMax-M3-GGUF:UD-Q4_K_M
Use Docker
docker model run hf.co/unsloth/MiniMax-M3-GGUF:UD-Q4_K_M
- LM Studio
- Jan
- vLLM
How to use unsloth/MiniMax-M3-GGUF with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "unsloth/MiniMax-M3-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/MiniMax-M3-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/MiniMax-M3-GGUF:UD-Q4_K_M
- SGLang
How to use unsloth/MiniMax-M3-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/MiniMax-M3-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/MiniMax-M3-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/MiniMax-M3-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/MiniMax-M3-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/MiniMax-M3-GGUF with Ollama:
ollama run hf.co/unsloth/MiniMax-M3-GGUF:UD-Q4_K_M
- Unsloth Studio
How to use unsloth/MiniMax-M3-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/MiniMax-M3-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/MiniMax-M3-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/MiniMax-M3-GGUF to start chatting
- Pi
How to use unsloth/MiniMax-M3-GGUF with Pi:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf unsloth/MiniMax-M3-GGUF:UD-Q4_K_M
Configure the model in Pi
# Install Pi: npm install -g @mariozechner/pi-coding-agent # Add to ~/.pi/agent/models.json: { "providers": { "llama-cpp": { "baseUrl": "http://localhost:8080/v1", "api": "openai-completions", "apiKey": "none", "models": [ { "id": "unsloth/MiniMax-M3-GGUF:UD-Q4_K_M" } ] } } }Run Pi
# Start Pi in your project directory: pi
- OpenClaw new
How to use unsloth/MiniMax-M3-GGUF with OpenClaw:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf unsloth/MiniMax-M3-GGUF:UD-Q4_K_M
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 "unsloth/MiniMax-M3-GGUF:UD-Q4_K_M" \ --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"
- Docker Model Runner
How to use unsloth/MiniMax-M3-GGUF with Docker Model Runner:
docker model run hf.co/unsloth/MiniMax-M3-GGUF:UD-Q4_K_M
- Lemonade
How to use unsloth/MiniMax-M3-GGUF with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull unsloth/MiniMax-M3-GGUF:UD-Q4_K_M
Run and chat with the model
lemonade run user.MiniMax-M3-GGUF-UD-Q4_K_M
List all available models
lemonade list
- Hermes Agent
How to use unsloth/MiniMax-M3-GGUF with Hermes Agent:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf unsloth/MiniMax-M3-GGUF:UD-Q4_K_M
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 unsloth/MiniMax-M3-GGUF:UD-Q4_K_M
Run Hermes
hermes
- Atomic Chat
Upload folder using huggingface_hub
Browse files- .gitattributes +18 -0
- BF16/MiniMax-M3-BF16-00001-of-00018.gguf +3 -0
- BF16/MiniMax-M3-BF16-00002-of-00018.gguf +3 -0
- BF16/MiniMax-M3-BF16-00003-of-00018.gguf +3 -0
- BF16/MiniMax-M3-BF16-00004-of-00018.gguf +3 -0
- BF16/MiniMax-M3-BF16-00005-of-00018.gguf +3 -0
- BF16/MiniMax-M3-BF16-00006-of-00018.gguf +3 -0
- BF16/MiniMax-M3-BF16-00007-of-00018.gguf +3 -0
- BF16/MiniMax-M3-BF16-00008-of-00018.gguf +3 -0
- BF16/MiniMax-M3-BF16-00009-of-00018.gguf +3 -0
- BF16/MiniMax-M3-BF16-00010-of-00018.gguf +3 -0
- BF16/MiniMax-M3-BF16-00011-of-00018.gguf +3 -0
- BF16/MiniMax-M3-BF16-00012-of-00018.gguf +3 -0
- BF16/MiniMax-M3-BF16-00013-of-00018.gguf +3 -0
- BF16/MiniMax-M3-BF16-00014-of-00018.gguf +3 -0
- BF16/MiniMax-M3-BF16-00015-of-00018.gguf +3 -0
- BF16/MiniMax-M3-BF16-00016-of-00018.gguf +3 -0
- BF16/MiniMax-M3-BF16-00017-of-00018.gguf +3 -0
- BF16/MiniMax-M3-BF16-00018-of-00018.gguf +3 -0
.gitattributes
CHANGED
|
@@ -156,3 +156,21 @@ UD-Q6_K/MiniMax-M3-UD-Q6_K-00007-of-00009.gguf filter=lfs diff=lfs merge=lfs -te
|
|
| 156 |
UD-Q6_K/MiniMax-M3-UD-Q6_K-00008-of-00009.gguf filter=lfs diff=lfs merge=lfs -text
|
| 157 |
UD-Q6_K/MiniMax-M3-UD-Q6_K-00009-of-00009.gguf filter=lfs diff=lfs merge=lfs -text
|
| 158 |
imatrix_unsloth.gguf_file filter=lfs diff=lfs merge=lfs -text
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 156 |
UD-Q6_K/MiniMax-M3-UD-Q6_K-00008-of-00009.gguf filter=lfs diff=lfs merge=lfs -text
|
| 157 |
UD-Q6_K/MiniMax-M3-UD-Q6_K-00009-of-00009.gguf filter=lfs diff=lfs merge=lfs -text
|
| 158 |
imatrix_unsloth.gguf_file filter=lfs diff=lfs merge=lfs -text
|
| 159 |
+
BF16/MiniMax-M3-BF16-00001-of-00018.gguf filter=lfs diff=lfs merge=lfs -text
|
| 160 |
+
BF16/MiniMax-M3-BF16-00002-of-00018.gguf filter=lfs diff=lfs merge=lfs -text
|
| 161 |
+
BF16/MiniMax-M3-BF16-00003-of-00018.gguf filter=lfs diff=lfs merge=lfs -text
|
| 162 |
+
BF16/MiniMax-M3-BF16-00004-of-00018.gguf filter=lfs diff=lfs merge=lfs -text
|
| 163 |
+
BF16/MiniMax-M3-BF16-00005-of-00018.gguf filter=lfs diff=lfs merge=lfs -text
|
| 164 |
+
BF16/MiniMax-M3-BF16-00006-of-00018.gguf filter=lfs diff=lfs merge=lfs -text
|
| 165 |
+
BF16/MiniMax-M3-BF16-00007-of-00018.gguf filter=lfs diff=lfs merge=lfs -text
|
| 166 |
+
BF16/MiniMax-M3-BF16-00008-of-00018.gguf filter=lfs diff=lfs merge=lfs -text
|
| 167 |
+
BF16/MiniMax-M3-BF16-00009-of-00018.gguf filter=lfs diff=lfs merge=lfs -text
|
| 168 |
+
BF16/MiniMax-M3-BF16-00010-of-00018.gguf filter=lfs diff=lfs merge=lfs -text
|
| 169 |
+
BF16/MiniMax-M3-BF16-00011-of-00018.gguf filter=lfs diff=lfs merge=lfs -text
|
| 170 |
+
BF16/MiniMax-M3-BF16-00012-of-00018.gguf filter=lfs diff=lfs merge=lfs -text
|
| 171 |
+
BF16/MiniMax-M3-BF16-00013-of-00018.gguf filter=lfs diff=lfs merge=lfs -text
|
| 172 |
+
BF16/MiniMax-M3-BF16-00014-of-00018.gguf filter=lfs diff=lfs merge=lfs -text
|
| 173 |
+
BF16/MiniMax-M3-BF16-00015-of-00018.gguf filter=lfs diff=lfs merge=lfs -text
|
| 174 |
+
BF16/MiniMax-M3-BF16-00016-of-00018.gguf filter=lfs diff=lfs merge=lfs -text
|
| 175 |
+
BF16/MiniMax-M3-BF16-00017-of-00018.gguf filter=lfs diff=lfs merge=lfs -text
|
| 176 |
+
BF16/MiniMax-M3-BF16-00018-of-00018.gguf filter=lfs diff=lfs merge=lfs -text
|
BF16/MiniMax-M3-BF16-00001-of-00018.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:7cbc22be0e8b083a2bdd9940aa7b158fcbafd97e5f073da3a0b0c38f3ca75ab1
|
| 3 |
+
size 46241290816
|
BF16/MiniMax-M3-BF16-00002-of-00018.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:a93e402ec02cc1b74a1260ea69fce25a24a3099d23f6edfeb46863466ffc306d
|
| 3 |
+
size 49639796832
|
BF16/MiniMax-M3-BF16-00003-of-00018.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:6e7305a772534ace49111941a0e216887b69a56203dddaad90fc6a5cb051f771
|
| 3 |
+
size 49309442816
|
BF16/MiniMax-M3-BF16-00004-of-00018.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:7a086e34fe1e166be5f84e4d1bed793f8a5a5d502fb10832f9e691d2592b19c4
|
| 3 |
+
size 49309443392
|
BF16/MiniMax-M3-BF16-00005-of-00018.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:0ba1a89974e4a970096960a64589fadaefdd4b300641c2bda9c4819bc1b67cc5
|
| 3 |
+
size 49639796896
|
BF16/MiniMax-M3-BF16-00006-of-00018.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:f9eb0066de4563755ffad2cd8e3e7a7c5a6acfcb98fa1dce088c75ee71cee5f0
|
| 3 |
+
size 49309443392
|
BF16/MiniMax-M3-BF16-00007-of-00018.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:1a74fb4628ca20392c3f7c38076173e34fac819b46c9aa68eeba972ed05ec444
|
| 3 |
+
size 49309442848
|
BF16/MiniMax-M3-BF16-00008-of-00018.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:04796be369e819ae42e4bfd55b298538bd67db04cc20aa94dbe74b7f593e3e95
|
| 3 |
+
size 49639794624
|
BF16/MiniMax-M3-BF16-00009-of-00018.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:92f8896c1023f25f55d8c184b115065674e9d2f89fd4401f6b70a0b24c37752c
|
| 3 |
+
size 49309441696
|
BF16/MiniMax-M3-BF16-00010-of-00018.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:dab7c164de310711c263d8dfd4f1427b173281d7c4588d4f65b15c0129fefc56
|
| 3 |
+
size 49309441696
|
BF16/MiniMax-M3-BF16-00011-of-00018.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:8521e5d23bcd78273e12a330be6957256974803529c049c1eff3c4b794dcf925
|
| 3 |
+
size 49639792928
|
BF16/MiniMax-M3-BF16-00012-of-00018.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:9fb1b17259416eece085f0741c844abc17359f767ebc83b38f76185a7747d15b
|
| 3 |
+
size 49309440000
|
BF16/MiniMax-M3-BF16-00013-of-00018.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:fdb23d2135405224a2a57f4da194abae9c62a707e04d73a3046b3bcd4c4e5b98
|
| 3 |
+
size 49309440000
|
BF16/MiniMax-M3-BF16-00014-of-00018.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:9130b273a53d3cdcf885e58a43f3deaeaaab9ecde3bed8f66fc09563be52fe3f
|
| 3 |
+
size 49639792352
|
BF16/MiniMax-M3-BF16-00015-of-00018.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:ede80562fab393565e3d2b5183b77e87620f63037265764cf14373ebc67e6e08
|
| 3 |
+
size 49309440000
|
BF16/MiniMax-M3-BF16-00016-of-00018.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:dd5397b2a6b7b297696dc026360694a11caffc8455d5c7697f76d051485d1496
|
| 3 |
+
size 49309440000
|
BF16/MiniMax-M3-BF16-00017-of-00018.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:ae224b7cd7f549a865aa02f0f01b90c848e83be8fa522bbd32b8011b09fb05ed
|
| 3 |
+
size 49639792928
|
BF16/MiniMax-M3-BF16-00018-of-00018.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:684613f69d11860bad292296316e7f4b5922a35660e91c895176190e2b099773
|
| 3 |
+
size 14825867328
|