[Whisper] Don't return attention mask in feat extractor (#19521)
* [Whisper] Don't return attention mask in feat extractor * remove attention mask from test * fix failing tests * quality
This commit is contained in:
@@ -66,7 +66,7 @@ class WhisperFeatureExtractionTester(unittest.TestCase):
|
||||
chunk_length=8,
|
||||
padding_value=0.0,
|
||||
sampling_rate=4_000,
|
||||
return_attention_mask=True,
|
||||
return_attention_mask=False,
|
||||
do_normalize=True,
|
||||
):
|
||||
self.parent = parent
|
||||
|
||||
Reference in New Issue
Block a user