|
|
--- |
|
|
license: other |
|
|
license_name: exaone |
|
|
license_link: LICENSE |
|
|
language: |
|
|
- en |
|
|
- ko |
|
|
- es |
|
|
tags: |
|
|
- lg-ai |
|
|
- exaone |
|
|
- exaone-4.0 |
|
|
- mlx |
|
|
pipeline_tag: text-generation |
|
|
library_name: mlx |
|
|
base_model: LGAI-EXAONE/EXAONE-4.0-32B |
|
|
--- |
|
|
|
|
|
# litmudoc/EXAONE-4.0-32B-Q8 |
|
|
|
|
|
This model [litmudoc/EXAONE-4.0-32B-MLX-Q8](https://huggingface.co/litmudoc/EXAONE-4.0-32B-MLX-Q8) was |
|
|
converted to MLX format from [LGAI-EXAONE/EXAONE-4.0-32B](https://huggingface.co/LGAI-EXAONE/EXAONE-4.0-32B) |
|
|
using mlx-lm version **0.26.0**. |
|
|
|
|
|
## Use with mlx |
|
|
|
|
|
```bash |
|
|
pip install mlx-lm |
|
|
``` |
|
|
|
|
|
```python |
|
|
from mlx_lm import load, generate |
|
|
|
|
|
model, tokenizer = load("litmudoc/EXAONE-4.0-32B-MLX-Q8") |
|
|
|
|
|
prompt = "hello" |
|
|
|
|
|
if tokenizer.chat_template is not None: |
|
|
messages = [{"role": "user", "content": prompt}] |
|
|
prompt = tokenizer.apply_chat_template( |
|
|
messages, add_generation_prompt=True |
|
|
) |
|
|
|
|
|
response = generate(model, tokenizer, prompt=prompt, verbose=True) |
|
|
``` |
|
|
|