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
df85a0ff
Commit
df85a0ff
authored
Oct 10, 2019
by
Rémi Louf
Browse files
replace double quotes with simple quotes
parent
9ca788b2
Changes
1
Show 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 @
df85a0ff
...
@@ -322,7 +322,7 @@ class BertLayer(nn.Module):
...
@@ -322,7 +322,7 @@ class BertLayer(nn.Module):
def
__init__
(
self
,
config
):
def
__init__
(
self
,
config
):
super
(
BertLayer
,
self
).
__init__
()
super
(
BertLayer
,
self
).
__init__
()
self
.
self_attention
=
BertAttention
(
config
)
self
.
self_attention
=
BertAttention
(
config
)
if
config
.
get
(
'
is_decoder
'
,
False
):
if
config
.
get
(
"
is_decoder
"
,
False
):
self
.
attention
=
BertAttention
(
config
)
self
.
attention
=
BertAttention
(
config
)
self
.
intermediate
=
BertIntermediate
(
config
)
self
.
intermediate
=
BertIntermediate
(
config
)
self
.
output
=
BertOutput
(
config
)
self
.
output
=
BertOutput
(
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