Text Generation
GGUF
RKLLM
English
Chinese
rknn3
rkllm3
rkllm3-server
llm
rockchip
rk1820
rk1828
minicpm
minicpm5
edge-ai
on-device
w4a16
conversational
Instructions to use HanzoHuang/MiniCPM5-2B-RKNN3 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- RKLLM
How to use HanzoHuang/MiniCPM5-2B-RKNN3 with RKLLM:
# No code snippets available yet for this library. # To use this model, check the repository files and the library's documentation. # Want to help? PRs adding snippets are welcome at: # https://github.com/huggingface/huggingface.js
- Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- llama.cpp
How to use HanzoHuang/MiniCPM5-2B-RKNN3 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 HanzoHuang/MiniCPM5-2B-RKNN3 # Run inference directly in the terminal: llama cli -hf HanzoHuang/MiniCPM5-2B-RKNN3
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama serve -hf HanzoHuang/MiniCPM5-2B-RKNN3 # Run inference directly in the terminal: llama cli -hf HanzoHuang/MiniCPM5-2B-RKNN3
Build from source code
git clone https://github.com/ggml-org/llama.cpp.git cd llama.cpp cmake -B build cmake --build build -j --target llama-app # Start a local OpenAI-compatible server with a web UI: ./build/bin/llama serve -hf HanzoHuang/MiniCPM5-2B-RKNN3 # Run inference directly in the terminal: ./build/bin/llama cli -hf HanzoHuang/MiniCPM5-2B-RKNN3
Use Docker
docker model run hf.co/HanzoHuang/MiniCPM5-2B-RKNN3
- Llama new
- LM Studio
- Jan
- vLLM
How to use HanzoHuang/MiniCPM5-2B-RKNN3 with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "HanzoHuang/MiniCPM5-2B-RKNN3" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "HanzoHuang/MiniCPM5-2B-RKNN3", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/HanzoHuang/MiniCPM5-2B-RKNN3
- Ollama
How to use HanzoHuang/MiniCPM5-2B-RKNN3 with Ollama:
ollama run hf.co/HanzoHuang/MiniCPM5-2B-RKNN3
- Unsloth Desktop
- Pi
How to use HanzoHuang/MiniCPM5-2B-RKNN3 with Pi:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf HanzoHuang/MiniCPM5-2B-RKNN3
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": "HanzoHuang/MiniCPM5-2B-RKNN3" } ] } } }Run Pi
# Start Pi in your project directory: pi
- Docker Model Runner
How to use HanzoHuang/MiniCPM5-2B-RKNN3 with Docker Model Runner:
docker model run hf.co/HanzoHuang/MiniCPM5-2B-RKNN3
- Lemonade
How to use HanzoHuang/MiniCPM5-2B-RKNN3 with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull HanzoHuang/MiniCPM5-2B-RKNN3
Run and chat with the model
lemonade run user.MiniCPM5-2B-RKNN3-{{QUANT_TAG}}List all available models
lemonade list
- Hermes Agent
How to use HanzoHuang/MiniCPM5-2B-RKNN3 with Hermes Agent:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf HanzoHuang/MiniCPM5-2B-RKNN3
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 HanzoHuang/MiniCPM5-2B-RKNN3
Run Hermes
hermes
- Atomic Chat
- OpenClaw
How to use HanzoHuang/MiniCPM5-2B-RKNN3 with OpenClaw:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf HanzoHuang/MiniCPM5-2B-RKNN3
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 "HanzoHuang/MiniCPM5-2B-RKNN3" \ --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"
Improve RKLLM3 search discoverability
Browse files
README.md
CHANGED
|
@@ -8,6 +8,9 @@ language:
|
|
| 8 |
- zh
|
| 9 |
tags:
|
| 10 |
- rknn3
|
|
|
|
|
|
|
|
|
|
| 11 |
- rockchip
|
| 12 |
- rk1820
|
| 13 |
- rk1828
|
|
@@ -18,9 +21,9 @@ tags:
|
|
| 18 |
- w4a16
|
| 19 |
---
|
| 20 |
|
| 21 |
-
# MiniCPM5-2B
|
| 22 |
|
| 23 |
-
RKNN3-converted [openbmb/MiniCPM5-2B](https://huggingface.co/openbmb/MiniCPM5-2B) artifacts for the Rockchip **RK1820** and **RK1828** AI coprocessors.
|
| 24 |
|
| 25 |
These are hardware-specific deployment artifacts, not a Transformers checkpoint and not an RKLLM model. They were produced with **rknn3-toolkit v1.1.0** for the new RKNN3 toolchain and are intended for use with a compatible RKNN3 Runtime, firmware, demo, or `rkllm3-server`.
|
| 26 |
|
|
|
|
| 8 |
- zh
|
| 9 |
tags:
|
| 10 |
- rknn3
|
| 11 |
+
- rkllm
|
| 12 |
+
- rkllm3
|
| 13 |
+
- rkllm3-server
|
| 14 |
- rockchip
|
| 15 |
- rk1820
|
| 16 |
- rk1828
|
|
|
|
| 21 |
- w4a16
|
| 22 |
---
|
| 23 |
|
| 24 |
+
# MiniCPM5-2B for RKNN3 / RKLLM3 Server
|
| 25 |
|
| 26 |
+
RKNN3-converted [openbmb/MiniCPM5-2B](https://huggingface.co/openbmb/MiniCPM5-2B) LLM artifacts for the Rockchip **RK1820** and **RK1828** AI coprocessors, ready for deployment with Rockchip's **RKLLM3 Server** (`rkllm3-server`) or the RKNN3 Runtime examples.
|
| 27 |
|
| 28 |
These are hardware-specific deployment artifacts, not a Transformers checkpoint and not an RKLLM model. They were produced with **rknn3-toolkit v1.1.0** for the new RKNN3 toolchain and are intended for use with a compatible RKNN3 Runtime, firmware, demo, or `rkllm3-server`.
|
| 29 |
|