Add Summarization to Pipelines (#3128)

* passing

* Undo stupid chg

* docs

* undo rename

* delete-cruft

* only import if you have torch

* Dont rely on dict ordering

* Fix dict ordering upstream

* docstring link

* docstring link

* remove trailing comma for 3.5 compat

* new name

* delegate kwarging

* Update kwargs
This commit is contained in:
Sam Shleifer
2020-03-17 18:04:21 -04:00
committed by GitHub
parent 2b60a26b46
commit 38a555a83c
4 changed files with 129 additions and 1 deletions

View File

@@ -61,3 +61,8 @@ QuestionAnsweringPipeline
.. autoclass:: transformers.QuestionAnsweringPipeline
SummarizationPipeline
==========================================
.. autoclass:: transformers.SummarizationPipeline