MLX
Safetensors
7 languages
stablelm
causal-lm
custom_code
File size: 846 Bytes
fe5d4fd
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
7e84413
 
 
fe5d4fd
 
 
 
 
 
 
 
 
 
 
 
 
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
35
36
37
38
39
40
41
---
language:
- en
- de
- es
- fr
- it
- nl
- pt
license: other
tags:
- causal-lm
- mlx
datasets:
- tiiuae/falcon-refinedweb
- togethercomputer/RedPajama-Data-1T
- uonlp/CulturaX
- CarperAI/pilev2-dev
- bigcode/starcoderdata
- DataProvenanceInitiative/Commercially-Verified-Licenses
---

# mlx-community/stablelm-2-12b-4bit
This model was converted to MLX format from [`stabilityai/stablelm-2-12b`]() using mlx-lm version **0.8.0**.

Model added by [Prince Canuma](https://twitter.com/Prince_Canuma).

Refer to the [original model card](https://huggingface.co/stabilityai/stablelm-2-12b) 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/stablelm-2-12b-4bit")
response = generate(model, tokenizer, prompt="hello", verbose=True)
```