library_name: transformers | |
tags: | |
- mlx | |
base_model: state-spaces/mamba-130m-hf | |
# mlx-community/mamba-130m-hf-f32 | |
The Model [mlx-community/mamba-130m-hf-f32](https://huggingface.co/mlx-community/mamba-130m-hf-f32) was converted to MLX format from [state-spaces/mamba-130m-hf](https://huggingface.co/state-spaces/mamba-130m-hf) using mlx-lm version **0.18.1**. | |
## Use with mlx | |
```bash | |
pip install mlx-lm | |
``` | |
```python | |
from mlx_lm import load, generate | |
model, tokenizer = load("mlx-community/mamba-130m-hf-f32") | |
response = generate(model, tokenizer, prompt="hello", verbose=True) | |
``` | |