base_model: Tesslate/UIGEN-X-8B | |
tags: | |
- text-generation-inference | |
- transformers | |
- qwen3 | |
- ui-generation | |
- tailwind-css | |
- html | |
- reasoning | |
- step-by-step-generation | |
- hybrid-thinking | |
- tool-calling | |
- mlx | |
license: apache-2.0 | |
language: | |
- en | |
pipeline_tag: text-generation | |
library_name: mlx | |
# UIGEN-X-8B-dwq6-mlx | |
This model [UIGEN-X-8B-dwq6-mlx](https://huggingface.co/UIGEN-X-8B-dwq6-mlx) was | |
converted to MLX format from [Tesslate/UIGEN-X-8B](https://huggingface.co/Tesslate/UIGEN-X-8B) | |
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("UIGEN-X-8B-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) | |
``` | |