Titouan commited on
Commit
e9fe597
1 Parent(s): 08e3512
Files changed (2) hide show
  1. README.md +1 -1
  2. hyperparams.yaml +1 -1
README.md CHANGED
@@ -57,7 +57,7 @@ Please notice that we encourage you to read our tutorials and learn more about
57
  ```python
58
  from speechbrain.pretrained import EncoderDecoderASR
59
 
60
- asr_model = EncoderDecoderASR.from_hparams(source="speechbrain/asr-wav2vec2-commonvoice-fr", savedir="pretrained_models/asr-wav2vec2-commonvoice-en")
61
  asr_model.transcribe_file("example.wav")
62
 
63
  ```
 
57
  ```python
58
  from speechbrain.pretrained import EncoderDecoderASR
59
 
60
+ asr_model = EncoderDecoderASR.from_hparams(source="speechbrain/asr-wav2vec2-commonvoice-en", savedir="pretrained_models/asr-wav2vec2-commonvoice-en")
61
  asr_model.transcribe_file("example.wav")
62
 
63
  ```
hyperparams.yaml CHANGED
@@ -19,7 +19,7 @@ emb_size: 128
19
  dec_neurons: 1024
20
 
21
  # Outputs
22
- output_neurons: 500 # BPE size, index(blank/eos/bos) = 0
23
 
24
  # Decoding parameters
25
  # Be sure that the bos and eos index match with the BPEs ones
 
19
  dec_neurons: 1024
20
 
21
  # Outputs
22
+ output_neurons: 1000 # BPE size, index(blank/eos/bos) = 0
23
 
24
  # Decoding parameters
25
  # Be sure that the bos and eos index match with the BPEs ones