translate into vietnamese "The issue here is that the supervised learning stage suffers…
- User
translate into vietnamese "The issue here is that the supervised learning stage suffers from high scalability costs. To address this challenge, the approach has shifted from requiring human labelers to generate an extensive curated dataset, which is time-consuming and expensive, to having them rank various outputs of the SFT model in order to create a reward model.
Second step: Collect comparison data and train a reward model Step 2 begins by making a request to the GPT model. With the question “Explain reinforcement learning to a 6 year old?” being asked 4 times by the user, the GPT model will generate 4 different responses: (A) In reinforcement learning, the agent is … (B) Explain rewards … (C) In machine learning … (D) We give treats and punishments to teach … In this second stage, a set of prompts is chosen, and the SFT model generates multiple responses for each prompt. Following this, labelers rank the outputs from best to worst, for instance, D → C → A → B. This results in a new labeled dataset, which is roughly 10 times larger than the curated dataset used for the SFT model. This processing step necessitates human intervention to rank the responses from best to worst by assigning a specific rank score. This new information is employed to train a reward model (RM). The model takes a selection of the SFT model’s outputs as input and ranks them based on preference. At this point, some readers may wonder if ChatGPT really is “intelligent,” or if it merely trades off human effort upfront, given the immense involvement of human resources in each stage like this. However, as for labelers it is much easier for labelers to rank the outputs than to generate them from scratch, this process scales up more efficiently. In practice, this dataset has been created from a selection of 30-40k prompts, and a variable number of the generated outputs (for each prompt) is presented to each labeler during the ranking phase.
Third step: Optimize a policy against the reward model using the PPO reinforcement learning algorithm In Step 3, a completely new request is entered that has never appeared in the training dataset: “Write a story about otters.” This request will be passed through the models trained in Steps 1 and 2, including generating responses and evaluating whether the response is good or bad using ranking levels. The special thing here is that these two models will train each other in a loop, where the output of the ranking model in Step 2 returns as the input to the GPT generation model in Step 1. This process uses the PPO algorithm to optimize the parameters of both the language model and the reward model. There is a notable point that step 1 takes place only once, while steps 2 and 3 can be iterated continuously."
- Assistant