Update README.md
Browse files
README.md
CHANGED
@@ -33,12 +33,12 @@ import os
|
|
33 |
|
34 |
# load model and tokenizer
|
35 |
processor = Wav2Vec2Processor.from_pretrained(
|
36 |
-
"classla/wav2vec2-xls-r-
|
37 |
-
model = Wav2Vec2ForCTC.from_pretrained("classla/wav2vec2-xls-r-
|
38 |
|
39 |
|
40 |
# download the example wav files:
|
41 |
-
os.system("curl https://huggingface.co/classla/wav2vec2-xls-r-
|
42 |
|
43 |
# read the wav file as datasets.Audio object
|
44 |
audio = Audio(sampling_rate=16000).decode_example("00020570a.flac.wav")
|
|
|
33 |
|
34 |
# load model and tokenizer
|
35 |
processor = Wav2Vec2Processor.from_pretrained(
|
36 |
+
"classla/wav2vec2-xls-r-parlaspeech-hr")
|
37 |
+
model = Wav2Vec2ForCTC.from_pretrained("classla/wav2vec2-xls-r-parlaspeech-hr")
|
38 |
|
39 |
|
40 |
# download the example wav files:
|
41 |
+
os.system("curl https://huggingface.co/classla/wav2vec2-xls-r-parlaspeech-hr/raw/main/00020570a.flac.wav")
|
42 |
|
43 |
# read the wav file as datasets.Audio object
|
44 |
audio = Audio(sampling_rate=16000).decode_example("00020570a.flac.wav")
|