Downloads · 30 days
4
11% of all-time downloads
baeGil/lab22-dpo-qwen2.5
lab22-dpo-qwen2.5 is a machine learning model from baeGil. Use it for the machine learning task on the model card, and read the license before you ship it in a product. It is set up for mlx. The card lists the license as apache-2.0.
This model is a fine-tuned version of Qwen/Qwen2.5-0.5B aligned using Direct Preference Optimization (DPO) on a Vietnamese preference dataset. This was developed as part of Lab 22: DPO Alignment on Apple Silicon using…
Downloads · 30 days
4
11% of all-time downloads
All-time downloads
37
Public
Repo size
1.3 GB
Likes
0
Public
Click a slice to open those files.
.safetensors1000 MB · 76%
From the Hugging Face model README
This model is a fine-tuned version of Qwen/Qwen2.5-0.5B aligned using Direct Preference Optimization (DPO) on a Vietnamese preference dataset. This was developed as part of Lab 22: DPO Alignment on Apple Silicon using the MLX framework.
This model is intended for research purposes in LLM alignment and Vietnamese language processing. It is optimized for running locally on Apple Silicon devices.
from mlx_lm import load, generate
model, tokenizer = load("baeGil/lab22-dpo-qwen2.5")
response = generate(model, tokenizer, prompt="Thủ đô của Việt Nam là gì?", verbose=True)
The model is released in two formats:
mlx-lm library.llama.cpp and other GGUF-compatible runners.If you use this model, please credit the Lab 22 DPO Alignment curriculum and the MLX framework.