File size: 594 Bytes
9f286a4
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
---
library_name: transformers
tags:
- mlx
base_model: state-spaces/mamba-2.8b-hf
---

# mlx-community/mamba-2.8b-hf-f16

The Model [mlx-community/mamba-2.8b-hf-f16](https://huggingface.co/mlx-community/mamba-2.8b-hf-f16) was converted to MLX format from [state-spaces/mamba-2.8b-hf](https://huggingface.co/state-spaces/mamba-2.8b-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-2.8b-hf-f16")
response = generate(model, tokenizer, prompt="hello", verbose=True)
```