Generate: minor docstring fix (#19801)

This commit is contained in:
Joao Gante 2022-10-23 10:46:47 +01:00 committed by GitHub
parent 74b3eb3dea
commit 674f750a57
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -1135,7 +1135,7 @@ class GenerationMixin:
Custom logits processors that complement the default logits processors built from arguments and a
model's config. If a logit processor is passed that is already created with the arguments or a model's
config an error is thrown. This feature is intended for advanced users.
renormalize_logits: (`bool`, *optional*, defaults to `False`):
renormalize_logits (`bool`, *optional*, defaults to `False`):
Whether to renormalize the logits after applying all the logits processors or warpers (including the
custom ones). It's highly recommended to set this flag to `True` as the search algorithms suppose the
score logits are normalized but some logit processors or warpers break the normalization.