|
--- |
|
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-1_6b-4bit |
|
This model was converted to MLX format from [`stabilityai/stablelm-2-1_6b`]() using mlx-lm version **0.7.0**. |
|
|
|
Model added by [Prince Canuma](https://twitter.com/Prince_Canuma). |
|
|
|
Refer to the [original model card](https://huggingface.co/stabilityai/stablelm-2-1_6b) 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-1_6b-4bit") |
|
response = generate(model, tokenizer, prompt="hello", verbose=True) |
|
``` |
|
|