| 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-flow | |
| 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-flow") | |
| response = generate(model, tokenizer, prompt="hello", verbose=True) | |
| ``` | |