MLX
Safetensors
nemotron
File size: 691 Bytes
64c424c
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
---

license: other
license_name: nvidia-open-model-license
license_link: https://developer.download.nvidia.com/licenses/nvidia-open-model-license-agreement-june-2024.pdf
tags:
- mlx
---


# mlx-community/Minitron-4B-Base

The Model [mlx-community/Minitron-4B-Base](https://huggingface.co/mlx-community/Minitron-4B-Base) was converted to MLX format from [nvidia/Minitron-4B-Base](https://huggingface.co/nvidia/Minitron-4B-Base) using mlx-lm version **0.17.1**.

## Use with mlx

```bash
pip install mlx-lm
```

```python
from mlx_lm import load, generate

model, tokenizer = load("mlx-community/Minitron-4B-Base")
response = generate(model, tokenizer, prompt="hello", verbose=True)
```