transformers
d7754c43 - Type hints MCTCT (#19618)

Commit
3 years ago
Type hints MCTCT (#19618) * add type hints to mctct * run auto style corrections * change torch.bool to bool# * Update src/transformers/models/mctct/modeling_mctct.py Co-authored-by: Matt <Rocketknight1@users.noreply.github.com> * Remove optional tags for attention_mask and head_mask' * fix optional tags' * Update src/transformers/models/mctct/modeling_mctct.py Co-authored-by: Matt <Rocketknight1@users.noreply.github.com>
Author
Parents
Loading