
# mlx-community/TinyLlama-1.1B-Chat-v1.0-mlx
This model was converted to MLX format from [`TinyLlama/TinyLlama-1.1B-Chat-v1.0`]().
Refer to the [original model card](https://huggingface.co/TinyLlama/TinyLlama-1.1B-Chat-v1.0) 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-Chat-v1.0-mlx")
response = generate(model, tokenizer, prompt="hello", verbose=True)
```


{"language": ["en"], "license": "apache-2.0", "tags": ["mlx"], "datasets": ["cerebras/SlimPajama-627B", "bigcode/starcoderdata", "HuggingFaceH4/ultrachat_200k", "HuggingFaceH4/ultrafeedback_binarized"], "widget": [{"text": "<|system|>\nYou are a chatbot who can help code!</s>\n<|user|>\nWrite me a function to calculate the first 10 digits of the fibonacci sequence in Python and print it out to the CLI.</s>\n<|assistant|>\n"}]}
mlx llama en dataset:cerebras/SlimPajama-627B dataset:bigcode/starcoderdata dataset:HuggingFaceH4/ultrachat_200k dataset:HuggingFaceH4/ultrafeedback_binarized license:apache-2.0 region:us