mirror of
https://github.com/huggingface/transformers.git
synced 2025-08-02 03:01:07 +06:00
Fix BartModel output documentation (#7390)
This commit is contained in:
parent
bbb07830ff
commit
e2e77f02c2
@ -863,7 +863,7 @@ class BartModel(PretrainedBartModel):
|
|||||||
@add_code_sample_docstrings(
|
@add_code_sample_docstrings(
|
||||||
tokenizer_class=_TOKENIZER_FOR_DOC,
|
tokenizer_class=_TOKENIZER_FOR_DOC,
|
||||||
checkpoint="facebook/bart-large",
|
checkpoint="facebook/bart-large",
|
||||||
output_type=BaseModelOutputWithPast,
|
output_type=Seq2SeqModelOutput,
|
||||||
config_class=_CONFIG_FOR_DOC,
|
config_class=_CONFIG_FOR_DOC,
|
||||||
)
|
)
|
||||||
def forward(
|
def forward(
|
||||||
|
Loading…
Reference in New Issue
Block a user