Isaak Carter Augustus
79fa7ea72bfb29c382b656c7dc194129bef984667c35a098feeb6d9080840589
326d446
verified
library_name: transformers | |
tags: | |
- mlx | |
base_model: state-spaces/mamba-1.4b-hf | |
# mlx-community/mamba-1.4b-hf-f16 | |
The Model [mlx-community/mamba-1.4b-hf-f16](https://huggingface.co/mlx-community/mamba-1.4b-hf-f16) was converted to MLX format from [state-spaces/mamba-1.4b-hf](https://huggingface.co/state-spaces/mamba-1.4b-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-1.4b-hf-f16") | |
response = generate(model, tokenizer, prompt="hello", verbose=True) | |
``` | |