Generation causes errors of pad token is set to negative. Pad token in model config has to be the one used while tokenization. Related to: https://github.com/huggingface/transformers/issues/25426

nielsr changed pull request status to merged

Sign up or log in to comment