Instructions to use GreenBitAI/01-Yi-9B-layer-mix-bpw-3.0-mlx with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- MLX
How to use GreenBitAI/01-Yi-9B-layer-mix-bpw-3.0-mlx with MLX:
# Download the model from the Hub pip install huggingface_hub[hf_xet] huggingface-cli download --local-dir 01-Yi-9B-layer-mix-bpw-3.0-mlx GreenBitAI/01-Yi-9B-layer-mix-bpw-3.0-mlx
- Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- LM Studio
| license: apache-2.0 | |
| tags: | |
| - mlx | |
| # GreenBitAI/01-Yi-9B-layer-mix-bpw-3.0-mlx | |
| This quantized low-bit model was converted to MLX format from [`GreenBitAI/01-Yi-9B-layer-mix-bpw-3.0`](). | |
| Refer to the [original model card](https://huggingface.co/GreenBitAI/01-Yi-9B-layer-mix-bpw-3.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/01-Yi-9B-layer-mix-bpw-3.0-mlx") | |
| response = generate(model, tokenizer, prompt="hello", verbose=True) | |
| ``` | |