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
0512444e
"...git@developer.sourcefind.cn:chenpangpang/transformers.git" did not exist on "417e492f1e832c0b93512600d3385aa4c8a887c9"
Commit
0512444e
authored
Nov 17, 2020
by
Sylvain Gugger
Browse files
Remove old doc
parent
5cf9c796
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
2 deletions
+0
-2
src/transformers/models/mobilebert/modeling_mobilebert.py
src/transformers/models/mobilebert/modeling_mobilebert.py
+0
-2
No files found.
src/transformers/models/mobilebert/modeling_mobilebert.py
View file @
0512444e
...
@@ -1115,8 +1115,6 @@ class MobileBertForMaskedLM(MobileBertPreTrainedModel):
...
@@ -1115,8 +1115,6 @@ class MobileBertForMaskedLM(MobileBertPreTrainedModel):
Labels for computing the masked language modeling loss. Indices should be in ``[-100, 0, ...,
Labels for computing the masked language modeling loss. Indices should be in ``[-100, 0, ...,
config.vocab_size]`` (see ``input_ids`` docstring) Tokens with indices set to ``-100`` are ignored
config.vocab_size]`` (see ``input_ids`` docstring) Tokens with indices set to ``-100`` are ignored
(masked), the loss is only computed for the tokens with labels in ``[0, ..., config.vocab_size]``
(masked), the loss is only computed for the tokens with labels in ``[0, ..., config.vocab_size]``
kwargs (:obj:`Dict[str, any]`, optional, defaults to `{}`):
Used to hide legacy arguments that have been deprecated.
"""
"""
return_dict
=
return_dict
if
return_dict
is
not
None
else
self
.
config
.
use_return_dict
return_dict
=
return_dict
if
return_dict
is
not
None
else
self
.
config
.
use_return_dict
...
...
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