
Teaching a model how to speak
A closer look at conversational speech fine-tuning with CSM and LoRA. The real question is what happens after the loss curve.
Preference data, model behavior, and why alignment starts with the examples you choose.

Two answers can both sound plausible. Only one may be grounded, appropriately concise, and useful for the task. Post-training is where that distinction becomes an explicit learning signal.
Direct Preference Optimization uses pairs of responses to the same prompt: one preferred, one rejected. It trains their relative likelihood against a reference model, without training a separate explicit reward model.
Does a lower loss prove better speech?
The loss decreased. Listening quality still needs a separate evaluation.
Specific, grounded, and calibrated.Yes, the voice is definitely better.
Confident, but the evidence is insufficient.The public GLM Flash DPO repository documents a GLM-4.7-Flash fine-tune using DPO and TRL. It is a concrete artifact to explore; the card does not establish a measured improvement on every downstream task.
In the explicit-prompt format supported by TRL, a training example carries prompt, chosen, and rejected fields. Here is a deliberately small example that can be inspected before any training code is involved.
# An illustrative example, not an actual training record.
pair = {
"prompt": "Does a lower loss prove better speech?",
"chosen": (
"The loss decreased. Listening quality still "
"needs a separate evaluation."
),
"rejected": "Yes, the voice is definitely better.",
}
required = {"prompt", "chosen", "rejected"}
assert required.issubset(pair)
assert pair["chosen"] != pair["rejected"]The assertions check the shape of an example. They cannot establish whether its label is correct. That still requires a defensible preference criterion and a review process.
If longer answers consistently win, a model may learn verbosity. If confidence wins, it may learn to conceal uncertainty. If formatting wins, polish can become a proxy for correctness.
| Preference criterion | Useful review question |
|---|---|
| Grounding | Does the response stay within the available evidence? |
| Instruction adherence | Does it complete the actual task? |
| Calibration | Does it acknowledge missing information? |
| Efficiency | Does each added detail help the reader? |
Keep a held-out set of realistic prompts. Compare the base model and adapted model without revealing which is which. Include ambiguous requests, multilingual cases, and prompts where the useful next step is to ask for missing context.
Preference optimization changes a distribution of behaviors. It does not replace retrieval, access controls, reliable tools, or application-level evaluation. A model that writes beautifully still needs a system that can verify what it does.