aapot commited on
Commit
5ebee38
1 Parent(s): a71061c

Update README.md

Browse files

Updated new model WER score

Files changed (1) hide show
  1. README.md +4 -4
README.md CHANGED
@@ -23,7 +23,7 @@ model-index:
23
  metrics:
24
  - name: Test WER
25
  type: wer
26
- value: 35.815197
27
  ---
28
 
29
  # Wav2Vec2-Large-XLSR-53-Finnish
@@ -87,7 +87,7 @@ processor = Wav2Vec2Processor.from_pretrained("aapot/wav2vec2-large-xlsr-53-finn
87
  model = Wav2Vec2ForCTC.from_pretrained("aapot/wav2vec2-large-xlsr-53-finnish")
88
  model.to("cuda")
89
 
90
- chars_to_ignore_regex = '[\,\?\.\!\-\;\:\"\“\%\‘\”\�\'\...\…\–\é]'
91
  resampler = torchaudio.transforms.Resample(48_000, 16_000)
92
 
93
  # Preprocessing the datasets.
@@ -117,11 +117,11 @@ result = test_dataset.map(evaluate, batched=True, batch_size=8)
117
  print("WER: {:2f}".format(100 * wer.compute(predictions=result["pred_strings"], references=result["sentence"])))
118
  ```
119
 
120
- **Test Result**: 35.815197 %
121
 
122
 
123
  ## Training
124
 
125
- The Common Voice `train` and `validation` datasets were used for training as well as CSS10 Finnish and Finnish parliament session 2 datasets.
126
 
127
  The script used for training COMING SOON
 
23
  metrics:
24
  - name: Test WER
25
  type: wer
26
+ value: 33.333333
27
  ---
28
 
29
  # Wav2Vec2-Large-XLSR-53-Finnish
 
87
  model = Wav2Vec2ForCTC.from_pretrained("aapot/wav2vec2-large-xlsr-53-finnish")
88
  model.to("cuda")
89
 
90
+ chars_to_ignore_regex = '[\\,\\?\\.\\!\\-\\;\\:\\"\\“\\%\\‘\\”\\�\\'\\...\\…\\–\\é]'
91
  resampler = torchaudio.transforms.Resample(48_000, 16_000)
92
 
93
  # Preprocessing the datasets.
 
117
  print("WER: {:2f}".format(100 * wer.compute(predictions=result["pred_strings"], references=result["sentence"])))
118
  ```
119
 
120
+ **Test Result**: 33.333333 %
121
 
122
 
123
  ## Training
124
 
125
+ The Common Voice `train`, `validation` and `other` datasets were used for training as well as CSS10 Finnish and Finnish parliament session 2 datasets.
126
 
127
  The script used for training COMING SOON