ivangtorre
commited on
Commit
•
28f1581
1
Parent(s):
60e858d
Update README.md
Browse files
README.md
CHANGED
@@ -18,8 +18,8 @@ import torch
|
|
18 |
import torchaudio
|
19 |
|
20 |
# load model and processor
|
21 |
-
processor = Wav2Vec2Processor.from_pretrained("ivangtorre/wav2vec2-
|
22 |
-
model = Wav2Vec2ForCTC.from_pretrained("ivangtorre/wav2vec2-
|
23 |
|
24 |
# load dummy dataset and read soundfiles
|
25 |
file = torchaudio.load("quechua000573.wav")
|
|
|
18 |
import torchaudio
|
19 |
|
20 |
# load model and processor
|
21 |
+
processor = Wav2Vec2Processor.from_pretrained("ivangtorre/wav2vec2-xlsr-300m-quechua")
|
22 |
+
model = Wav2Vec2ForCTC.from_pretrained("ivangtorre/wav2vec2-xlsr-300m-quechua")
|
23 |
|
24 |
# load dummy dataset and read soundfiles
|
25 |
file = torchaudio.load("quechua000573.wav")
|