Skip to content

Generate multiple outputs #2789

Description

@SimonBenhamou

Hello,

I can't find the following information: is it possible to generate, given a prompt, multiple hypotheses simultaneously? This functionality is available via the num_return_sequences parameter in the model.generate method of the transformers library, or the num_hypotheses argument in ctranslate2.

Thanks,
Simon

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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