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
8d3e218e
"magic_pdf/vscode:/vscode.git/clone" did not exist on "7210f7a65aee4fbe4ed630b1267443d98a87bf1c"
Unverified
Commit
8d3e218e
authored
Mar 19, 2020
by
Matthew Goldey
Committed by
GitHub
Mar 19, 2020
Browse files
fix typo in docstring demonstrating usage (#3213)
parent
cec3cdda
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
src/transformers/modeling_encoder_decoder.py
src/transformers/modeling_encoder_decoder.py
+1
-1
No files found.
src/transformers/modeling_encoder_decoder.py
View file @
8d3e218e
...
...
@@ -109,7 +109,7 @@ class PreTrainedEncoderDecoder(nn.Module):
Examples::
# For example purposes. Not runnable.
model = PreTrainedEncoderDecoder.from_pretained('bert-base-uncased', 'bert-base-uncased') # initialize Bert2Bert
model = PreTrainedEncoderDecoder.from_pret
r
ained('bert-base-uncased', 'bert-base-uncased') # initialize Bert2Bert
"""
# keyword arguments come in 3 flavors: encoder-specific (prefixed by
...
...
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