Skip to content

Commit 65fa331

Browse files
committed
fix
1 parent 0050d19 commit 65fa331

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

src/transformers/models/unispeech/modeling_unispeech.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -440,14 +440,12 @@ def __init__(
440440
is_decoder: bool = False,
441441
bias: bool = True,
442442
is_causal: bool = False,
443-
config: Optional[UniSpeechConfig] = None,
444443
):
445444
super().__init__()
446445
self.embed_dim = embed_dim
447446
self.num_heads = num_heads
448447
self.dropout = dropout
449448
self.head_dim = embed_dim // num_heads
450-
self.config = config
451449

452450
if (self.head_dim * num_heads) != self.embed_dim:
453451
raise ValueError(

0 commit comments

Comments
 (0)