You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: models/public/wav2vec2-base/README.md
+5-2Lines changed: 5 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -25,11 +25,13 @@ For details please also check [repository](https://github.com/pytorch/fairseq/tr
25
25
26
26
#### Original model
27
27
28
-
Normalized audio signal, name - `inputs`, shape - `1, 30480`, format is `B, N`, where:
28
+
Normalized audio signal, name - `inputs`, shape - `B, N`, format is `B, N`, where:
29
29
30
30
-`B` - batch size
31
31
-`N` - sequence length
32
32
33
+
Model is dynamic and can working with different shapes of input.
34
+
33
35
**NOTE**: Model expects 16-bit, 16 kHz, mono-channel WAVE audio as input data.
34
36
35
37
#### Converted model
@@ -40,12 +42,13 @@ The converted model has the same parameters as the original model.
40
42
41
43
#### Original model
42
44
43
-
Per-token probabilities (after LogSoftmax) for every symbol in the alphabet, name - `logits`, shape - `1, 95, 32`, output data format is `B, N, C`, where:
45
+
Per-token probabilities (after LogSoftmax) for every symbol in the alphabet, name - `logits`, shape - `B, N, 32`, output data format is `B, N, C`, where:
44
46
45
47
-`B` - batch size
46
48
-`N` - number of recognized tokens
47
49
-`C` - alphabet size
48
50
51
+
`B` and `N` dimensions can take different values, because model is dynamic. Alphabet size `C` is static and equals 32.
0 commit comments