Task templates
Last updated
Last updated
The Task API is deprecated in favor of and will be removed in the next major release.
The tasks supported by and .
( task: str = 'automatic-speech-recognition'audio_column: str = 'audio'transcription_column: str = 'transcription' )
( task: str = 'audio-classification'audio_column: str = 'audio'label_column: str = 'labels' )
( task: str = 'image-classification'image_column: str = 'image'label_column: str = 'labels' )
align_with_features
( features )
( task: str = 'language-modeling'text_column: str = 'text' )
( task: str = 'question-answering-extractive'question_column: str = 'question'context_column: str = 'context'answers_column: str = 'answers' )
( task: str = 'summarization'text_column: str = 'text'summary_column: str = 'summary' )
( task: str = 'text-classification'text_column: str = 'text'label_column: str = 'labels' )
align_with_features
( features )