| license: llama3 | |
| tags: | |
| - function-calling | |
| - mlx | |
| # mlx-community/firefunction-v2-8bit | |
| The Model [mlx-community/firefunction-v2-8bit](https://huggingface.co/mlx-community/firefunction-v2-8bit) 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-8bit") | |
| response = generate(model, tokenizer, prompt="hello", verbose=True) | |
| ``` | |