patrickvonplaten commited on
Commit
fcd7923
1 Parent(s): 036c66d

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +2 -2
README.md CHANGED
@@ -21,7 +21,7 @@ model-index:
21
  metrics:
22
  - name: Test WER
23
  type: wer
24
- value:xxx
25
  ---
26
 
27
  # wav2vec2-large-xlsr-polish
@@ -65,7 +65,7 @@ wer = load_metric("wer")
65
  processor = Wav2Vec2Processor.from_pretrained("alexcleu/wav2vec2-large-xlsr-polish")
66
  model = Wav2Vec2ForCTC.from_pretrained("alexcleu/wav2vec2-large-xlsr-polish")
67
  model.to("cuda")
68
- chars_to_ignore_regex = '[\\\\\\\\,\\\\\\\\?\\\\\\\\.\\\\\\\\!\\\\\\\\-\\\\\\\\;\\\\\\\\:\\\\\\\\"\\\\\\\\“]'
69
  resampler = torchaudio.transforms.Resample(48_000, 16_000)
70
  # Preprocessing the datasets.
71
  # We need to read the aduio files as arrays
 
21
  metrics:
22
  - name: Test WER
23
  type: wer
24
+ value: xxx
25
  ---
26
 
27
  # wav2vec2-large-xlsr-polish
 
65
  processor = Wav2Vec2Processor.from_pretrained("alexcleu/wav2vec2-large-xlsr-polish")
66
  model = Wav2Vec2ForCTC.from_pretrained("alexcleu/wav2vec2-large-xlsr-polish")
67
  model.to("cuda")
68
+ chars_to_ignore_regex = '[\\\\\\\\\\\\\\\\,\\\\\\\\\\\\\\\\?\\\\\\\\\\\\\\\\.\\\\\\\\\\\\\\\\!\\\\\\\\\\\\\\\\-\\\\\\\\\\\\\\\\;\\\\\\\\\\\\\\\\:\\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\\“]'
69
  resampler = torchaudio.transforms.Resample(48_000, 16_000)
70
  # Preprocessing the datasets.
71
  # We need to read the aduio files as arrays