ceyda commited on
Commit
85254e0
1 Parent(s): ed9bf82

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +3 -3
README.md CHANGED
@@ -23,7 +23,7 @@ model-index:
23
  metrics:
24
  - name: Test WER
25
  type: wer
26
- value: 30.91
27
  ---
28
 
29
  # Wav2Vec2-Large-XLSR-53-Turkish
@@ -86,7 +86,7 @@ processor = Wav2Vec2Processor.from_pretrained("ceyda/wav2vec2-large-xlsr-53-turk
86
  model = Wav2Vec2ForCTC.from_pretrained("ceyda/wav2vec2-large-xlsr-53-turkish")
87
  model.to("cuda")
88
 
89
- chars_to_ignore_regex = '[\,\?\.\!\-\;\:\"\“\%\‘\”\�\'\`…\]\[\&\’»«]'
90
  resampler = torchaudio.transforms.Resample(48_000, 16_000)
91
 
92
  # Preprocessing the datasets.
@@ -116,7 +116,7 @@ result = test_dataset.map(evaluate, batched=True, batch_size=8)
116
  print("WER: {:2f}".format(100 * wer.compute(predictions=result["pred_strings"], references=result["sentence"])))
117
  ```
118
 
119
- **Test Result**: 30.91 %
120
 
121
 
122
  ## Training
 
23
  metrics:
24
  - name: Test WER
25
  type: wer
26
+ value: 29.30
27
  ---
28
 
29
  # Wav2Vec2-Large-XLSR-53-Turkish
 
86
  model = Wav2Vec2ForCTC.from_pretrained("ceyda/wav2vec2-large-xlsr-53-turkish")
87
  model.to("cuda")
88
 
89
+ chars_to_ignore_regex = '[\\,\\?\\.\\!\\-\\;\\:\\"\\“\\%\\‘\\”\\�\\'\\`…\\]\\[\\&\\’»«]'
90
  resampler = torchaudio.transforms.Resample(48_000, 16_000)
91
 
92
  # Preprocessing the datasets.
 
116
  print("WER: {:2f}".format(100 * wer.compute(predictions=result["pred_strings"], references=result["sentence"])))
117
  ```
118
 
119
+ **Test Result**: 29.30 %
120
 
121
 
122
  ## Training