Downloads · 30 days
30
8% of all-time downloads
mlx-community/MiniCPM-2B-dpo-bf16-4bit
MiniCPM-2B-dpo-bf16-4bit is a machine learning model from mlx-community. Use it for the machine learning task on the model card, and read the license before you ship it in a product. It is set up for mlx.
This model was converted to MLX format from Isaak-Carter/MiniCPM-2B-dpo-bf16-safetensors using mlx-lm version 0.12.1. Refer to the original model card for more details on the model.
Downloads · 30 days
30
8% of all-time downloads
All-time downloads
393
Public
Parameters
3B
1.7 GB on disk
Likes
1
Public
Click a slice to open those files.
.safetensors1.7 GB · 100%
How the weights are stored.
U323B · 100%
From the Hugging Face model README
This model was converted to MLX format from Isaak-Carter/MiniCPM-2B-dpo-bf16-safetensors using mlx-lm version 0.12.1.
Refer to the original model card for more details on the model.
pip install mlx-lm
from mlx_lm import load, generate
model, tokenizer = load("mlx-community/MiniCPM-2B-dpo-bf16-4bit")
response = generate(model, tokenizer, prompt="hello", verbose=True)