Environment info
transformers version: 4.17.0
- Platform: Linux
- Python version: 3.8.12
- PyTorch version (GPU?): 1.7.1
- Tensorflow version (GPU?):
- Using GPU in script?:
- Using distributed or parallel set-up in script?:
Who can help
@sgugger@patrickvonplaten @Narsil
Information
The documentation of transformers.generation_utils.GenerationMixin.generate shows many parameters have default value, but the code of it shows all parameters are set to be None by default.
The problem arises when using:
The tasks I am working on is:
To reproduce
It is about documentation, just look at it.
Expected behavior