reka-flash-3-4bit / README.md
abalogh's picture
Update README.md
71df733 verified
---
license: apache-2.0
tags:
- mlx
base_model: RekaAI/reka-flash-3
---
# mlx-community/reka-flash-3-4bit
The Model [mlx-community/reka-flash-3-4bit](https://huggingface.co/mlx-community/reka-flash-3-4bit) was
converted to MLX format from [RekaAI/reka-flash-3](https://huggingface.co/RekaAI/reka-flash-3)
using mlx-lm version **0.21.5**.
## Use with mlx
```bash
pip install mlx-lm
```
```python
from mlx_lm import load, generate
model, tokenizer = load("mlx-community/reka-flash-3-4bit")
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)
```