hataphu commited on
Commit
c7729c4
1 Parent(s): bbf4396

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +5 -0
README.md CHANGED
@@ -13,6 +13,11 @@ Tôi đã fine-tune với 15Gb dữ liệu audio với kết quả Wer: 24.46
13
 
14
  ## Cách sử dụng
15
  ```
 
 
 
 
 
16
  mydevice = 'cuda'
17
  processor = Wav2Vec2Processor.from_pretrained("hataphu/wav2vec2-vi-300m")
18
  model = Wav2Vec2ForCTC.from_pretrained("hataphu/wav2vec2-vi-300m")
 
13
 
14
  ## Cách sử dụng
15
  ```
16
+
17
+ import torch
18
+ from transformers import Wav2Vec2Processor, Wav2Vec2ForCTC
19
+ import torchaudio
20
+
21
  mydevice = 'cuda'
22
  processor = Wav2Vec2Processor.from_pretrained("hataphu/wav2vec2-vi-300m")
23
  model = Wav2Vec2ForCTC.from_pretrained("hataphu/wav2vec2-vi-300m")