-
Notifications
You must be signed in to change notification settings - Fork 25.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Init work on pipelines doc * Work in progress * Work in progress * Doc pipelines * Rm unwanted default * Apply suggestions from code review Lysandre comments Co-authored-by: Lysandre Debut <lysandre@huggingface.co> Co-authored-by: Lysandre Debut <lysandre@huggingface.co>
- Loading branch information
1 parent
b6b2f22
commit e4920c9
Showing
5 changed files
with
655 additions
and
473 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
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 | ||
~~~~~~~~~~~~~~~~~ | ||
|
||
.. autoclass:: transformers.pipelines.ArgumentHandler | ||
|
||
.. autoclass:: transformers.pipelines.ZeroShotClassificationArgumentHandler | ||
|
||
.. autoclass:: transformers.pipelines.QuestionAnsweringArgumentHandler | ||
|
||
|
||
Data format | ||
~~~~~~~~~~~ | ||
|
||
.. autoclass:: transformers.pipelines.PipelineDataFormat | ||
:members: | ||
|
||
.. autoclass:: transformers.pipelines.CsvPipelineDataFormat | ||
:members: | ||
|
||
.. autoclass:: transformers.pipelines.JsonPipelineDataFormat | ||
:members: | ||
|
||
.. autoclass:: transformers.pipelines.PipedPipelineDataFormat | ||
:members: | ||
|
||
|
||
Utilities | ||
~~~~~~~~~ | ||
|
||
.. autofunction:: transformers.pipelines.get_framework | ||
|
||
.. autoclass:: transformers.pipelines.PipelineException |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.