|
--- |
|
datasets: |
|
- openbmb/UltraFeedback |
|
language: |
|
- en |
|
license: gemma |
|
pipeline_tag: text-generation |
|
tags: |
|
- mlx |
|
--- |
|
|
|
# mlx-community/Gemma-2-9B-It-SPPO-Iter3-4bit |
|
|
|
The Model [mlx-community/Gemma-2-9B-It-SPPO-Iter3-4bit](https://huggingface.co/mlx-community/Gemma-2-9B-It-SPPO-Iter3-4bit) was converted to MLX format from [UCLA-AGI/Gemma-2-9B-It-SPPO-Iter3](https://huggingface.co/UCLA-AGI/Gemma-2-9B-It-SPPO-Iter3) using mlx-lm version **0.15.0**. |
|
|
|
## Use with mlx |
|
|
|
```bash |
|
pip install mlx-lm |
|
``` |
|
|
|
```python |
|
from mlx_lm import load, generate |
|
|
|
model, tokenizer = load("mlx-community/Gemma-2-9B-It-SPPO-Iter3-4bit") |
|
response = generate(model, tokenizer, prompt="hello", verbose=True) |
|
``` |
|
|