MLX
English
llama
mc0ps's picture
Update README.md
ba57a3f verified
---
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)
```