mirror of
https://github.com/huggingface/transformers.git
synced 2025-08-02 03:01:07 +06:00
Remove kwargs argument from IBERT MLM forward pass (#16449)
This commit is contained in:
parent
da936942b0
commit
c85547af2b
@ -893,7 +893,6 @@ class IBertForMaskedLM(IBertPreTrainedModel):
|
||||
output_attentions: Optional[bool] = None,
|
||||
output_hidden_states: Optional[bool] = None,
|
||||
return_dict: Optional[bool] = None,
|
||||
**kwargs,
|
||||
) -> Union[MaskedLMOutput, Tuple[torch.FloatTensor]]:
|
||||
r"""
|
||||
labels (`torch.LongTensor` of shape `(batch_size, sequence_length)`, *optional*):
|
||||
|
Loading…
Reference in New Issue
Block a user