gorkemgoknar commited on
Commit
6a41c83
1 Parent(s): dce0916

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +1 -1
README.md CHANGED
@@ -69,7 +69,7 @@ model = Wav2Vec2ForCTC.from_pretrained("gorkemgoknar/wav2vec2-large-xlsr-53-turk
69
  model.to("cuda")
70
 
71
  #Note: Not ignoring "'" on this one
72
- chars_to_ignore_regex = '[\\\\\\\\\\\\\\\\,\\\\\\\\\\\\\\\\?\\\\\\\\\\\\\\\\.\\\\\\\\\\\\\\\\!\\\\\\\\\\\\\\\\-\\\\\\\\\\\\\\\\;\\\\\\\\\\\\\\\\:\\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\\“\\\\\\\\\\\\\\\\%\\\\\\\\\\\\\\\\‘\\\\\\\\\\\\\\\\”\\\\\\\\\\\\\\\\�]'
73
 
74
  resampler = torchaudio.transforms.Resample(48_000, 16_000)
75
  # Preprocessing the datasets.
 
69
  model.to("cuda")
70
 
71
  #Note: Not ignoring "'" on this one
72
+ chars_to_ignore_regex = '[\,\?\.\!\-\;\:\"\“\%\‘\”\�]'
73
 
74
  resampler = torchaudio.transforms.Resample(48_000, 16_000)
75
  # Preprocessing the datasets.