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.
- Libraries
- llama-cpp-python
How to use pankajpandey-dev/MiniCPM5-1B-Hindi-Instruct-v1-GGUF with llama-cpp-python:
# !pip install llama-cpp-python from llama_cpp import Llama llm = Llama.from_pretrained( repo_id="pankajpandey-dev/MiniCPM5-1B-Hindi-Instruct-v1-GGUF", filename="MiniCPM5-1B-Hindi-Instruct-Q3_K_M.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 pankajpandey-dev/MiniCPM5-1B-Hindi-Instruct-v1-GGUF with llama.cpp:
Install from brew
brew install llama.cpp # 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
Install from WinGet (Windows)
winget install llama.cpp # 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
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 Studio
How to use pankajpandey-dev/MiniCPM5-1B-Hindi-Instruct-v1-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 pankajpandey-dev/MiniCPM5-1B-Hindi-Instruct-v1-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 pankajpandey-dev/MiniCPM5-1B-Hindi-Instruct-v1-GGUF to start chatting
Using HuggingFace Spaces for Unsloth
# No setup required # Open https://huggingface.co/spaces/unsloth/studio in your browser # Search for pankajpandey-dev/MiniCPM5-1B-Hindi-Instruct-v1-GGUF to start chatting
- 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-server -hf pankajpandey-dev/MiniCPM5-1B-Hindi-Instruct-v1-GGUF: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": "pankajpandey-dev/MiniCPM5-1B-Hindi-Instruct-v1-GGUF:Q4_K_M" } ] } } }Run Pi
# Start Pi in your project directory: pi
- Hermes Agent new
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-server -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
- 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
Run and chat with the model
lemonade run user.MiniCPM5-1B-Hindi-Instruct-v1-GGUF-List all available models
lemonade listMiniCPM5-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
- 560
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
Pull the model
# Download Lemonade from https://lemonade-server.ai/lemonade pull pankajpandey-dev/MiniCPM5-1B-Hindi-Instruct-v1-GGUF: