How to use from the
Use from the
MLX library
# Download the model from the Hub
pip install huggingface_hub[hf_xet]

huggingface-cli download --local-dir DeepSeek-Coder-V2-Lite-Instruct-4bit-mlx mlx-community/DeepSeek-Coder-V2-Lite-Instruct-4bit-mlx

mlx-community/DeepSeek-Coder-V2-Lite-Instruct-4bit-mlx

The Model mlx-community/DeepSeek-Coder-V2-Lite-Instruct-4bit-mlx was converted to MLX format from deepseek-ai/DeepSeek-Coder-V2-Lite-Instruct using mlx-lm version 0.16.0.

Use with mlx

pip install mlx-lm
from mlx_lm import load, generate

model, tokenizer = load("mlx-community/DeepSeek-Coder-V2-Lite-Instruct-4bit-mlx")
response = generate(model, tokenizer, prompt="hello", verbose=True)
Downloads last month
6,266
Safetensors
Model size
2B params
Tensor type
F16
·
U32
·
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