How to use from
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 EntityDeletr/MiniCPM5-1B-GGUF:F32
# Run inference directly in the terminal:
llama cli -hf EntityDeletr/MiniCPM5-1B-GGUF:F32
Install from WinGet (Windows)
winget install llama.cpp
# Start a local OpenAI-compatible server with a web UI:
llama serve -hf EntityDeletr/MiniCPM5-1B-GGUF:F32
# Run inference directly in the terminal:
llama cli -hf EntityDeletr/MiniCPM5-1B-GGUF:F32
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 EntityDeletr/MiniCPM5-1B-GGUF:F32
# Run inference directly in the terminal:
./llama-cli -hf EntityDeletr/MiniCPM5-1B-GGUF:F32
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 EntityDeletr/MiniCPM5-1B-GGUF:F32
# Run inference directly in the terminal:
./build/bin/llama-cli -hf EntityDeletr/MiniCPM5-1B-GGUF:F32
Use Docker
docker model run hf.co/EntityDeletr/MiniCPM5-1B-GGUF:F32
Quick Links

This is a quantized version of MiniCPM5-1B using mradermacher's imatrix.

Commands used (llama.cpp commit 9777256):

pip3.13 install -r requirements.txt
python3.13 convert_hf_to_gguf.py --outfile ./MiniCPM_GGUF.gguf --outtype f32 .;
llama-quantize --imatrix MiniCPM5-1B-SFT.imatrix.gguf MiniCPM_GGUF.gguf MiniCPM5-1B-Q5_K_M.gguf Q5_K_M;

These files were obtained from llama.cpp:

  • requirements.txt
  • convert_hf_to_gguf.py

The initial safetensor was from the MiniCPM5 repository along with other necessary files like the config.json.

To do this conversion yourself, download everything in the repository except the files labeled MiniCPM5-1B-Q5_K_M.gguf and MiniCPM5-1B-F32.gguf.

Then run the commands above after building llama.cpp, changing the paths as necessary.

Downloads last month
232
Safetensors
Model size
1B params
Tensor type
BF16
·
Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support

Model tree for EntityDeletr/MiniCPM5-1B-GGUF

Quantized
(52)
this model