Update modeling_wav2vec2.py
@patrickvonplaten 

With very tiny sound files (less than 0.1 seconds) the num_masked_span can be too long. The issue is described in issue 15366 and discussed with @patrickvonplaten. This can be an issue with custom datasets that contains sentences with small words like "OK", "Yes" etc.


_The documentation is not available anymore as the PR was closed or merged._