patrickvonplaten
commited on
Commit
·
8ea4121
1
Parent(s):
33b3d9c
Update README.md
Browse files
README.md
CHANGED
@@ -52,7 +52,7 @@ from transformers import pipeline
|
|
52 |
librispeech_en = load_dataset("patrickvonplaten/librispeech_asr_dummy", "clean", split="validation")
|
53 |
asr = pipeline("automatic-speech-recognition", model="facebook/s2t-wav2vec2-large-en-tr", feature_extractor="facebook/s2t-wav2vec2-large-en-tr")
|
54 |
|
55 |
-
|
56 |
```
|
57 |
|
58 |
or step-by-step as follows:
|
|
|
52 |
librispeech_en = load_dataset("patrickvonplaten/librispeech_asr_dummy", "clean", split="validation")
|
53 |
asr = pipeline("automatic-speech-recognition", model="facebook/s2t-wav2vec2-large-en-tr", feature_extractor="facebook/s2t-wav2vec2-large-en-tr")
|
54 |
|
55 |
+
translation = asr(librispeech_en[0]["file"])
|
56 |
```
|
57 |
|
58 |
or step-by-step as follows:
|