.. role:: hidden :class: hidden-section .. currentmodule:: torchtune.rlhf.loss DPOLoss ======= .. autoclass:: DPOLoss :members: