MLX
Safetensors
7 languages
stablelm
causal-lm
custom_code
stablelm-2-12b-4bit / README.md
prince-canuma's picture
Update README.md
7e84413 verified
---
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)
```