openbmb/MiniCPM-2B-sft-bf16-llama-format.
Refer to the original model card for more details on the model.pip install mlx-lm1from mlx_lm import load, generate
2
3model, tokenizer = load("mlx-community/MiniCPM-2B-sft-bf16-llama-format-mlx")
4response = generate(model, tokenizer, prompt="hello", verbose=True)