初始化项目,由ModelHub XC社区提供模型
Model: mlx-community/Mistral-NeMo-Minitron-8B-Instruct Source: Original Platform
This commit is contained in:
27
README.md
Normal file
27
README.md
Normal file
@@ -0,0 +1,27 @@
|
||||
---
|
||||
base_model:
|
||||
- nvidia/Mistral-NeMo-Minitron-8B-Base
|
||||
library_name: transformers
|
||||
license: other
|
||||
license_name: nvidia-community-model-license
|
||||
license_link: https://www.nvidia.com/en-us/agreements/enterprise-software/nvidia-community-models-license/
|
||||
tags:
|
||||
- mlx
|
||||
---
|
||||
|
||||
# mlx-community/Mistral-NeMo-Minitron-8B-Instruct
|
||||
|
||||
The Model [mlx-community/Mistral-NeMo-Minitron-8B-Instruct](https://huggingface.co/mlx-community/Mistral-NeMo-Minitron-8B-Instruct) was converted to MLX format from [nvidia/Mistral-NeMo-Minitron-8B-Instruct](https://huggingface.co/nvidia/Mistral-NeMo-Minitron-8B-Instruct) 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/Mistral-NeMo-Minitron-8B-Instruct")
|
||||
response = generate(model, tokenizer, prompt="hello", verbose=True)
|
||||
```
|
||||
Reference in New Issue
Block a user