mlx-community/DeepSeek-V4-Flash

This 8-bit model mlx-community/DeepSeek-V4-Flash was converted to MLX format from deepseek-ai/DeepSeek-V4-Flash.

DeepSeek-V4-Flash is a Mixture-of-Experts model with 284B total parameters, 13B activated parameters, and a context length of 1M tokens. Refer to the original model card for more details on the model.

Use with mlx

pip install mlx-lm
from mlx_lm import load, generate

model, tokenizer = load("mlx-community/DeepSeek-V4-Flash")

prompt = "hello"

if tokenizer.chat_template is not None:
    messages = [{"role": "user", "content": prompt}]
    prompt = tokenizer.apply_chat_template(
        messages, add_generation_prompt=True
    )

response = generate(model, tokenizer, prompt=prompt, verbose=True)
Downloads last month
8,907
Safetensors
Model size
284B params
Tensor type
BF16
·
U32
·
F32
·
U8
·
I64
·
MLX
Hardware compatibility
Log In to add your hardware

8-bit

Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support

Model tree for mlx-community/DeepSeek-V4-Flash

Quantized
(73)
this model