From ae947b02cd7fa50456546335255a82d44c5f0a82 Mon Sep 17 00:00:00 2001 From: Stas Bekman Date: Mon, 24 Aug 2020 09:42:34 -0700 Subject: [PATCH] remove BartForConditionalGeneration.generate (#6659) As suggested here: https://github.com/huggingface/transformers/issues/6651#issuecomment-678594233 this removes generic `generate` doc with examples not-relevant to bart. --- docs/source/model_doc/bart.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/source/model_doc/bart.rst b/docs/source/model_doc/bart.rst index 42318003cd251e..69a502cf01217d 100644 --- a/docs/source/model_doc/bart.rst +++ b/docs/source/model_doc/bart.rst @@ -32,7 +32,7 @@ BartForConditionalGeneration ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .. autoclass:: transformers.BartForConditionalGeneration - :members: generate, forward + :members: forward BartConfig