TransfORMers库中的pipeline模块支持的NLP任务 Transformers库中的pipeline模块支持以下的NLP任务: Text Classification(文本分类
Transformers库中的pipeline模块支持以下的NLP任务:
2023年9月,产品 pipeline 的代码,全列表如下,
"audio-classification"
: will return a [AudioclassificationPipeline
]."automatic-speech-recognition"
: will return a [AutomaticSpeechRecognitionPipeline
]."conversational"
: will return a [ConversationalPipeline
]."depth-estimation"
: will return a [DepthEstimationPipeline
]."document-question-answering"
: will return a [DocumentQuestionAnsweringPipeline
]."feature-extraction"
: will return a [FeatureExtractionPipeline
]."fill-mask"
: will return a [FillMaskPipeline
]:."image-classification"
: will return a [ImageClassificationPipeline
]."image-segmentation"
: will return a [ImageSegmentationPipeline
]."image-to-text"
: will return a [ImageToTextPipeline
]."mask-generation"
: will return a [MaskGenerationPipeline
]."object-detection"
: will return a [ObjectDetectionPipeline
]."question-answering"
: will return a [QuestionAnsweringPipeline
]."summarization"
: will return a [SummarizationPipeline
]."table-question-answering"
: will return a [TableQuestionAnsweringPipeline
]."text2text-generation"
: will return a [Text2TextGenerationPipeline
]."text-classification"
(alias "sentiment-analysis"
available): will return aTextClassificationPipeline
]."text-generation"
: will return a [TextGenerationPipeline
]:."token-classification"
(alias "ner"
available): will return a [TokenClassificationPipeline
]."translation"
: will return a [TranslationPipeline
]."translation_xx_to_yy"
: will return a [TranslationPipeline
]."video-classification"
: will return a [VideoClassificationPipeline
]."visual-question-answering"
: will return a [VisualQuestionAnsweringPipeline
]."zero-shot-classification"
: will return a [ZeroShotClassificationPipeline
]."zero-shot-image-classification"
: will return a [ZeroShotImageClassificationPipeline
]."zero-shot-audio-classification"
: will return a [ZeroShotAudioClassificationPipeline
]."zero-shot-object-detection"
: will return a [ZeroShotObjectDetectionPipeline
].完结!
来源地址:https://blog.csdn.net/engchina/article/details/132816324
--结束END--
本文标题: Transformers库中的pipeline模块支持的NLP任务
本文链接: https://lsjlt.com/news/404135.html(转载时请注明来源链接)
有问题或投稿请发送至: 邮箱/279061341@qq.com QQ/279061341
2024-10-23
2024-10-22
2024-10-22
2024-10-22
2024-10-22
2024-10-22
2024-10-22
2024-10-22
2024-10-22
2024-10-22
回答
回答
回答
回答
回答
回答
回答
回答
回答
回答
0