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
770b15b5
Commit
770b15b5
authored
Oct 08, 2019
by
Rémi Louf
Browse files
rename class in __init__
parent
61ed8890
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
transformers/modeling_bert.py
transformers/modeling_bert.py
+1
-1
No files found.
transformers/modeling_bert.py
View file @
770b15b5
...
...
@@ -1449,7 +1449,7 @@ class Bert2Rnd(BertPreTrainedModel):
"""
def
__init__
(
self
,
config
):
super
(
Bert2
Bert
,
self
).
__init__
(
config
)
super
(
Bert2
Rnd
,
self
).
__init__
(
config
)
self
.
encoder
=
BertModel
(
config
)
self
.
decoder
=
BertDecoderModel
(
config
)
...
...
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