File size: 570 Bytes
ffc89ff
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
---
license: cc-by-sa-4.0
library_name: transformers
tags:
- mlx
pipeline_tag: text-generation
---

# mlx-community/sqlcoder-70b-alpha-4bit-mlx
This model was converted to MLX format from [`defog/sqlcoder-70b-alpha`]().
Refer to the [original model card](https://huggingface.co/defog/sqlcoder-70b-alpha) for more details on the model.
## Use with mlx

```bash
pip install mlx-lm
```

```python
from mlx_lm import load, generate

model, tokenizer = load("mlx-community/sqlcoder-70b-alpha-4bit-mlx")
response = generate(model, tokenizer, prompt="hello", verbose=True)
```