-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Closed
Closed
Copy link
Labels
bugSomething isn't workingSomething isn't working
Description
System Info
transformers 5.3.0
Python 3.14.3
MacOS Version 26.3 (25D125)
Issue
I was trying the tutorial and came across the question-answering pipeline. The tutorial in version 5.3 still references the question-answering pipeline as well as some parts of the API documentation. But the question-answering pipeline is not listed under available pipelines anymore in version 5.3 and I will get an error when trying the calls given in the tutorial:
"Unknown task question-answering, available tasks are ['any-to-any', 'audio-classification', 'automatic-speech-recognition', 'depth-estimation', 'document-question-answering', 'feature-extraction', 'fill-mask', 'image-classification', 'image-feature-extraction', 'image-segmentation', 'image-text-to-text', 'keypoint-matching', 'mask-generation', 'ner', 'object-detection', 'sentiment-analysis', 'table-question-answering', 'text-classification', 'text-generation', 'text-to-audio', 'text-to-speech', 'token-classification', 'video-classification', 'zero-shot-audio-classification', 'zero-shot-classification', 'zero-shot-image-classification', 'zero-shot-object-detection']"
Could you perhaps fix the documentation/tutorial accordingly? I will revert to version 5.2 for the moment.
Thank you for your effort.
Reproduction
Follow the tutorial https://huggingface.co/learn/llm-course/chapter1/3#question-answering
Run the given script
Expected behavior
The question is answered as per the tutorial
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working