ayameRushia commited on
Commit
4d4cfcc
1 Parent(s): bd22632

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: ???
25
  ---
26
  # Wav2Vec2-Large-XLSR-53-Indonesia
27
  Fine-tuned [facebook/wav2vec2-large-xlsr-53](https://huggingface.co/facebook/wav2vec2-large-xlsr-53) in Indonesia using the [Common Voice](https://huggingface.co/datasets/common_voice)
@@ -64,7 +64,7 @@ wer = load_metric("wer")
64
  processor = Wav2Vec2Processor.from_pretrained("ayameRushia/wav2vec2-large-xlsr-indonesia-demo")
65
  model = Wav2Vec2ForCTC.from_pretrained("ayameRushia/wav2vec2-large-xlsr-indonesia-demo")
66
  model.to("cuda")
67
- chars_to_ignore_regex = '[\\\\,\\\\?\\\\.\\\\!\\\\-\\\\;\\\\:\\\\"\\\\“]'
68
  resampler = torchaudio.transforms.Resample(48_000, 16_000)
69
  # Preprocessing the datasets.
70
  # We need to read the aduio files as arrays
21
  metrics:
22
  - name: Test WER
23
  type: wer
24
+ value: 19.830319
25
  ---
26
  # Wav2Vec2-Large-XLSR-53-Indonesia
27
  Fine-tuned [facebook/wav2vec2-large-xlsr-53](https://huggingface.co/facebook/wav2vec2-large-xlsr-53) in Indonesia using the [Common Voice](https://huggingface.co/datasets/common_voice)
64
  processor = Wav2Vec2Processor.from_pretrained("ayameRushia/wav2vec2-large-xlsr-indonesia-demo")
65
  model = Wav2Vec2ForCTC.from_pretrained("ayameRushia/wav2vec2-large-xlsr-indonesia-demo")
66
  model.to("cuda")
67
+ chars_to_ignore_regex = '[\,\?\.\!\-\;\:\"\“]'
68
  resampler = torchaudio.transforms.Resample(48_000, 16_000)
69
  # Preprocessing the datasets.
70
  # We need to read the aduio files as arrays