Generate: Fix CI related to #20727 
# What does this PR do?

Fixes the error that showed up here: https://github.com/huggingface/transformers/actions/runs/3834635537/jobs/6527258530

Related to #20727 
_The documentation is not available anymore as the PR was closed or merged._