Skip to content

Commit dbf57dd

Browse files
author
gongenlei
authored
doc: update MBartForConditionalGeneration docstring (#2655)
1 parent 7e1a433 commit dbf57dd

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

paddlenlp/transformers/mbart/modeling.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -803,8 +803,7 @@ def forward(self,
803803

804804
class MBartForConditionalGeneration(MBartPretrainedModel):
805805
r"""
806-
MBart Model with a linear layer on top of the hidden-states output to
807-
compute `span_start_logits` and `span_end_logits`, designed for question-answering tasks like SQuAD .
806+
MBart Model with a `language modeling` head on top.
808807
809808
Args:
810809
mbart (:class:`MBartModel`):

0 commit comments

Comments
 (0)