Files
VibeThinker-3B-MLX-BF16/README.md

44 lines
928 B
Markdown
Raw Normal View History

---
license: mit
language:
- en
base_model: WeiboAI/VibeThinker-3B
tags:
- math
- code
- reasoning
- gpqa
- instruction-following
- mlx
pipeline_tag: text-generation
library_name: mlx
---
# gabfssilva/VibeThinker-3B-MLX-BF16
This model [gabfssilva/VibeThinker-3B-MLX-BF16](https://huggingface.co/gabfssilva/VibeThinker-3B-MLX-BF16) was
converted to MLX format from [WeiboAI/VibeThinker-3B](https://huggingface.co/WeiboAI/VibeThinker-3B)
using mlx-lm version **0.31.3**.
## Use with mlx
```bash
pip install mlx-lm
```
```python
from mlx_lm import load, generate
model, tokenizer = load("gabfssilva/VibeThinker-3B-MLX-BF16")
prompt = "hello"
if tokenizer.chat_template is not None:
messages = [{"role": "user", "content": prompt}]
prompt = tokenizer.apply_chat_template(
messages, add_generation_prompt=True, return_dict=False,
)
response = generate(model, tokenizer, prompt=prompt, verbose=True)
```