Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
chenpangpang
transformers
Commits
e2e77f02
Unverified
Commit
e2e77f02
authored
Sep 25, 2020
by
Sylvain Gugger
Committed by
GitHub
Sep 25, 2020
Browse files
Fix BartModel output documentation (#7390)
parent
bbb07830
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
src/transformers/modeling_bart.py
src/transformers/modeling_bart.py
+1
-1
No files found.
src/transformers/modeling_bart.py
View file @
e2e77f02
...
...
@@ -863,7 +863,7 @@ class BartModel(PretrainedBartModel):
@
add_code_sample_docstrings
(
tokenizer_class
=
_TOKENIZER_FOR_DOC
,
checkpoint
=
"facebook/bart-large"
,
output_type
=
Base
ModelOutput
WithPast
,
output_type
=
Seq2Seq
ModelOutput
,
config_class
=
_CONFIG_FOR_DOC
,
)
def
forward
(
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment