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
d17cce22
"...static/style/git@developer.sourcefind.cn:OpenDAS/nni.git" did not exist on "588f299b3fb00290dd66716c8413f476162fe631"
Unverified
Commit
d17cce22
authored
Aug 25, 2020
by
Patrick von Platen
Committed by
GitHub
Aug 25, 2020
Browse files
add missing keys (#6719)
parent
a25c9fc8
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
0 deletions
+1
-0
src/transformers/modeling_albert.py
src/transformers/modeling_albert.py
+1
-0
No files found.
src/transformers/modeling_albert.py
View file @
d17cce22
...
...
@@ -403,6 +403,7 @@ class AlbertPreTrainedModel(PreTrainedModel):
config_class
=
AlbertConfig
base_model_prefix
=
"albert"
authorized_missing_keys
=
[
r
"position_ids"
]
def
_init_weights
(
self
,
module
):
""" Initialize the weights.
...
...
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