Fixed typo in generation_utils.py (#19145)

Changed "unfeasable" to "unfeasible"
This commit is contained in:
Nishant Balepur 2022-09-21 13:59:52 -05:00 committed by GitHub
parent 3c7b965bcd
commit c7fd28999f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1275,7 +1275,7 @@ class GenerationMixin:
if min_length is not None and min_length > max_length:
raise ValueError(
f"Unfeasable length constraints: the minimum length ({min_length}) is larger than the maximum "
f"Unfeasible length constraints: the minimum length ({min_length}) is larger than the maximum "
f"length ({max_length})"
)
if input_ids_seq_length >= max_length: