---
title: DeepSeek-V4-Flash-nvfp4
canonical_url: "https://www.modelscope.cn/models/mlx-community/DeepSeek-V4-Flash-nvfp4"
md_url: "https://www.modelscope.cn/models/mlx-community/DeepSeek-V4-Flash-nvfp4.md"
repository: mlx-community/DeepSeek-V4-Flash-nvfp4
last_updated: 2026-04-26
pipeline_tag: text-generation
tasks:
  - text-generation
model_type:
  - deepseek_v4
architectures:
  - DeepseekV4ForCausalLM
parameters: 53.8B
tensor_type:
  - U32
  - U8
  - F32
  - BF16
  - I64
library_name:
  - mlx
  - safetensors
  - pytorch
frameworks:
  - pytorch
language:
  - en
downloads: 174
stars: 0
tags:
  - mlx
---

# DeepSeek-V4-Flash-nvfp4

> DeepSeek-V4-Flash-nvfp4 - mlx-community 在 ModelScope 开源的模型。mlx-community/DeepSeek-V4-Flash-nvfp4

- **Repository**: mlx-community/DeepSeek-V4-Flash-nvfp4
- **Tasks**: text-generation
- **Parameters**: 53.8B
- **Tags**: mlx
- **Downloads**: 174
- **Stars**: 0
- **Last updated**: 2026-04-26

Source: https://www.modelscope.cn/models/mlx-community/DeepSeek-V4-Flash-nvfp4

---

# mlx-community/DeepSeek-V4-Flash-nvfp4

Made possible by [Lambda.ai](https://huggingface.co/lambda) ❤️

## Use with mlx

```bash
pip install mlx-lm
```

```python
from mlx_lm import load, generate

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

prompt = "hello"

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

response = generate(model, tokenizer, prompt=prompt, verbose=True)
```
