Downloads · 30 days
17
19% of all-time downloads
vector-institute/Factuality-Alignment-Qwen2.5-14B
Factuality-Alignment-Qwen2.5-14B is a text generation model from vector-institute. Use it when you need the model to write or continue text. It is set up for peft. The card lists the license as apache-2.0.
A factuality-aligned Large Language Model fine-tuned using Factuality-Aware Direct Preference Optimization (Factual-DPO) to reduce hallucinations while preserving preference alignment.
Downloads · 30 days
17
19% of all-time downloads
All-time downloads
90
Public
Repo size
9.2 GB
Likes
0
Public
Click a slice to open those files.
.safetensors6.6 GB · 67%
From the Hugging Face model README
A factuality-aligned Large Language Model fine-tuned using Factuality-Aware Direct Preference Optimization (Factual-DPO) to reduce hallucinations while preserving preference alignment.
<p align="center"> <strong>Website</strong>: <a href="https://vectorinstitute.github.io/factualdpo" target="_blank">Project Page</a> | <strong>Paper</strong>: <a href="https://arxiv.org/abs/2505.11454" target="_blank">arXiv</a> | <strong>Dataset</strong>: <a href="https://huggingface.co/datasets/vector-institute/Factuality_Alignment" target="_blank">Hugging Face</a> | <strong>Code</strong>: <a href="https://github.com/VectorInstitute/Factual-Preference-Alignment" target="_blank">Github</a> </p>Large Language Models optimized via preference learning (e.g., DPO, RLHF) often over-prefer fluent but hallucinated responses, especially when factual correctness is not explicitly supervised.
Factuality-Alignment-Qwen2.5-14B addresses this limitation by applying Factual-DPO, a factuality-aware extension of Direct Preference Optimization that:
This model is fine-tuned from Qwen2.5-14B-Instruct using a large-scale, balanced, and synthetic factuality-aware preference dataset derived from Skywork Reward-Preference-80K.
Standard DPO optimizes preference alignment without distinguishing whether the preferred response is factual.
Factual-DPO modifies the DPO objective by introducing factuality indicators:
(h_w, h_l)Δ is applied when the preferred response is less factual➡️ Result:
Lower hallucination rates without sacrificing preference win-rate or fluency.
Each Δ value produces a separate fine-tuned checkpoint, enabling controlled factuality–preference trade-offs.
Evaluation is performed using GPT-4o-mini as an LLM-as-a-Judge.
Metrics
| Metric | Description |
|---|---|
| factuality | Mean factual score |
| halluc_rate | % outputs below factual threshold |
| win_rate | Preference win-rate vs baseline |
| count | Number of evaluated prompts |
The Factual-DPO variants consistently show:
from transformers import AutoTokenizer, AutoModelForCausalLM
import torch
model_id = "vector-institute/Factuality-Alignment-Qwen2.5-14B"
tokenizer = AutoTokenizer.from_pretrained(model_id)
model = AutoModelForCausalLM.from_pretrained(
model_id,
torch_dtype=torch.bfloat16,
device_map="auto"
)
prompt = "What are the causes of Type 1 diabetes?"
inputs = tokenizer(prompt, return_tensors="pt").to(model.device)
with torch.no_grad():
outputs = model.generate(
**inputs,
max_new_tokens=256,
temperature=0.7,
do_sample=True
)
print(tokenizer.decode(outputs[0], skip_special_tokens=True))
Citation: If you use this model please cite us
@article{FactualAlignment2026,
title={Reducing Hallucinations in LLMs via Factuality-Aware Preference Learning},
author={Sindhuja Chaduvula, Ahmed Radwan, Azib Farooq, Yani Ioannou, Shaina Raza},
journal={arXiv preprint arXiv:2601.03027},
year={2026}
}