⚠️ Raise `Exception` when trying to generate 0 tokens ⚠️ #28621
change warning to exception
0461c5b0
danielkorat
changed the title raise Exception when trying to generate 0 tokens Raise `Exception` when trying to generate 0 tokens 1 year ago
Merge branch 'huggingface:main' into zero-generation-exception
ab2c8f5e
gante
commented
on 2024-01-27
Merge branch 'huggingface:main' into zero-generation-exception
cac29a0c
Update src/transformers/generation/utils.py
64d6a8ca
validate `max_new_tokens` > 0 in `GenerationConfig`
ff758af5
fix truncation test parameterization in `TextGenerationPipelineTests`
d2323264
Merge branch 'huggingface:main' into zero-generation-exception
19910d32
danielkorat
changed the title Raise `Exception` when trying to generate 0 tokens ⚠️ Raise `Exception` when trying to generate 0 tokens 1 year ago
danielkorat
changed the title ⚠️ Raise `Exception` when trying to generate 0 tokens ⚠️ Raise `Exception` when trying to generate 0 tokens ⚠️ 1 year ago
danielkorat
deleted the zero-generation-exception branch 1 year ago
Assignees
No one assigned
Login to write a write a comment.
Login via GitHub