license: llama3 | |
tags: | |
- function-calling | |
- mlx | |
# mlx-community/firefunction-v2-4bit | |
The Model [mlx-community/firefunction-v2-4bit](https://huggingface.co/mlx-community/firefunction-v2-4bit) was converted to MLX format from [fireworks-ai/firefunction-v2](https://huggingface.co/fireworks-ai/firefunction-v2) using mlx-lm version **0.14.3**. | |
## Use with mlx | |
```bash | |
pip install mlx-lm | |
``` | |
```python | |
from mlx_lm import load, generate | |
model, tokenizer = load("mlx-community/firefunction-v2-4bit") | |
response = generate(model, tokenizer, prompt="hello", verbose=True) | |
``` | |