File size: 758 Bytes
c13737d
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
# Task templates

<Tip warning={true}>

The Task API is deprecated in favor of [`train-eval-index`](https://github.com/huggingface/hub-docs/blob/9ab2555e1c146122056aba6f89af404a8bc9a6f1/datasetcard.md?plain=1#L90-L106) and will be removed in the next major release.

</Tip>

The tasks supported by [`Dataset.prepare_for_task`] and [`DatasetDict.prepare_for_task`].

[[autodoc]] datasets.tasks.AutomaticSpeechRecognition

[[autodoc]] datasets.tasks.AudioClassification

[[autodoc]] datasets.tasks.ImageClassification
    - align_with_features

[[autodoc]] datasets.tasks.LanguageModeling

[[autodoc]] datasets.tasks.QuestionAnsweringExtractive

[[autodoc]] datasets.tasks.Summarization

[[autodoc]] datasets.tasks.TextClassification
    - align_with_features