kehanlu commited on
Commit
8b883c2
1 Parent(s): 9d66920

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +2 -2
README.md CHANGED
@@ -41,8 +41,8 @@ class ExtendedWav2Vec2ForCTC(Wav2Vec2ForCTC):
41
  self.lm_head
42
  )
43
 
44
- model = ExtendedWav2Vec2ForCTC.from_pretrained("kehanlu/wav2vec2-mandarin-aishell1")
45
- processor = Wav2Vec2Processor.from_pretrained("kehanlu/wav2vec2-mandarin-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")
 
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")