Instructions to use OrchardPair/firefunction-v2-4bit with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- MLX
How to use OrchardPair/firefunction-v2-4bit with MLX:
# Download the model from the Hub pip install huggingface_hub[hf_xet] huggingface-cli download --local-dir firefunction-v2-4bit OrchardPair/firefunction-v2-4bit
- Notebooks
- Google Colab
- Kaggle
- Local Apps
- LM Studio
| 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) | |
| ``` | |