Skip to content

Docs still mention text2text-generation / summarization / translation pipeline tasks which were removed in v5 #44509

Description

@math-hiyoko

System Info

Transformers version: 5.x

The issue is related to the documentation rather than a specific runtime environment.

Who can help?

@Rocketknight1 @stevhliu

Information

  • The official example scripts
  • My own modified scripts

Tasks

  • An officially supported task in the examples folder (such as GLUE/SQuAD, ...)
  • My own task or dataset (give details below)

Reproduction

This is a documentation inconsistency in Transformers v5.
text2text-generation / summarization / translation pipeline tasks (pipeline("text2text-generation"), pipeline("summarization") and pipeline("translation")) were removed in v5.
Despite this, the official documentation still contains multiple references to these tasks.

Expected behavior

References to text2text-generation, summarization and translation as pipeline task names should be removed.

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