Instructions to use tensorblock/MiniCPM3-4B-GGUF with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use tensorblock/MiniCPM3-4B-GGUF with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="tensorblock/MiniCPM3-4B-GGUF") messages = [ {"role": "user", "content": "Who are you?"}, ] pipe(messages)# Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("tensorblock/MiniCPM3-4B-GGUF", dtype="auto") - llama-cpp-python
How to use tensorblock/MiniCPM3-4B-GGUF with llama-cpp-python:
# !pip install llama-cpp-python from llama_cpp import Llama llm = Llama.from_pretrained( repo_id="tensorblock/MiniCPM3-4B-GGUF", filename="MiniCPM3-4B-Q2_K.gguf", )
llm.create_chat_completion( messages = [ { "role": "user", "content": "What is the capital of France?" } ] ) - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- llama.cpp
How to use tensorblock/MiniCPM3-4B-GGUF with llama.cpp:
Install from brew
brew install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama-server -hf tensorblock/MiniCPM3-4B-GGUF:Q2_K # Run inference directly in the terminal: llama-cli -hf tensorblock/MiniCPM3-4B-GGUF:Q2_K
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama-server -hf tensorblock/MiniCPM3-4B-GGUF:Q2_K # Run inference directly in the terminal: llama-cli -hf tensorblock/MiniCPM3-4B-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/MiniCPM3-4B-GGUF:Q2_K # Run inference directly in the terminal: ./llama-cli -hf tensorblock/MiniCPM3-4B-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/MiniCPM3-4B-GGUF:Q2_K # Run inference directly in the terminal: ./build/bin/llama-cli -hf tensorblock/MiniCPM3-4B-GGUF:Q2_K
Use Docker
docker model run hf.co/tensorblock/MiniCPM3-4B-GGUF:Q2_K
- LM Studio
- Jan
- vLLM
How to use tensorblock/MiniCPM3-4B-GGUF with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "tensorblock/MiniCPM3-4B-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/MiniCPM3-4B-GGUF", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/tensorblock/MiniCPM3-4B-GGUF:Q2_K
- SGLang
How to use tensorblock/MiniCPM3-4B-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/MiniCPM3-4B-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/MiniCPM3-4B-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/MiniCPM3-4B-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/MiniCPM3-4B-GGUF", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }' - Ollama
How to use tensorblock/MiniCPM3-4B-GGUF with Ollama:
ollama run hf.co/tensorblock/MiniCPM3-4B-GGUF:Q2_K
- Unsloth Studio
How to use tensorblock/MiniCPM3-4B-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/MiniCPM3-4B-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/MiniCPM3-4B-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/MiniCPM3-4B-GGUF to start chatting
- Pi
How to use tensorblock/MiniCPM3-4B-GGUF with Pi:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama-server -hf tensorblock/MiniCPM3-4B-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/MiniCPM3-4B-GGUF:Q2_K" } ] } } }Run Pi
# Start Pi in your project directory: pi
- Hermes Agent new
How to use tensorblock/MiniCPM3-4B-GGUF with Hermes Agent:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama-server -hf tensorblock/MiniCPM3-4B-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/MiniCPM3-4B-GGUF:Q2_K
Run Hermes
hermes
- Docker Model Runner
How to use tensorblock/MiniCPM3-4B-GGUF with Docker Model Runner:
docker model run hf.co/tensorblock/MiniCPM3-4B-GGUF:Q2_K
- Lemonade
How to use tensorblock/MiniCPM3-4B-GGUF with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull tensorblock/MiniCPM3-4B-GGUF:Q2_K
Run and chat with the model
lemonade run user.MiniCPM3-4B-GGUF-Q2_K
List all available models
lemonade list
Upload folder using huggingface_hub
Browse files- .gitattributes +12 -0
- MiniCPM3-4B-Q2_K.gguf +3 -0
- MiniCPM3-4B-Q3_K_L.gguf +3 -0
- MiniCPM3-4B-Q3_K_M.gguf +3 -0
- MiniCPM3-4B-Q3_K_S.gguf +3 -0
- MiniCPM3-4B-Q4_0.gguf +3 -0
- MiniCPM3-4B-Q4_K_M.gguf +3 -0
- MiniCPM3-4B-Q4_K_S.gguf +3 -0
- MiniCPM3-4B-Q5_0.gguf +3 -0
- MiniCPM3-4B-Q5_K_M.gguf +3 -0
- MiniCPM3-4B-Q5_K_S.gguf +3 -0
- MiniCPM3-4B-Q6_K.gguf +3 -0
- MiniCPM3-4B-Q8_0.gguf +3 -0
- README.md +85 -0
.gitattributes
CHANGED
|
@@ -33,3 +33,15 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
|
|
| 33 |
*.zip filter=lfs diff=lfs merge=lfs -text
|
| 34 |
*.zst filter=lfs diff=lfs merge=lfs -text
|
| 35 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 33 |
*.zip filter=lfs diff=lfs merge=lfs -text
|
| 34 |
*.zst filter=lfs diff=lfs merge=lfs -text
|
| 35 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
| 36 |
+
MiniCPM3-4B-Q2_K.gguf filter=lfs diff=lfs merge=lfs -text
|
| 37 |
+
MiniCPM3-4B-Q3_K_L.gguf filter=lfs diff=lfs merge=lfs -text
|
| 38 |
+
MiniCPM3-4B-Q3_K_M.gguf filter=lfs diff=lfs merge=lfs -text
|
| 39 |
+
MiniCPM3-4B-Q3_K_S.gguf filter=lfs diff=lfs merge=lfs -text
|
| 40 |
+
MiniCPM3-4B-Q4_0.gguf filter=lfs diff=lfs merge=lfs -text
|
| 41 |
+
MiniCPM3-4B-Q4_K_M.gguf filter=lfs diff=lfs merge=lfs -text
|
| 42 |
+
MiniCPM3-4B-Q4_K_S.gguf filter=lfs diff=lfs merge=lfs -text
|
| 43 |
+
MiniCPM3-4B-Q5_0.gguf filter=lfs diff=lfs merge=lfs -text
|
| 44 |
+
MiniCPM3-4B-Q5_K_M.gguf filter=lfs diff=lfs merge=lfs -text
|
| 45 |
+
MiniCPM3-4B-Q5_K_S.gguf filter=lfs diff=lfs merge=lfs -text
|
| 46 |
+
MiniCPM3-4B-Q6_K.gguf filter=lfs diff=lfs merge=lfs -text
|
| 47 |
+
MiniCPM3-4B-Q8_0.gguf filter=lfs diff=lfs merge=lfs -text
|
MiniCPM3-4B-Q2_K.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:bfa728c555c6b9ec77f30b2f5e549f3566004fbdbfa174946585a96586e2e5a0
|
| 3 |
+
size 1576858368
|
MiniCPM3-4B-Q3_K_L.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:72d636cd6af8656b1119dfdf73c31b193b645cc9bff10a468192f1725aae7087
|
| 3 |
+
size 2193683968
|
MiniCPM3-4B-Q3_K_M.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:bed761aa3cbe804f8f3e17443dda53f10da3e907fedc664cbf41f715f00b7ee6
|
| 3 |
+
size 2022061568
|
MiniCPM3-4B-Q3_K_S.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:77a8f38c27b902c2f23edad72719f8bcfd1714f560fa21e959ae7c4dd7857287
|
| 3 |
+
size 1827040768
|
MiniCPM3-4B-Q4_0.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:e6cc3714407deec3772c92c5923101667b969c764fa475fe450c48e0f954ae30
|
| 3 |
+
size 2343079168
|
MiniCPM3-4B-Q4_K_M.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:3b41585e395bb79cb4270601cdbd4c6a6d26e53d0fcacfd9cd4cb34aff900c4b
|
| 3 |
+
size 2469799168
|
MiniCPM3-4B-Q4_K_S.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:5aa96b6ddce15211e37d2b75d52632314ca5367772a4e1ed944b4f4cc4f5b840
|
| 3 |
+
size 2357415168
|
MiniCPM3-4B-Q5_0.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:a0d31ba7408158d440e8050ef66b5e0ce018fa121ab038e4f9c0378946dd37d8
|
| 3 |
+
size 2828762368
|
MiniCPM3-4B-Q5_K_M.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:90c52151a0e2a50ff1c57c96e94fd69eea1f94d3a768993b6c40311ed9f284ce
|
| 3 |
+
size 2894042368
|
MiniCPM3-4B-Q5_K_S.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:1647a93df366979305aa694f7163f2d1ef7bb06072ba413de30d8f8c671264cb
|
| 3 |
+
size 2828762368
|
MiniCPM3-4B-Q6_K.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:37f46797c32ccf67b8e87d948af26d1ceda176c4bdead36f54273d45677a1521
|
| 3 |
+
size 3344800768
|
MiniCPM3-4B-Q8_0.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:46b1c81f6e3919d6db1395b2c968b21e19e87f51a22c5105218258d2061af794
|
| 3 |
+
size 4331349728
|
README.md
ADDED
|
@@ -0,0 +1,85 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
license: apache-2.0
|
| 3 |
+
language:
|
| 4 |
+
- zh
|
| 5 |
+
- en
|
| 6 |
+
pipeline_tag: text-generation
|
| 7 |
+
library_name: transformers
|
| 8 |
+
tags:
|
| 9 |
+
- TensorBlock
|
| 10 |
+
- GGUF
|
| 11 |
+
base_model: openbmb/MiniCPM3-4B
|
| 12 |
+
---
|
| 13 |
+
|
| 14 |
+
<div style="width: auto; margin-left: auto; margin-right: auto">
|
| 15 |
+
<img src="https://i.imgur.com/jC7kdl8.jpeg" alt="TensorBlock" style="width: 100%; min-width: 400px; display: block; margin: auto;">
|
| 16 |
+
</div>
|
| 17 |
+
<div style="display: flex; justify-content: space-between; width: 100%;">
|
| 18 |
+
<div style="display: flex; flex-direction: column; align-items: flex-start;">
|
| 19 |
+
<p style="margin-top: 0.5em; margin-bottom: 0em;">
|
| 20 |
+
Feedback and support: TensorBlock's <a href="https://x.com/tensorblock_aoi">Twitter/X</a>, <a href="https://t.me/TensorBlock">Telegram Group</a> and <a href="https://x.com/tensorblock_aoi">Discord server</a>
|
| 21 |
+
</p>
|
| 22 |
+
</div>
|
| 23 |
+
</div>
|
| 24 |
+
|
| 25 |
+
## openbmb/MiniCPM3-4B - GGUF
|
| 26 |
+
|
| 27 |
+
This repo contains GGUF format model files for [openbmb/MiniCPM3-4B](https://huggingface.co/openbmb/MiniCPM3-4B).
|
| 28 |
+
|
| 29 |
+
The files were quantized using machines provided by [TensorBlock](https://tensorblock.co/), and they are compatible with llama.cpp as of [commit b4011](https://github.com/ggerganov/llama.cpp/commit/a6744e43e80f4be6398fc7733a01642c846dce1d).
|
| 30 |
+
|
| 31 |
+
<div style="text-align: left; margin: 20px 0;">
|
| 32 |
+
<a href="https://tensorblock.co/waitlist/client" style="display: inline-block; padding: 10px 20px; background-color: #007bff; color: white; text-decoration: none; border-radius: 5px; font-weight: bold;">
|
| 33 |
+
Run them on the TensorBlock client using your local machine ↗
|
| 34 |
+
</a>
|
| 35 |
+
</div>
|
| 36 |
+
|
| 37 |
+
## Prompt template
|
| 38 |
+
|
| 39 |
+
```
|
| 40 |
+
<|im_start|>system
|
| 41 |
+
{system_prompt}<|im_end|>
|
| 42 |
+
<|im_start|>user
|
| 43 |
+
{prompt}<|im_end|>
|
| 44 |
+
<|im_start|>assistant
|
| 45 |
+
```
|
| 46 |
+
|
| 47 |
+
## Model file specification
|
| 48 |
+
|
| 49 |
+
| Filename | Quant type | File Size | Description |
|
| 50 |
+
| -------- | ---------- | --------- | ----------- |
|
| 51 |
+
| [MiniCPM3-4B-Q2_K.gguf](https://huggingface.co/tensorblock/MiniCPM3-4B-GGUF/blob/main/MiniCPM3-4B-Q2_K.gguf) | Q2_K | 1.577 GB | smallest, significant quality loss - not recommended for most purposes |
|
| 52 |
+
| [MiniCPM3-4B-Q3_K_S.gguf](https://huggingface.co/tensorblock/MiniCPM3-4B-GGUF/blob/main/MiniCPM3-4B-Q3_K_S.gguf) | Q3_K_S | 1.827 GB | very small, high quality loss |
|
| 53 |
+
| [MiniCPM3-4B-Q3_K_M.gguf](https://huggingface.co/tensorblock/MiniCPM3-4B-GGUF/blob/main/MiniCPM3-4B-Q3_K_M.gguf) | Q3_K_M | 2.022 GB | very small, high quality loss |
|
| 54 |
+
| [MiniCPM3-4B-Q3_K_L.gguf](https://huggingface.co/tensorblock/MiniCPM3-4B-GGUF/blob/main/MiniCPM3-4B-Q3_K_L.gguf) | Q3_K_L | 2.194 GB | small, substantial quality loss |
|
| 55 |
+
| [MiniCPM3-4B-Q4_0.gguf](https://huggingface.co/tensorblock/MiniCPM3-4B-GGUF/blob/main/MiniCPM3-4B-Q4_0.gguf) | Q4_0 | 2.343 GB | legacy; small, very high quality loss - prefer using Q3_K_M |
|
| 56 |
+
| [MiniCPM3-4B-Q4_K_S.gguf](https://huggingface.co/tensorblock/MiniCPM3-4B-GGUF/blob/main/MiniCPM3-4B-Q4_K_S.gguf) | Q4_K_S | 2.357 GB | small, greater quality loss |
|
| 57 |
+
| [MiniCPM3-4B-Q4_K_M.gguf](https://huggingface.co/tensorblock/MiniCPM3-4B-GGUF/blob/main/MiniCPM3-4B-Q4_K_M.gguf) | Q4_K_M | 2.470 GB | medium, balanced quality - recommended |
|
| 58 |
+
| [MiniCPM3-4B-Q5_0.gguf](https://huggingface.co/tensorblock/MiniCPM3-4B-GGUF/blob/main/MiniCPM3-4B-Q5_0.gguf) | Q5_0 | 2.829 GB | legacy; medium, balanced quality - prefer using Q4_K_M |
|
| 59 |
+
| [MiniCPM3-4B-Q5_K_S.gguf](https://huggingface.co/tensorblock/MiniCPM3-4B-GGUF/blob/main/MiniCPM3-4B-Q5_K_S.gguf) | Q5_K_S | 2.829 GB | large, low quality loss - recommended |
|
| 60 |
+
| [MiniCPM3-4B-Q5_K_M.gguf](https://huggingface.co/tensorblock/MiniCPM3-4B-GGUF/blob/main/MiniCPM3-4B-Q5_K_M.gguf) | Q5_K_M | 2.894 GB | large, very low quality loss - recommended |
|
| 61 |
+
| [MiniCPM3-4B-Q6_K.gguf](https://huggingface.co/tensorblock/MiniCPM3-4B-GGUF/blob/main/MiniCPM3-4B-Q6_K.gguf) | Q6_K | 3.345 GB | very large, extremely low quality loss |
|
| 62 |
+
| [MiniCPM3-4B-Q8_0.gguf](https://huggingface.co/tensorblock/MiniCPM3-4B-GGUF/blob/main/MiniCPM3-4B-Q8_0.gguf) | Q8_0 | 4.331 GB | very large, extremely low quality loss - not recommended |
|
| 63 |
+
|
| 64 |
+
|
| 65 |
+
## Downloading instruction
|
| 66 |
+
|
| 67 |
+
### Command line
|
| 68 |
+
|
| 69 |
+
Firstly, install Huggingface Client
|
| 70 |
+
|
| 71 |
+
```shell
|
| 72 |
+
pip install -U "huggingface_hub[cli]"
|
| 73 |
+
```
|
| 74 |
+
|
| 75 |
+
Then, downoad the individual model file the a local directory
|
| 76 |
+
|
| 77 |
+
```shell
|
| 78 |
+
huggingface-cli download tensorblock/MiniCPM3-4B-GGUF --include "MiniCPM3-4B-Q2_K.gguf" --local-dir MY_LOCAL_DIR
|
| 79 |
+
```
|
| 80 |
+
|
| 81 |
+
If you wanna download multiple model files with a pattern (e.g., `*Q4_K*gguf`), you can try:
|
| 82 |
+
|
| 83 |
+
```shell
|
| 84 |
+
huggingface-cli download tensorblock/MiniCPM3-4B-GGUF --local-dir MY_LOCAL_DIR --local-dir-use-symlinks False --include='*Q4_K*gguf'
|
| 85 |
+
```
|