Optional
One ORPO step over the prefix-shared concat. promptIds/chosenResp/ rejectedResp come from splitPrefixBatch. Returns the loss + LoRA grads in flatParams(lora) order (caller owns).
promptIds
chosenResp
rejectedResp
One ORPO step over the prefix-shared concat.
promptIds/chosenResp/rejectedRespcome from splitPrefixBatch. Returns the loss + LoRA grads in flatParams(lora) order (caller owns).