mirror of
https://github.com/huggingface/transformers.git
synced 2025-08-02 19:21:31 +06:00
Fixed typo in generation_utils.py (#19145)
Changed "unfeasable" to "unfeasible"
This commit is contained in:
parent
3c7b965bcd
commit
c7fd28999f
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user