Instructions to use mlx-community/ALMA-7B-R-4bit-mlx with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- MLX
How to use mlx-community/ALMA-7B-R-4bit-mlx with MLX:
# Download the model from the Hub pip install huggingface_hub[hf_xet] hf download mlx-community/ALMA-7B-R-4bit-mlx --local-dir ALMA-7B-R-4bit-mlx
- Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- LM Studio
- Atomic Chat
|
Download README.md from mlx-community/ALMA-7B-R-4bit-mlx: direct link, hf CLI and curl.
- Browser
- Download file 474 Bytes
-
https://huggingface.co/mlx-community/ALMA-7B-R-4bit-mlx/resolve/main/README.md
- Command line
-
hf download hf://mlx-community/ALMA-7B-R-4bit-mlx/README.md
-
curl -L -o README.md https://huggingface.co/mlx-community/ALMA-7B-R-4bit-mlx/resolve/main/README.md
474 Bytes
| license: mit | |
| tags: | |
| - mlx | |
| # mlx-community/ALMA-7B-R-4bit-mlx | |
| This model was converted to MLX format from [`haoranxu/ALMA-7B-R`](). | |
| Refer to the [original model card](https://huggingface.co/haoranxu/ALMA-7B-R) for more details on the model. | |
| ## Use with mlx | |
| ```bash | |
| pip install mlx-lm | |
| ``` | |
| ```python | |
| from mlx_lm import load, generate | |
| model, tokenizer = load("mlx-community/ALMA-7B-R-4bit-mlx") | |
| response = generate(model, tokenizer, prompt="hello", verbose=True) | |
| ``` | |