|
--- |
|
language: |
|
- en |
|
license: apache-2.0 |
|
tags: |
|
- mlx |
|
datasets: |
|
- cerebras/SlimPajama-627B |
|
- bigcode/starcoderdata |
|
--- |
|
|
|
# mlx-community/TinyLlama-1.1B-intermediate-step-1431k-3T-mlx |
|
This model was converted to MLX format from [`TinyLlama/TinyLlama-1.1B-intermediate-step-1431k-3T`](). |
|
Refer to the [original model card](https://huggingface.co/TinyLlama/TinyLlama-1.1B-intermediate-step-1431k-3T) 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/TinyLlama-1.1B-intermediate-step-1431k-3T-mlx") |
|
response = generate(model, tokenizer, prompt="hello", verbose=True) |
|
``` |
|
|