Result, plainly
The 14B trains cleanly and does not learn a usable preference margin on this data.
Table with columns: Metric, run 7 (3B), run 8 (14B)| Metric | run 7 (3B) | run 8 (14B) |
|---|
| eval_loss | 3.4433 | 3.1878 |
| eval_rewards/accuracies | 0.75 | 0.50 |
| eval_rewards/margins | +0.087 | −0.005 |
| eval_rewards/chosen | — | 0.0889 |
| eval_rewards/rejected | — | 0.0943 |
The lower eval loss is language-modelling likelihood, not preference learning: the 14B is simply a better next-token model. On the preference metrics it sits at chance — chosen responses are still marginally less likely than rejected ones at the end of training. The 3B on identical data separated them better.
The likely cause is the data, not the base model. The rejudged pairs have a mean chosen-vs-rejected gap of 0.94 out of 10; a one-point difference on a ten-point judge scale is inside the judge's own noise. The strict variant, trained on the subset with gap ≥ 1, did no better (see run8-strict), which argues against raising the contrast threshold as the fix.
Training details
- Method: DPO, sigmoid loss with an SFT term,
beta=0.1, LoRA r16 / alpha32 on all projections, 68.8M trainable parameters, bf16 (no quantization)
- Data: M1ztyk/SAIGE-right-speech-dpo-rejudged, config
conservative — 62 train / 16 eval pairs
- Shape: max_length 1024, per-device batch 2 × grad-accum 2 (effective 4), LR 5e-6, 48 steps = 3 epochs
- Hardware: A100-80. Peak memory 37.7 GB of 80 GB, 4.96 s/step including warmup, 192.6 s total training
- Best checkpoint:
checkpoint-16 (eval_loss 3.1878)
Full per-step history is in run8_metrics.json. No live dashboard was produced for this run — the Trackio Space could not be created on this account's plan, so the metrics file is the record.
Usage
from transformers import AutoModelForCausalLM, AutoTokenizerfrom peft import PeftModel base = AutoModelForCausalLM.from_pretrained("Qwen/Qwen2.5-14B-Instruct", torch_dtype="bfloat16", device_map="auto")model = PeftModel.from_pretrained(base, "M1ztyk/SAIGE-dpo-run8-conservative")tok = AutoTokenizer.from_pretrained("M1ztyk/SAIGE-dpo-run8-conservative") msgs = [{"role": "user", "content": "My mother just died and I don't know what to do."}]prompt = tok.apply_chat_template(msgs, add_generation_prompt=True, tokenize=False)print(tok.decode(model.generate(**tok(prompt, return_tensors="pt").to(model.device), max_new_tokens=256)[0][len(tok(prompt)["input_ids"]):], skip_special_tokens=True))
Caveats
- Do not treat this as a working SAIGE checkpoint. The eval shows no learned preference signal, so any behavioural change on real inputs is unverified.
- The eval set is 16 pairs. At 0.5 accuracy that is 8 of 16 — the confidence interval is wide, and the honest reading is "no signal", not "slightly worse".
- Trained on 3 epochs of 62 pairs. The adapter is small and cheap to retrain; it is not a final artifact.
Citations
DPO: Direct Preference Optimization: Your Language Model is Secretly a Reward Model (Rafailov et al., NeurIPS 2023).
Trained with TRL 1.13.0, Transformers 5.17.0, PyTorch 2.14.0.