g8a9's picture
4d5c081af99ae91e0f5c99c4423b9fade1e92f14095babecd9422e3e1e005038
1b205d9 verified
|
raw
history blame
660 Bytes
---
datasets:
- gsarti/clean_mc4_it
language:
- it
library_name: transformers
tags:
- mlx
---
# RiTA-nlp/llama3-tweety-8b-italian-mlx-4bit
The Model [RiTA-nlp/llama3-tweety-8b-italian-mlx-4bit](https://huggingface.co/RiTA-nlp/llama3-tweety-8b-italian-mlx-4bit) was converted to MLX format from [RiTA-nlp/llama3-tweety-8b-italian](https://huggingface.co/RiTA-nlp/llama3-tweety-8b-italian) 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("RiTA-nlp/llama3-tweety-8b-italian-mlx-4bit")
response = generate(model, tokenizer, prompt="hello", verbose=True)
```