cpierse commited on
Commit
b6ceab0
1 Parent(s): 61264b6

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +1 -1
README.md CHANGED
@@ -103,7 +103,7 @@ processor = Wav2Vec2Processor.from_pretrained("cpierse/wav2vec2-large-xlsr-53-es
103
  model = Wav2Vec2ForCTC.from_pretrained("cpierse/wav2vec2-large-xlsr-53-esperanto")
104
  model.to("cuda")
105
 
106
- chars_to_ignore_regex = '[\\\\,\\\\?\\\\.\\\\!\\\\-\\\\;\\\\:\\\\"\\\\“\\\\%\\\\‘\\\\”\\\\�\\\\„\\\\«\\\\(\\\\»\\\\)\\\\’\\\\']'
107
  resampler = torchaudio.transforms.Resample(48_000, 16_000)
108
 
109
  # Preprocessing the datasets.
 
103
  model = Wav2Vec2ForCTC.from_pretrained("cpierse/wav2vec2-large-xlsr-53-esperanto")
104
  model.to("cuda")
105
 
106
+ chars_to_ignore_regex = '[\,\?\.\!\-\;\:\"\“\%\‘\”\�\„\«\(\»\)\’\']'
107
  resampler = torchaudio.transforms.Resample(48_000, 16_000)
108
 
109
  # Preprocessing the datasets.