Generate: post-generate config TF doctest fix 
# What does this PR do?

Same as in this PR https://github.com/huggingface/transformers/pull/20804, but for TF 🤦 
_The documentation is not available anymore as the PR was closed or merged._