Downloads · 30 days
12
32% of all-time downloads
jvonrad/Qwen-2.5-7B-SFT-10k
Qwen-2.5-7B-SFT-10k is a text generation model from jvonrad. 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.
Supervised fine-tuning on 10,000 PolyFact-Clean facts x 12 languages, pure cross-entropy (--consistencyweight 0.0).
Downloads · 30 days
12
32% of all-time downloads
All-time downloads
38
Public
Repo size
173 MB
Likes
0
Public
Click a slice to open those files.
.safetensors162 MB · 93%
From the Hugging Face model README
Supervised fine-tuning on 10,000 PolyFact-Clean facts x 12 languages, pure cross-entropy (--consistency_weight 0.0).
A LoRA adapter (r=64, alpha=128) over
Qwen/Qwen2.5-7B, trained for the paper
Improving Cross-Lingual Factual Recall via Consistency-Driven Reinforcement
Learning. It is one arm of a controlled comparison in which SFT, DCO, CM-Align
and GRPO all see the same 10,000 facts from
jvonrad/PolyFact-Clean
across the same 12 languages, so the methods differ only in objective.
Accuracy (%) unless noted. PolyFact-Clean is the 2,039-fact curated test split with byte-normalised log-likelihood scoring; TotCons is the fraction of facts answered correctly in all 12 languages; RankC is RankC@4 (floor 9.02, chance 37.68). KLAR is free-form generation over 17 languages, split into the 7 seen in training and the 10 held out.
| Model | PolyFact | TotCons | RankC | BMLAMA-53 | G-MMLU-Lite | KLAR seen | KLAR held-out |
|---|---|---|---|---|---|---|---|
Base (Qwen/Qwen2.5-7B) | 51.25 | 5.35 | 62.36 | 26.17 | 63.55 | 47.72 | 35.78 |
| This model | 57.88 | 8.73 | 65.64 | 27.01 | 61.77 | 50.55 | 39.91 |
from peft import PeftModel
from transformers import AutoModelForCausalLM, AutoTokenizer
base = AutoModelForCausalLM.from_pretrained("Qwen/Qwen2.5-7B", dtype="bfloat16",
device_map="auto")
model = PeftModel.from_pretrained(base, "jvonrad/Qwen-2.5-7B-SFT-10k")
tok = AutoTokenizer.from_pretrained("jvonrad/Qwen-2.5-7B-SFT-10k")
Evaluation used the closed-book prompt Question: {q}\nAnswer: with the
options hidden, matching evaluate/evaluate_crosslingual_consistency.py.
@misc{polyfact2026,
title = {Improving Cross-Lingual Factual Recall via Consistency-Driven
Reinforcement Learning},
author = {von Rad, Jonathan},
year = {2026},
eprint = {2606.06586},
archivePrefix = {arXiv}
}