dpo_thinking: remove spurious leading <think></think> in nemotron-instruction-following-chat-v1, nemotron-stem and opencodereasoning

#2
by oligou - opened
OpenLLM France org

Every system/user message and the last assistant turn started with an empty before the real .... Chat templates read the reasoning before the first , so the real reasoning of the last turn was dropped and pairs differing only by it rendered identically. The empty block is now stripped at the start of every message; the content is otherwise unchanged (same rows, chosen/rejected columns only).

oligou changed pull request status to merged

Sign up or log in to comment