Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update logits_process.py docstrings #25971

Merged
merged 1 commit into from
Sep 12, 2023
Merged

Update logits_process.py docstrings #25971

merged 1 commit into from
Sep 12, 2023

Conversation

larekrow
Copy link
Contributor

@larekrow larekrow commented Sep 5, 2023

This PR fixes points 1 and 2 of #25970 by correcting the docstrings for RepetitionPenaltyLogitsProcessor and EncoderRepetitionPenaltyLogitsProcessor.

Point 3 is left untouched as it can be "fixed" by multiple ways: either enforcing penalty > 1 or clarifying further in the docstrings.

@gante

Corrects the docstrings for `RepetitionPenaltyLogitsProcessor` and `EncoderRepetitionPenaltyLogitsProcessor`
Copy link
Member

@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 fix!

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