Update README.md
Browse files
README.md
CHANGED
@@ -41,8 +41,8 @@ class ExtendedWav2Vec2ForCTC(Wav2Vec2ForCTC):
|
|
41 |
self.lm_head
|
42 |
)
|
43 |
|
44 |
-
model = ExtendedWav2Vec2ForCTC.from_pretrained("kehanlu/wav2vec2-
|
45 |
-
processor = Wav2Vec2Processor.from_pretrained("kehanlu/wav2vec2-
|
46 |
|
47 |
audio_input, sample_rate = sf.read("/path/to/data_aishell/wav/dev/S0724/BAC009S0724W0121.wav")
|
48 |
inputs = processor(audio_input, sampling_rate=sample_rate, return_tensors="pt")
|
|
|
41 |
self.lm_head
|
42 |
)
|
43 |
|
44 |
+
model = ExtendedWav2Vec2ForCTC.from_pretrained("kehanlu/mandarin-wav2vec2-aishell1")
|
45 |
+
processor = Wav2Vec2Processor.from_pretrained("kehanlu/mandarin-wav2vec2-aishell1")
|
46 |
|
47 |
audio_input, sample_rate = sf.read("/path/to/data_aishell/wav/dev/S0724/BAC009S0724W0121.wav")
|
48 |
inputs = processor(audio_input, sampling_rate=sample_rate, return_tensors="pt")
|