Skip to content

Commit e800c78

Browse files
committed
tests gone after green
1 parent 33971d2 commit e800c78

File tree

8 files changed

+6
-376
lines changed

8 files changed

+6
-376
lines changed

src/transformers/generation/beam_constraints.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ class Constraint(ABC):
2525

2626
def __init__(self):
2727
logger.warning_once(
28-
"Importing `Constraint` classes is deprecated and will be removed in v4.58.0. Contrained beam search has been moved to the Hub: https://hf.co/transformers-community/constrained-beam-search. Please import using `from transformers.generation import Constraint` instead."
28+
"Importing `Constraint` classes is deprecated and will be removed in v4.58.0. Constrained beam search has been moved to the Hub: https://hf.co/transformers-community/constrained-beam-search. Please import using `from transformers.generation import Constraint` instead."
2929
)
3030
# test for the above condition
3131
self.test()

0 commit comments

Comments
 (0)