Commit
·
30e8eef
1
Parent(s):
584ee22
Update README.md
Browse files
README.md
CHANGED
@@ -25,6 +25,8 @@ from speechbrain.pretrained import EndToEndSLU
|
|
25 |
slu = EndToEndSLU.from_hparams("speechbrain/slu-timers-and-such-direct-librispeech-asr")
|
26 |
slu.decode_file("speechbrain/slu-timers-and-such-direct-librispeech-asr/math.wav")
|
27 |
```
|
|
|
|
|
28 |
|
29 |
#### Referencing SpeechBrain
|
30 |
|
@@ -35,7 +37,7 @@ title = {SpeechBrain},
|
|
35 |
year = {2021},
|
36 |
publisher = {GitHub},
|
37 |
journal = {GitHub repository},
|
38 |
-
howpublished = {
|
39 |
}
|
40 |
```
|
41 |
|
|
|
25 |
slu = EndToEndSLU.from_hparams("speechbrain/slu-timers-and-such-direct-librispeech-asr")
|
26 |
slu.decode_file("speechbrain/slu-timers-and-such-direct-librispeech-asr/math.wav")
|
27 |
```
|
28 |
+
### Inference on GPU
|
29 |
+
To perform inference on the GPU, add `run_opts={"device":"cuda"}` when calling the `from_hparams` method.
|
30 |
|
31 |
#### Referencing SpeechBrain
|
32 |
|
|
|
37 |
year = {2021},
|
38 |
publisher = {GitHub},
|
39 |
journal = {GitHub repository},
|
40 |
+
howpublished = {\\\\\\\\\\\\\\\\url{https://github.com/speechbrain/speechbrain}},
|
41 |
}
|
42 |
```
|
43 |
|