Upload config.yaml with huggingface_hub
Browse files- config.yaml +26 -0
config.yaml
ADDED
|
@@ -0,0 +1,26 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
acoustic:
|
| 2 |
+
left_pad: 0.3 # in sec
|
| 3 |
+
right_pad: 0.3 # in sec
|
| 4 |
+
chunk_size: 0.3 # in sec
|
| 5 |
+
state_size: 219729
|
| 6 |
+
frame_size: 0.03 # in sec
|
| 7 |
+
bias: 0.39 # in sec
|
| 8 |
+
sample_rate: 8000
|
| 9 |
+
labels: ["а", "б", "в", "г", "д", "е", "ё", "ж", "з", "и", "й", "к", "л", "м", "н", "о", "п",
|
| 10 |
+
"р", "с", "т", "у", "ф", "х", "ц", "ч", "ш", "щ", "ъ", "ы", "ь", "э", "ю", "я", " "]
|
| 11 |
+
|
| 12 |
+
splitter:
|
| 13 |
+
labels: ${acoustic.labels}
|
| 14 |
+
speech_offset: 0.1 # in sec
|
| 15 |
+
silence_duration_threshold: 0.6 # in sec
|
| 16 |
+
acoustic_silence_prob_threshold: 0.9 # in sec
|
| 17 |
+
min_acoustic_silence_frames: 3
|
| 18 |
+
phrase_duration_threshold: 60. # in sec; split very long phrase by force
|
| 19 |
+
|
| 20 |
+
decoder:
|
| 21 |
+
decoding_strategy: "beam_search" # greedy_search | beam_search
|
| 22 |
+
beam_search_params:
|
| 23 |
+
beam_width: 200
|
| 24 |
+
alpha: 0.4
|
| 25 |
+
beta: 0.9
|
| 26 |
+
unigrams: null
|