RLHF & Preference Optimization
Implement an end-to-end toy RLHF loop on a “bandit-LM”: train an RM from synthetic prefe
Implement an end-to-end toy RLHF loop on a “bandit-LM”: train an RM from synthetic preferences, optimize the policy with PPO + KL control, and plot gold vs proxy reward to exhibit over-optimization. [OpenAI]
softmax(z)Implement the function/class skeleton in the editor. Any correct approach is accepted.