File size: 713 Bytes
a33a8ad |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 |
---
license: other
license_name: deepseek
license_link: https://github.com/deepseek-ai/DeepSeek-V2/blob/main/LICENSE-MODEL
tags:
- mlx
---
# mlx-community/DeepSeek-V2-Lite-Chat-4bit-mlx
The Model [mlx-community/DeepSeek-V2-Lite-Chat-4bit-mlx](https://huggingface.co/mlx-community/DeepSeek-V2-Lite-Chat-4bit-mlx) was converted to MLX format from [deepseek-ai/DeepSeek-V2-Lite-Chat](https://huggingface.co/deepseek-ai/DeepSeek-V2-Lite-Chat) using mlx-lm version **0.16.0**.
## Use with mlx
```bash
pip install mlx-lm
```
```python
from mlx_lm import load, generate
model, tokenizer = load("mlx-community/DeepSeek-V2-Lite-Chat-4bit-mlx")
response = generate(model, tokenizer, prompt="hello", verbose=True)
```
|