179 questions
No questions match those filters.
Walk me through how you train a reward model from pairw...
This is one of the questions in the full AI/ML interview bank. Pro unlocks all 1789 questions; Premium includes the same bank plus the highest daily Practice limit.
See plansTo train a reward model, you start with the Bradley-Terry model, where each response is assigned a latent scalar reward and preferences are modeled as logistic in the reward difference. You then define the negative log-likelihood loss over the preferred and rejected pairs. The implementation requires taking a pretrained language model and replacing the final vocabulary head with a scalar linear layer. Training is generally performed with a learning rate around 10^-5 for 1-2 epochs, and the model is evaluated using held-out pairwise accuracy.