File size: 742 Bytes
5cb6f1c |
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 26 27 28 29 30 31 32 33 34 |
---
language:
- en
license: llama3
tags:
- facebook
- meta
- pytorch
- llama
- llama-3
- groq
- tool-use
- function-calling
- mlx
pipeline_tag: text-generation
---
# mlx-community/Llama-3-Groq-8B-Tool-Use-bf16
The Model [mlx-community/Llama-3-Groq-8B-Tool-Use-bf16](https://huggingface.co/mlx-community/Llama-3-Groq-8B-Tool-Use-bf16) was converted to MLX format from [Groq/Llama-3-Groq-8B-Tool-Use](https://huggingface.co/Groq/Llama-3-Groq-8B-Tool-Use) using mlx-lm version **0.15.2**.
## Use with mlx
```bash
pip install mlx-lm
```
```python
from mlx_lm import load, generate
model, tokenizer = load("mlx-community/Llama-3-Groq-8B-Tool-Use-bf16")
response = generate(model, tokenizer, prompt="hello", verbose=True)
```
|