Skip to content

Commit da211f8

Browse files
ddobokkielusenji
authored andcommitted
Fix bug in Wav2Vec2 pretrain example (huggingface#17326)
1 parent 848ef6f commit da211f8

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

examples/research_projects/wav2vec2/run_pretrain.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -202,7 +202,6 @@ def __call__(self, features: List[Dict[str, Union[List[int], torch.Tensor]]]) ->
202202
(batch_size, mask_indices_seq_length),
203203
self.model.config.mask_time_prob,
204204
self.model.config.mask_time_length,
205-
device=batch["input_values"].device,
206205
attention_mask=attention_mask,
207206
min_masks=2,
208207
)

0 commit comments

Comments
 (0)