Skip to content

Text Generation Pipeline doesn't take Truncation = True #14033

@dunalduck0

Description

@dunalduck0

🚀 Feature request

Motivation

This request is similar to #9432 but for text generation pipeline. Truncation is not accepted by text generation pipeline. GPT-J would crash if the input prompt exceeds the limit of 1024 tokens.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions