Update configuration_mosnet.py
Browse files- configuration_mosnet.py +3 -1
configuration_mosnet.py
CHANGED
|
@@ -13,10 +13,12 @@ class MosNetConfig(PretrainedConfig):
|
|
| 13 |
fft_size: int = 512,
|
| 14 |
hop_length: int = 256,
|
| 15 |
win_length: int = 512,
|
|
|
|
| 16 |
**kwargs,
|
| 17 |
):
|
| 18 |
super().__init__(**kwargs)
|
| 19 |
self.sample_rate = sample_rate
|
| 20 |
self.fft_size = fft_size
|
| 21 |
self.hop_length = hop_length
|
| 22 |
-
self.win_length = win_length
|
|
|
|
|
|
| 13 |
fft_size: int = 512,
|
| 14 |
hop_length: int = 256,
|
| 15 |
win_length: int = 512,
|
| 16 |
+
dropout: float = 0.3,
|
| 17 |
**kwargs,
|
| 18 |
):
|
| 19 |
super().__init__(**kwargs)
|
| 20 |
self.sample_rate = sample_rate
|
| 21 |
self.fft_size = fft_size
|
| 22 |
self.hop_length = hop_length
|
| 23 |
+
self.win_length = win_length
|
| 24 |
+
self.dropout = dropout
|