Small sam patch
# What does this PR do?
Fixes #22904 . 
It is backward compatible and prevents having to modify any of the notebooks we shared
_The documentation is not available anymore as the PR was closed or merged._<|||||>The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_22920). All of your documentation changes will be reflected on that endpoint.