DewiBrynJones
commited on
Update README.md
Browse files
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.'}`
|