Reinforcement Learning from Human Feedback
Reinforcement Learning from Human Feedback (RLHF)
πOne-line summary
A reinforcement learning technique that aligns model behavior using human preference feedback.
π‘Easy explanation
A training method where humans pick 'this answer is better,' and the model learns from that feedback. It's why ChatGPT answers politely instead of chaotically.
β¨Example
μΈκ° νΌλλ°±μΌλ‘ λͺ¨λΈ μ‘°μ¨
π A
μμ λ°λ₯Έ λ΅λ³
π B
무λ‘ν λ΅λ³
β‘Vibe coding prompt examples
We're collecting thumbs-up/down feedback on our chatbot's answers. Design a storage schema so this data can be used for RLHF or preference learning.
Explain the RLHF pipeline (SFT β reward model β PPO) step by step and show example data formats needed at each stage.
Write a feedback collection UI in React. Show two answers side by side and let the user pick the better one, as a pairwise comparison.
Try these prompts in your AI coding assistant!