Downloads · 30 days
25
8% of all-time downloads
mlx-community/MiniCPM-2B-dpo-bf16
MiniCPM-2B-dpo-bf16 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
25
8% of all-time downloads
All-time downloads
326
Public
Parameters
470M
7.7 GB on disk
Likes
0
Public
Click a slice to open those files.
.safetensors7.7 GB · 100%
How the weights are stored.
U32376M · 80%
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")
response = generate(model, tokenizer, prompt="hello", verbose=True)