Instructions to use tensorblock/openbmb_MiniCPM4-MCP-GGUF with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use tensorblock/openbmb_MiniCPM4-MCP-GGUF with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="tensorblock/openbmb_MiniCPM4-MCP-GGUF") messages = [ {"role": "user", "content": "Who are you?"}, ] pipe(messages)# Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("tensorblock/openbmb_MiniCPM4-MCP-GGUF", device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- llama.cpp
How to use tensorblock/openbmb_MiniCPM4-MCP-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 tensorblock/openbmb_MiniCPM4-MCP-GGUF:Q2_K # Run inference directly in the terminal: llama cli -hf tensorblock/openbmb_MiniCPM4-MCP-GGUF:Q2_K
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama serve -hf tensorblock/openbmb_MiniCPM4-MCP-GGUF:Q2_K # Run inference directly in the terminal: llama cli -hf tensorblock/openbmb_MiniCPM4-MCP-GGUF:Q2_K
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 tensorblock/openbmb_MiniCPM4-MCP-GGUF:Q2_K # Run inference directly in the terminal: ./llama-cli -hf tensorblock/openbmb_MiniCPM4-MCP-GGUF:Q2_K
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 tensorblock/openbmb_MiniCPM4-MCP-GGUF:Q2_K # Run inference directly in the terminal: ./build/bin/llama-cli -hf tensorblock/openbmb_MiniCPM4-MCP-GGUF:Q2_K
Use Docker
docker model run hf.co/tensorblock/openbmb_MiniCPM4-MCP-GGUF:Q2_K
- LM Studio
- Jan
- vLLM
How to use tensorblock/openbmb_MiniCPM4-MCP-GGUF with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "tensorblock/openbmb_MiniCPM4-MCP-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": "tensorblock/openbmb_MiniCPM4-MCP-GGUF", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/tensorblock/openbmb_MiniCPM4-MCP-GGUF:Q2_K
- SGLang
How to use tensorblock/openbmb_MiniCPM4-MCP-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 "tensorblock/openbmb_MiniCPM4-MCP-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": "tensorblock/openbmb_MiniCPM4-MCP-GGUF", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'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 "tensorblock/openbmb_MiniCPM4-MCP-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": "tensorblock/openbmb_MiniCPM4-MCP-GGUF", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }' - Ollama
How to use tensorblock/openbmb_MiniCPM4-MCP-GGUF with Ollama:
ollama run hf.co/tensorblock/openbmb_MiniCPM4-MCP-GGUF:Q2_K
- Unsloth Studio
How to use tensorblock/openbmb_MiniCPM4-MCP-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 tensorblock/openbmb_MiniCPM4-MCP-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 tensorblock/openbmb_MiniCPM4-MCP-GGUF to start chatting
Using HuggingFace Spaces for Unsloth
# No setup required # Open https://huggingface.co/spaces/unsloth/studio in your browser # Search for tensorblock/openbmb_MiniCPM4-MCP-GGUF to start chatting
- Pi
How to use tensorblock/openbmb_MiniCPM4-MCP-GGUF with Pi:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf tensorblock/openbmb_MiniCPM4-MCP-GGUF:Q2_K
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": "tensorblock/openbmb_MiniCPM4-MCP-GGUF:Q2_K" } ] } } }Run Pi
# Start Pi in your project directory: pi
- Docker Model Runner
How to use tensorblock/openbmb_MiniCPM4-MCP-GGUF with Docker Model Runner:
docker model run hf.co/tensorblock/openbmb_MiniCPM4-MCP-GGUF:Q2_K
- Lemonade
How to use tensorblock/openbmb_MiniCPM4-MCP-GGUF with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull tensorblock/openbmb_MiniCPM4-MCP-GGUF:Q2_K
Run and chat with the model
lemonade run user.openbmb_MiniCPM4-MCP-GGUF-Q2_K
List all available models
lemonade list
- Hermes Agent
How to use tensorblock/openbmb_MiniCPM4-MCP-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 tensorblock/openbmb_MiniCPM4-MCP-GGUF:Q2_K
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 tensorblock/openbmb_MiniCPM4-MCP-GGUF:Q2_K
Run Hermes
hermes
- Atomic Chat
- OpenClaw
How to use tensorblock/openbmb_MiniCPM4-MCP-GGUF with OpenClaw:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf tensorblock/openbmb_MiniCPM4-MCP-GGUF:Q2_K
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 "tensorblock/openbmb_MiniCPM4-MCP-GGUF:Q2_K" \ --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"
Remove .gguf files (keep Q2_K.gguf)
Browse files- MiniCPM4-MCP-Q3_K_L.gguf +0 -3
- MiniCPM4-MCP-Q3_K_M.gguf +0 -3
- MiniCPM4-MCP-Q3_K_S.gguf +0 -3
- MiniCPM4-MCP-Q4_0.gguf +0 -3
- MiniCPM4-MCP-Q4_K_M.gguf +0 -3
- MiniCPM4-MCP-Q4_K_S.gguf +0 -3
- MiniCPM4-MCP-Q5_0.gguf +0 -3
- MiniCPM4-MCP-Q5_K_M.gguf +0 -3
- MiniCPM4-MCP-Q5_K_S.gguf +0 -3
- MiniCPM4-MCP-Q6_K.gguf +0 -3
- MiniCPM4-MCP-Q8_0.gguf +0 -3
MiniCPM4-MCP-Q3_K_L.gguf
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:5015d75c36d0415a0804f3296fd2f305effcd9908e123d689346cb170ab99475
|
| 3 |
-
size 4337981920
|
|
|
|
|
|
|
|
|
|
|
|
MiniCPM4-MCP-Q3_K_M.gguf
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:49b301ec6afe03f2477aed39305a21cacb4d14698fee68c6ff95c799eacc2f33
|
| 3 |
-
size 4015282656
|
|
|
|
|
|
|
|
|
|
|
|
MiniCPM4-MCP-Q3_K_S.gguf
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:b8b2304e40de20060a55f596233ddce43e19d31a974fb2726624a5a079bd519f
|
| 3 |
-
size 3637271008
|
|
|
|
|
|
|
|
|
|
|
|
MiniCPM4-MCP-Q4_0.gguf
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:7213aa481a2d5c06672320bb409859bac6c42ac254876a911b2d6976c3a3dcd1
|
| 3 |
-
size 4684383968
|
|
|
|
|
|
|
|
|
|
|
|
MiniCPM4-MCP-Q4_K_M.gguf
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:b5b320d6fac79272a15a561728f0d93ad6c9ab6adac343fcc2c45aa260eaebc9
|
| 3 |
-
size 4965533408
|
|
|
|
|
|
|
|
|
|
|
|
MiniCPM4-MCP-Q4_K_S.gguf
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:9a188f8effeb645de05c696058222504d1fe8788822cc2652bb609395c7ffdc4
|
| 3 |
-
size 4718462688
|
|
|
|
|
|
|
|
|
|
|
|
MiniCPM4-MCP-Q5_0.gguf
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:e64756d1197ea24ca721e4a773a532179361948e41c5d71ef87b25f3be6dc9c5
|
| 3 |
-
size 5669902048
|
|
|
|
|
|
|
|
|
|
|
|
MiniCPM4-MCP-Q5_K_M.gguf
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:653e117bfe45ead01cf284aa8570082a070761bf062937ee934b10966c4c481e
|
| 3 |
-
size 5814736608
|
|
|
|
|
|
|
|
|
|
|
|
MiniCPM4-MCP-Q5_K_S.gguf
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:4929dc37f05bca50c7c57bc8c335f742185b728900670cdadd467c755da7a629
|
| 3 |
-
size 5669902048
|
|
|
|
|
|
|
|
|
|
|
|
MiniCPM4-MCP-Q6_K.gguf
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:925166617454e6a31105f6ae68005a57a018106a4fd30e086fcbd1310781e689
|
| 3 |
-
size 6717015008
|
|
|
|
|
|
|
|
|
|
|
|
MiniCPM4-MCP-Q8_0.gguf
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:54541fe0b134f4123669c825d33562045c71df15430681215f33a0bbdf8762e9
|
| 3 |
-
size 8699316704
|
|
|
|
|
|
|
|
|
|
|
|