Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
GenerationConfig: warn if pad token is negative (#30187)
* warn if pad token is negative * Update src/transformers/generation/configuration_utils.py Co-authored-by: amyeroberts <[email protected]> * Update src/transformers/generation/configuration_utils.py Co-authored-by: Joao Gante <[email protected]> * Update src/transformers/generation/configuration_utils.py Co-authored-by: Joao Gante <[email protected]> --------- Co-authored-by: amyeroberts <[email protected]> Co-authored-by: Joao Gante <[email protected]>
- Loading branch information