Downloads · 30 days
35
7% of all-time downloads
mlx-community/MiniCPM-2B-sft-4bit-llama-format-mlx
MiniCPM-2B-sft-4bit-llama-format-mlx 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 mlx-community/MiniCPM-2B-sft-bf16-llama-format-mlx using mlx-lm version 0.8.0. Refer to the original model card for more details on the model.
Downloads · 30 days
35
7% of all-time downloads
All-time downloads
518
Public
Parameters
3B
2.1 GB on disk
Likes
1
Public
Click a slice to open those files.
.safetensors2.1 GB · 100%
How the weights are stored.
U322.7B · 91%
From the Hugging Face model README
This model was converted to MLX format from mlx-community/MiniCPM-2B-sft-bf16-llama-format-mlx using mlx-lm version 0.8.0.
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-sft-4bit-llama-format-mlx")
response = generate(model, tokenizer, prompt="hello", verbose=True)