gorkemgoknar commited on
Commit
9505bbe
1 Parent(s): b2756ff

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +2 -1
README.md CHANGED
@@ -105,7 +105,8 @@ processor = Wav2Vec2Processor.from_pretrained("gorkemgoknar/wav2vec2-large-xlsr-
105
  model = Wav2Vec2ForCTC.from_pretrained("gorkemgoknar/wav2vec2-large-xlsr-53-turkish")
106
  model.to("cuda")
107
  # Note: Not ignoring "'" on this one
108
- chars_to_ignore_regex = '[\\,\\?\\.\\!\\-\\;\\:\\"\\“\\%\\‘\\”\\�\\#\\>\\<\\_\\’\\[\\]\\{\\}]'
 
109
  resampler = torchaudio.transforms.Resample(48_000, 16_000)
110
  # Preprocessing the datasets.
111
  # We need to read the aduio files as arrays
 
105
  model = Wav2Vec2ForCTC.from_pretrained("gorkemgoknar/wav2vec2-large-xlsr-53-turkish")
106
  model.to("cuda")
107
  # Note: Not ignoring "'" on this one
108
+ chars_to_ignore_regex = """[\,\?\.\!\-\;\:\"\“\%\‘\”\�\#\>\<\_\’\[\]\{\}]"""
109
+
110
  resampler = torchaudio.transforms.Resample(48_000, 16_000)
111
  # Preprocessing the datasets.
112
  # We need to read the aduio files as arrays