language: | |
- en | |
license: other | |
tags: | |
- chat | |
- mlx | |
- mlx | |
license_name: tongyi-qianwen-research | |
license_link: https://huggingface.co/Qwen/Qwen1.5-0.5B-Chat/blob/main/LICENSE | |
pipeline_tag: text-generation | |
# madroid/Qwen1.5-0.5B-4bit-new | |
This model was converted to MLX format from [`mlx-community/Qwen1.5-0.5B-Chat-4bit`](). | |
Refer to the [original model card](https://huggingface.co/mlx-community/Qwen1.5-0.5B-Chat-4bit) for more details on the model. | |
## Use with mlx | |
```bash | |
pip install mlx-lm | |
``` | |
```python | |
from mlx_lm import load, generate | |
model, tokenizer = load("madroid/Qwen1.5-0.5B-4bit-new") | |
response = generate(model, tokenizer, prompt="hello", verbose=True) | |
``` | |