Computing the advantage For each of the \ ( G \) sequences, we compute the reward using a reward model or reward function. To align with the comparative nature of reward models—typically trained on ...