"...git@developer.sourcefind.cn:chenpangpang/transformers.git" did not exist on "417e492f1e832c0b93512600d3385aa4c8a887c9"
Commit 0512444e authored by Sylvain Gugger's avatar Sylvain Gugger
Browse files

Remove old doc

parent 5cf9c796
...@@ -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
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment