You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am running a video understanding task similar to the notebook on a single A100 GPU. When the code reaches model.generate(...), the program exits after displaying the following two warnings, with no other error messages. I don’t understand what is causing this issue. UserWarning: You have modified the pretrained model configuration to control generation. This is a deprecated strategy to control generation and will be removed soon, in a future version. Please use and modify the model generation configuration (see https://huggingface.co/docs/transformers/generation_strategies#default-text-generation-configuration ) warnings.warn( Setting pad_token_idtoeos_token_id:2 for open-end generation.
The text was updated successfully, but these errors were encountered:
I am running a video understanding task similar to the notebook on a single A100 GPU. When the code reaches model.generate(...), the program exits after displaying the following two warnings, with no other error messages. I don’t understand what is causing this issue.
UserWarning: You have modified the pretrained model configuration to control generation. This is a deprecated strategy to control generation and will be removed soon, in a future version. Please use and modify the model generation configuration (see https://huggingface.co/docs/transformers/generation_strategies#default-text-generation-configuration ) warnings.warn( Setting
pad_token_idto
eos_token_id:2 for open-end generation.
The text was updated successfully, but these errors were encountered: