transformers/docs/source/en/internal/pipelines_utils.md

1.3 KiB

Utilities for pipelines

This page lists all the utility functions the library provides for pipelines.

Most of those are only useful if you are studying the code of the models in the library.

Argument handling

autodoc pipelines.ArgumentHandler

autodoc pipelines.ZeroShotClassificationArgumentHandler

autodoc pipelines.QuestionAnsweringArgumentHandler

Data format

autodoc pipelines.PipelineDataFormat

autodoc pipelines.CsvPipelineDataFormat

autodoc pipelines.JsonPipelineDataFormat

autodoc pipelines.PipedPipelineDataFormat

Utilities

autodoc pipelines.PipelineException