Update README.md
Browse files
README.md
CHANGED
@@ -36,9 +36,10 @@ model_path = "whisper-small-lg.pt"
|
|
36 |
lm_path = "5gram.bin"
|
37 |
|
38 |
# Set LM parameters
|
|
|
39 |
LMOptions().lm_path = lm_path
|
40 |
-
LMOptions().lm_alpha = 0.0211
|
41 |
-
LMOptions().lm_beta = 0.0119
|
42 |
|
43 |
# Whisper decode options
|
44 |
decode_options = {
|
|
|
36 |
lm_path = "5gram.bin"
|
37 |
|
38 |
# Set LM parameters
|
39 |
+
# Optimized alpha and beta for Luganda selected based on which values minimize WER on a subset of your dataset (here: 2,000 samples from Common Voice were used).
|
40 |
LMOptions().lm_path = lm_path
|
41 |
+
LMOptions().lm_alpha = 0.0211
|
42 |
+
LMOptions().lm_beta = 0.0119
|
43 |
|
44 |
# Whisper decode options
|
45 |
decode_options = {
|