How to use from
MLX LM
Generate or start a chat session
# Install MLX LM
uv tool install mlx-lm
# Interactive chat REPL
mlx_lm.chat --model "PollardWeights/MiniCPM5-2B-Pollard-MLX"
Run an OpenAI-compatible server
# Install MLX LM
uv tool install mlx-lm
# Start the server
mlx_lm.server --model "PollardWeights/MiniCPM5-2B-Pollard-MLX"
# Calling the OpenAI-compatible server with curl
curl -X POST "http://localhost:8000/v1/chat/completions" \
   -H "Content-Type: application/json" \
   --data '{
     "model": "PollardWeights/MiniCPM5-2B-Pollard-MLX",
     "messages": [
       {"role": "user", "content": "Hello"}
     ]
   }'
Quick Links

MiniCPM5-2B-MLX โ€” Pollard

Pollard shrank this model for Apple Silicon: 5.04 GB (f16) โ†’ 1.71 GB โ€” 66% smaller, 3.0ร— down.

The smallest rung here; larger, higher-fidelity rungs are listed below.

Pollard builds of openbmb/MiniCPM5-2B made with Pollard Weights โ€” a ladder of measured-allocation quants (bits placed by per-layer sensitivity, not a uniform crush).

Model details

Parameter count ~2.5B
Architecture llama
Input support text
imatrix no
Perplexity measured yes โ€” table below

Which file should I choose?

Every rung is the same weights, sized to a different RAM budget by the measured allocation. Pick the largest one that fits your machine with room for context:

  • ~5 GB RAM / VRAM โ†’ q8/model.safetensors (2.67 GB).
  • ~4 GB RAM / VRAM โ†’ model.safetensors (2.04 GB).
  • ~4 GB RAM / VRAM โ†’ q4/model.safetensors (1.71 GB).

Available files

file PPL size Mean KLD notes
q4/model.safetensors โ€” 1.71 GB โ€” q4/model.safetensors
model.safetensors โ€” 2.04 GB โ€” model.safetensors
q8/model.safetensors โ€” 2.67 GB โ€” q8/model.safetensors

Available rungs

rung bpw size notes path
q8 8.50 2.5 GB near-lossless q8/
mix (recommended) 6.48 1.9 GB measured 4/8 mixed-precision repo root
q4 5.43 1.6 GB smallest q4/

PPL / Mean-KLD benchmarking pending โ€” sizes and allocation are final.

Download a specific file

pip install -U "huggingface_hub[cli]"
hf download PollardWeights/MiniCPM5-2B-Pollard-MLX \
  --include "q4/model.safetensors" --local-dir ./

How to run

mlx_lm.generate --model PollardWeights/MiniCPM5-2B-Pollard-MLX --prompt "Hello"

Errata

  • Measured allocation places bits by per-layer sensitivity under a size budget.
  • Single machine; replication invited.

Credits & license

Built with Pollard Weights โ€” frontier models, small hardware, no compromise.

Downloads last month
36
Safetensors
Model size
3B params
Tensor type
U32
ยท
BF16
ยท
MLX
Hardware compatibility
Log In to add your hardware

4-bit

Inference Providers NEW
This model isn't deployed by any Inference Provider. ๐Ÿ™‹ Ask for provider support

Model tree for PollardWeights/MiniCPM5-2B-Pollard-MLX

Quantized
(126)
this model