Automatic Speech Recognition
Transformers
Ganda
sulaimank commited on
Commit
4ad576f
·
verified ·
1 Parent(s): a493737

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +3 -2
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 # use any value that works for you
41
- LMOptions().lm_beta = 0.0119 # use any value that works for you
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 = {