huggingface / huggingface/course
ch1/3 examples fixes
- Dominant language
- MDX
- Stars
- 4.2k
- Forks
- 1.4k
- Avg merge
- 13m
- Merged PRs (30d)
- 1
Description
In chapter 1, section three, there areat least these two issues with Python3.12 and transformers 5.10.2
- Question answering used deprecated `question_answerer = pipeline("question-answering")`
Needs updating and translation
P.S.: The pipeline existed till version `5.2.0` https://huggingface.co/docs/transformers/v5.2.0/en/main_classes/pipelines#transformers.QuestionAnsweringPipeline and is no longer present since `5.3.0`
the pipeline was then removed with https://github.com/huggingface/transformers/pull/43325
Per PR comment https://github.com/huggingface/transformers/pull/43325#issuecomment-4024097780 the`text-generation` should be replaced by `text-generation`. Since `text-generation` has it#s own example already, the `text-generation` could be removed from the documentation
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.