mirror of
https://github.com/huggingface/transformers.git
synced 2025-07-31 02:02:21 +06:00
Fix bug in Wav2Vec2 pretrain example (#17326)
This commit is contained in:
parent
5d6feecf16
commit
48c22691e3
@ -202,7 +202,6 @@ class DataCollatorForWav2Vec2Pretraining:
|
||||
(batch_size, mask_indices_seq_length),
|
||||
self.model.config.mask_time_prob,
|
||||
self.model.config.mask_time_length,
|
||||
device=batch["input_values"].device,
|
||||
attention_mask=attention_mask,
|
||||
min_masks=2,
|
||||
)
|
||||
|
Loading…
Reference in New Issue
Block a user