DewiBrynJones commited on
Commit
6628ef6
·
verified ·
1 Parent(s): 6f05572

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +12 -0
README.md CHANGED
@@ -34,3 +34,15 @@ While, it achieves the following WER results for transcribing using the same tes
34
 
35
  N.B. the desired transcript language is not given to the fine-tuned model during testing.
36
 
 
 
 
 
 
 
 
 
 
 
 
 
 
34
 
35
  N.B. the desired transcript language is not given to the fine-tuned model during testing.
36
 
37
+
38
+ ## Usage
39
+
40
+ ```python
41
+ from transformers import pipeline
42
+
43
+ transcriber = pipeline("automatic-speech-recognition", model="techiaith/whisper-large-v3-ft-cv-cy-en")
44
+ result = transcriber(<path or url to soundfile>)
45
+ print (result)
46
+ ```
47
+
48
+ `{'text': 'Mae hen wlad fy nhadau yn annwyl i mi.'}`