File size: 822 Bytes
bc4b88e |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 |
---
language:
- en
license: apache-2.0
tags:
- mlx
datasets:
- Skylion007/openwebtext
- JeanKaddour/minipile
pipeline_tag: text-generation
inference:
parameters:
do_sample: true
temperature: 0.5
top_p: 0.5
top_k: 50
max_new_tokens: 250
repetition_penalty: 1.176
---
# mlx-community/TinyMistral-248M-8bits
The Model [mlx-community/TinyMistral-248M-8bits](https://huggingface.co/mlx-community/TinyMistral-248M-8bits) was converted to MLX format from [Locutusque/TinyMistral-248M](https://huggingface.co/Locutusque/TinyMistral-248M) using mlx-lm version **0.14.0**.
## Use with mlx
```bash
pip install mlx-lm
```
```python
from mlx_lm import load, generate
model, tokenizer = load("mlx-community/TinyMistral-248M-8bits")
response = generate(model, tokenizer, prompt="hello", verbose=True)
```
|