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 authored and GitHub committed 2020-03-17 18:04:21 -04:00
1 parent 2b60a26b46
commit 38a555a83c
4 files changed
+129 -1

No files matched your search

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