MiniCPM5-2B-MLX-BF16

MLX BF16 conversion of openbmb/MiniCPM5-2B for Apple Silicon. No quantization — pure BF16. For the official 4-bit MLX release, see openbmb/MiniCPM5-2B-MLX.

  • Architecture: LlamaForCausalLM, 2.5B params, 42 layers, GQA 16Q/2KV, 131k context
  • License: Apache-2.0 (same as upstream)

Converted locally with:

mlx_lm.convert --hf-path openbmb/MiniCPM5-2B \
  --mlx-path MiniCPM5-2B-MLX-BF16 --dtype bfloat16

Usage

pip install mlx-lm
mlx_lm.generate --model junwatu/MiniCPM5-2B-MLX-BF16 \
  --prompt "Who are you?" --max-tokens 128

SGLang (Metal backend):

SGLANG_USE_MLX=1 python -m sglang.launch_server \
  --model-path junwatu/MiniCPM5-2B-MLX-BF16 \
  --disable-cuda-graph --host 127.0.0.1 --port 30000
Downloads last month
-
Safetensors
Model size
3B params
Tensor type
BF16
·
MLX
Hardware compatibility
Log In to add your hardware

Quantized

Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support

Model tree for junwatu/MiniCPM5-2B-MLX-BF16

Finetuned
(9)
this model

Datasets used to train junwatu/MiniCPM5-2B-MLX-BF16