base_model: GreenBitAI/Qwen-2.5-7B-Instruct-layer-mix-bpw-4.0 | |
license: apache-2.0 | |
tags: | |
- mlx | |
# GreenBitAI/Qwen-2.5-7B-Instruct-layer-mix-bpw-4.0-mlx | |
This quantized low-bit model [GreenBitAI/Qwen-2.5-7B-Instruct-layer-mix-bpw-4.0-mlx](https://huggingface.co/GreenBitAI/Qwen-2.5-7B-Instruct-layer-mix-bpw-4.0-mlx) was converted to MLX format from [`GreenBitAI/Qwen-2.5-7B-Instruct-layer-mix-bpw-4.0`](https://huggingface.co/GreenBitAI/Qwen-2.5-7B-Instruct-layer-mix-bpw-4.0) using gbx-lm version **0.3.4**. | |
Refer to the [original model card](https://huggingface.co/GreenBitAI/Qwen-2.5-7B-Instruct-layer-mix-bpw-4.0) for more details on the model. | |
## Use with mlx | |
```bash | |
pip install gbx-lm | |
``` | |
```python | |
from gbx_lm import load, generate | |
model, tokenizer = load("GreenBitAI/Qwen-2.5-7B-Instruct-layer-mix-bpw-4.0-mlx") | |
response = generate(model, tokenizer, prompt="hello", verbose=True) | |
``` | |