license: apache-2.0 | |
tags: | |
- 'Thinking: Disabled' | |
- Forge | |
- code | |
- mlx | |
datasets: | |
- prithivMLmods/Open-Omega-Forge-1M | |
language: | |
- en | |
base_model: prithivMLmods/Omega-Qwen2.5-Coder-3B | |
pipeline_tag: text-generation | |
library_name: mlx | |
# Omega-Qwen2.5-Coder-3B-dwq6-mlx | |
This model [Omega-Qwen2.5-Coder-3B-dwq6-mlx](https://huggingface.co/Omega-Qwen2.5-Coder-3B-dwq6-mlx) was | |
converted to MLX format from [prithivMLmods/Omega-Qwen2.5-Coder-3B](https://huggingface.co/prithivMLmods/Omega-Qwen2.5-Coder-3B) | |
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("Omega-Qwen2.5-Coder-3B-dwq6-mlx") | |
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) | |
``` | |