.generate do not work since transformer version 4.42.0

#6
by louiscsm - opened

Because there is no BOS token in the config and the vocabulary, the .generate method raise an error here https://github.com/huggingface/transformers/blob/38d94bffa6bee2e72fb1d1d24cb9ef8e001b88d5/src/transformers/generation/utils.py#L1404

Sign up or log in to comment