Skip to content

docs(tasks): remove references to removed question-answering pipeline#44787

Merged
stevhliu merged 1 commit into
huggingface:mainfrom
BillionClaw:clawoss/docs/remove-qa-pipeline-refs-44752
Mar 17, 2026
Merged

docs(tasks): remove references to removed question-answering pipeline#44787
stevhliu merged 1 commit into
huggingface:mainfrom
BillionClaw:clawoss/docs/remove-qa-pipeline-refs-44752

Conversation

@BillionClaw
Copy link
Copy Markdown

The question-answering pipeline was removed in v5.0.0 per MIGRATION_GUIDE_V5.md, but the non-English task guides still referenced it.

This updates the Arabic, Chinese, Japanese, and Korean question answering task guides to remove usage of pipeline('question-answering') which no longer exists and would raise:

Unknown task question-answering, available tasks are [...]

The docs now show the direct tokenizer/model approach instead (using AutoTokenizer and AutoModelForQuestionAnswering), consistent with the English version of the guide.

Fixes huggingface/course#1211

The question-answering pipeline was removed in v5.0.0 per MIGRATION_GUIDE_V5.md.
This updates the non-English task guides to remove usage of pipeline('question-answering')
which no longer exists and would raise:
  Unknown task question-answering, available tasks are [...]

The docs now show the direct tokenizer/model approach instead, consistent with
the English version of the guide.

Fixes #44752
Copy link
Copy Markdown
Member

@stevhliu stevhliu left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thanks, i'll merge once the CI is fixed!

@HuggingFaceDocBuilderDev
Copy link
Copy Markdown

The docs for this PR live here. All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update.

@stevhliu stevhliu added this pull request to the merge queue Mar 17, 2026
Merged via the queue into huggingface:main with commit acc89e7 Mar 17, 2026
17 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

question-answering pipeline removed in V 5.3 from version 5.2

3 participants