初始化项目,由ModelHub XC社区提供模型
Model: mlx-community/Llama-3-Groq-8B-Tool-Use-bf16 Source: Original Platform
This commit is contained in:
33
README.md
Normal file
33
README.md
Normal file
@@ -0,0 +1,33 @@
|
||||
---
|
||||
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)
|
||||
```
|
||||
Reference in New Issue
Block a user