fixed the model address
Browse files
README.md
CHANGED
@@ -82,8 +82,8 @@ import re
|
|
82 |
test_dataset = load_dataset("common_voice", "id", split="test")
|
83 |
wer = load_metric("wer")
|
84 |
|
85 |
-
processor = Wav2Vec2Processor.from_pretrained("indonesian-nlp/wav2vec2-large-xlsr-indonesian
|
86 |
-
model = Wav2Vec2ForCTC.from_pretrained("indonesian-nlp/wav2vec2-large-xlsr-indonesian
|
87 |
model.to("cuda")
|
88 |
|
89 |
chars_to_ignore_regex = '[\,\?\.\!\-\;\:\"\“\%\‘\'\”\�]'
|
@@ -123,4 +123,4 @@ print("WER: {:2f}".format(100 * wer.compute(predictions=result["pred_strings"],
|
|
123 |
|
124 |
The Common Voice `train`, `validation`, and ... datasets were used for training as well as ... and ... # TODO
|
125 |
|
126 |
-
The script used for training can be found [here](https://github.com/indonesian-nlp/wav2vec2-indonesian)
|
|
|
82 |
test_dataset = load_dataset("common_voice", "id", split="test")
|
83 |
wer = load_metric("wer")
|
84 |
|
85 |
+
processor = Wav2Vec2Processor.from_pretrained("indonesian-nlp/wav2vec2-large-xlsr-indonesian")
|
86 |
+
model = Wav2Vec2ForCTC.from_pretrained("indonesian-nlp/wav2vec2-large-xlsr-indonesian")
|
87 |
model.to("cuda")
|
88 |
|
89 |
chars_to_ignore_regex = '[\,\?\.\!\-\;\:\"\“\%\‘\'\”\�]'
|
|
|
123 |
|
124 |
The Common Voice `train`, `validation`, and ... datasets were used for training as well as ... and ... # TODO
|
125 |
|
126 |
+
The script used for training can be found [here](https://github.com/indonesian-nlp/wav2vec2-indonesian)
|