eos_token config in PPOTrainer #2387
Labels
✨ enhancement
New feature or request
👶 good first issue
Good for newcomers
🙋 help from community wanted
Open invitation for community members to contribute
🏋 PPO
Related to PPO
Feature request
It appears that the generation config in PPOTrainer does not set an eos_token, resulting in each generation process continuing until it reaches the maximum length before stopping, which is quite time-consuming.
Motivation
If the
eos_token
is set, it will significantly reduce the time spent during the generation phase.Your contribution
i'm sorry
The text was updated successfully, but these errors were encountered: