Skip to content

Request for a clear documentation for .generate() #33756

Description

@sedol1339

Feature request

The .generate() function has a lot of parameters, for example length_penalty and diversity_penalty. However, the documentation of this function does not document a full list of parameters, hiding them in **kwargs. It says that "For an overview of generation strategies and code examples, check out the following guide". However, this guide also do not document a full list of parameters. It only says that "For the complete list of the available parameters, refer to the API documentation." However, the link is broken. So, could you please document all the available parameters?

UPD I found the full documentation through Google in the earlier version of Transformers. Why it was removed?

Motivation

The full documentation for .generate() is either missing or hidden somewhere

Your contribution

No, sorry, I can't write a doumentation, on the contrary, I need it to understand how the library works.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions