Skip to content

Conversation

@larekrow
Copy link
Contributor

This PR fixes point 3 of #25970 by clarifying the penalty and reward cases for RepetitionPenaltyLogitsProcessor and EncoderRepetitionPenaltyLogitsProcessor within the docstrings.

EncoderRepetitionPenaltyLogitsProcessor may require further iterations as the class name does not accurately reflect what the class is doing.

@gante

Added docstrings to clarify the reward aspect of `RepetitionPenaltyLogitsProcessor` and `EncoderRepetitionPenaltyLogitsProcessor`
Copy link
Contributor

@gante gante left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you for the clarifications! A few suggestions :)

@larekrow
Copy link
Contributor Author

Hey @gante @ArthurZucker! This is ready for review 😃

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants