Remove trust_remote_code when loading Libri Dummy (#31748)
* [whisper integration] use parquet dataset for testing * propagate to others * more propagation * last one
This commit is contained in:
@@ -258,9 +258,7 @@ class SeamlessM4TFeatureExtractionTest(SequenceFeatureExtractionTestMixin, unitt
|
||||
self.assertTrue(pt_processed.input_features.dtype == torch.float32)
|
||||
|
||||
def _load_datasample(self, id):
|
||||
ds = load_dataset(
|
||||
"hf-internal-testing/librispeech_asr_dummy", "clean", split="validation", trust_remote_code=True
|
||||
)
|
||||
ds = load_dataset("hf-internal-testing/librispeech_asr_dummy", "clean", split="validation")
|
||||
# automatic decoding with librispeech
|
||||
speech_sample = ds.sort("id")[id]["audio"]["array"]
|
||||
|
||||
|
||||
Reference in New Issue
Block a user