Instructions to use pankajpandey-dev/MiniCPM5-1B-Hindi-Instruct-v1-GGUF 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 pankajpandey-dev/MiniCPM5-1B-Hindi-Instruct-v1-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 pankajpandey-dev/MiniCPM5-1B-Hindi-Instruct-v1-GGUF:Q4_K_M # Run inference directly in the terminal: llama cli -hf pankajpandey-dev/MiniCPM5-1B-Hindi-Instruct-v1-GGUF:Q4_K_M
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama serve -hf pankajpandey-dev/MiniCPM5-1B-Hindi-Instruct-v1-GGUF:Q4_K_M # Run inference directly in the terminal: llama cli -hf pankajpandey-dev/MiniCPM5-1B-Hindi-Instruct-v1-GGUF: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 pankajpandey-dev/MiniCPM5-1B-Hindi-Instruct-v1-GGUF:Q4_K_M # Run inference directly in the terminal: ./llama-cli -hf pankajpandey-dev/MiniCPM5-1B-Hindi-Instruct-v1-GGUF: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 pankajpandey-dev/MiniCPM5-1B-Hindi-Instruct-v1-GGUF:Q4_K_M # Run inference directly in the terminal: ./build/bin/llama-cli -hf pankajpandey-dev/MiniCPM5-1B-Hindi-Instruct-v1-GGUF:Q4_K_M
Use Docker
docker model run hf.co/pankajpandey-dev/MiniCPM5-1B-Hindi-Instruct-v1-GGUF:Q4_K_M
- LM Studio
- Jan
- vLLM
How to use pankajpandey-dev/MiniCPM5-1B-Hindi-Instruct-v1-GGUF with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "pankajpandey-dev/MiniCPM5-1B-Hindi-Instruct-v1-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": "pankajpandey-dev/MiniCPM5-1B-Hindi-Instruct-v1-GGUF", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/pankajpandey-dev/MiniCPM5-1B-Hindi-Instruct-v1-GGUF:Q4_K_M
- Ollama
How to use pankajpandey-dev/MiniCPM5-1B-Hindi-Instruct-v1-GGUF with Ollama:
ollama run hf.co/pankajpandey-dev/MiniCPM5-1B-Hindi-Instruct-v1-GGUF:Q4_K_M
- Unsloth Desktop
- Pi
How to use pankajpandey-dev/MiniCPM5-1B-Hindi-Instruct-v1-GGUF with Pi:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf pankajpandey-dev/MiniCPM5-1B-Hindi-Instruct-v1-GGUF:Q4_K_M
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": "pankajpandey-dev/MiniCPM5-1B-Hindi-Instruct-v1-GGUF:Q4_K_M" } ] } } }Run Pi
# Start Pi in your project directory: pi
- Docker Model Runner
How to use pankajpandey-dev/MiniCPM5-1B-Hindi-Instruct-v1-GGUF with Docker Model Runner:
docker model run hf.co/pankajpandey-dev/MiniCPM5-1B-Hindi-Instruct-v1-GGUF:Q4_K_M
- Lemonade
How to use pankajpandey-dev/MiniCPM5-1B-Hindi-Instruct-v1-GGUF with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull pankajpandey-dev/MiniCPM5-1B-Hindi-Instruct-v1-GGUF:Q4_K_M
Run and chat with the model
lemonade run user.MiniCPM5-1B-Hindi-Instruct-v1-GGUF-Q4_K_M
List all available models
lemonade list
- Hermes Agent
How to use pankajpandey-dev/MiniCPM5-1B-Hindi-Instruct-v1-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 pankajpandey-dev/MiniCPM5-1B-Hindi-Instruct-v1-GGUF: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 pankajpandey-dev/MiniCPM5-1B-Hindi-Instruct-v1-GGUF:Q4_K_M
Run Hermes
hermes
- Atomic Chat
- OpenClaw
How to use pankajpandey-dev/MiniCPM5-1B-Hindi-Instruct-v1-GGUF with OpenClaw:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf pankajpandey-dev/MiniCPM5-1B-Hindi-Instruct-v1-GGUF: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 "pankajpandey-dev/MiniCPM5-1B-Hindi-Instruct-v1-GGUF: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"
MiniCPM5-1B-Hindi-Instruct v1 โ GGUF Quantizations
GGUF quantized versions of pankajpandey-dev/MiniCPM5-1B-Hindi-Instruct for efficient local inference with llama.cpp, Ollama, LM Studio, and other GGUF-compatible runtimes.
Part of the ๐ฎ๐ณ Hindi LLM Series by @pankajpandey-dev.
Available Quantizations
| File | Quant | Size | Recommended Use |
|---|---|---|---|
MiniCPM5-1B-Hindi-Instruct-Q3_K_M.gguf |
Q3_K_M | ~560 MB | Mobile, low-RAM devices, fast inference |
MiniCPM5-1B-Hindi-Instruct-Q4_K_M.gguf |
Q4_K_M | ~670 MB | Recommended โ best size/quality balance |
MiniCPM5-1B-Hindi-Instruct-Q5_K_M.gguf |
Q5_K_M | ~790 MB | Better quality, slightly larger |
MiniCPM5-1B-Hindi-Instruct-Q6_K.gguf |
Q6_K | ~900 MB | Near-lossless quality |
MiniCPM5-1B-Hindi-Instruct-Q8_0.gguf |
Q8_0 | ~1.2 GB | Highest quality, essentially full precision |
Quick Start
llama.cpp
huggingface-cli download pankajpandey-dev/MiniCPM5-1B-Hindi-Instruct-v1-GGUF MiniCPM5-1B-Hindi-Instruct-Q4_K_M.gguf --local-dir .
./llama-cli -m MiniCPM5-1B-Hindi-Instruct-Q4_K_M.gguf \
-p "เคจเคฎเคธเฅเคคเฅ! เคฌเคพเคฐเคฟเคถ เคเฅ เคฆเคฟเคจ เคชเคฐ เคเค เคเฅเคเฅ เคเคตเคฟเคคเคพ เคฒเคฟเคเฅเฅค" \
-n 256 --temp 0.7 --top-p 0.9 --repeat-penalty 1.1
Ollama
Create a Modelfile:
FROM ./MiniCPM5-1B-Hindi-Instruct-Q4_K_M.gguf
PARAMETER temperature 0.7
PARAMETER top_p 0.9
PARAMETER repeat_penalty 1.1
Then run:
ollama create hindi-minicpm5 -f Modelfile
ollama run hindi-minicpm5 "เคฎเคถเฅเคจ เคฒเคฐเฅเคจเคฟเคเค เคเฅเคฏเคพ เคนเฅ?"
LM Studio
- Download any
.gguffile from this repo - Open LM Studio โ Local Models โ load the file
- Use chat template: ChatML (
<|im_start|>/<|im_end|>)
Python (llama-cpp-python)
from llama_cpp import Llama
llm = Llama(
model_path = "MiniCPM5-1B-Hindi-Instruct-Q4_K_M.gguf",
n_ctx = 2048,
n_threads = 4,
)
response = llm.create_chat_completion(
messages = [
{"role": "user", "content": "เคญเคพเคฐเคค เคเฅ เคฌเคพเคฐเฅ เคฎเฅเค เคเค เคฐเฅเคเค เคคเคฅเฅเคฏ เคฌเคคเคพเคเคเฅค"}
],
temperature = 0.7,
top_p = 0.9,
max_tokens = 256,
)
print(response["choices"][0]["message"]["content"])
Recommended Generation Parameters
- temperature: 0.7 (range 0.5โ0.9)
- top_p: 0.9
- repeat_penalty: 1.1
- max_tokens: 256โ512 depending on task
Choosing the Right Quant
- Phone / Raspberry Pi / 2GB RAM: Q3_K_M or Q4_K_M
- Laptop / desktop CPU: Q4_K_M or Q5_K_M (best default)
- Quality-focused workflows: Q6_K or Q8_0
- Research / reproducibility: Q8_0
Base Model & Training
These quants are derived from the full-precision merged 16-bit model at pankajpandey-dev/MiniCPM5-1B-Hindi-Instruct, which was fine-tuned from openbmb/MiniCPM5-1B on AI4Bharat's Hindi instruction datasets.
See the main model card for full training details.
Acknowledgements
- OpenBMB โ MiniCPM5-1B base model
- AI4Bharat โ
indic-instruct-data-v0.1(anudesh, dolly) - ggerganov/llama.cpp โ GGUF format & quantization tools
Citation
@misc{pandey2026minicpm5hindigguf,
title = {MiniCPM5-1B-Hindi-Instruct v1 GGUF},
author = {Pankaj Pandey},
year = {2026},
url = {https://huggingface.co/pankajpandey-dev/MiniCPM5-1B-Hindi-Instruct-v1-GGUF}
}
Part of an ongoing effort to bring strong open-source LLMs to Indian languages. Feedback welcome via the community tab.
- Downloads last month
- 332
3-bit
4-bit
5-bit
6-bit
8-bit
Model tree for pankajpandey-dev/MiniCPM5-1B-Hindi-Instruct-v1-GGUF
Base model
openbmb/MiniCPM5-1B