speechbrainteam
commited on
Commit
•
f9c7bfb
1
Parent(s):
09c40f9
Update README.md
Browse files
README.md
CHANGED
@@ -68,6 +68,28 @@ asr_model.transcribe_file("speechbrain/asr-crdnn-transformerlm-librispeech/examp
|
|
68 |
### Inference on GPU
|
69 |
To perform inference on the GPU, add `run_opts={"device":"cuda"}` when calling the `from_hparams` method.
|
70 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
71 |
### Limitations
|
72 |
The SpeechBrain team does not provide any warranty on the performance achieved by this model when used on other datasets.
|
73 |
|
@@ -81,7 +103,7 @@ The SpeechBrain team does not provide any warranty on the performance achieved b
|
|
81 |
year = {2021},
|
82 |
publisher = {GitHub},
|
83 |
journal = {GitHub repository},
|
84 |
-
howpublished = {
|
85 |
}
|
86 |
```
|
87 |
|
|
|
68 |
### Inference on GPU
|
69 |
To perform inference on the GPU, add `run_opts={"device":"cuda"}` when calling the `from_hparams` method.
|
70 |
|
71 |
+
### Training
|
72 |
+
The model was trained with SpeechBrain (Commit hash: 'eca313cc').
|
73 |
+
To train it from scratch follow these steps:
|
74 |
+
1. Clone SpeechBrain:
|
75 |
+
```bash
|
76 |
+
git clone https://github.com/speechbrain/speechbrain/
|
77 |
+
```
|
78 |
+
2. Install it:
|
79 |
+
```bash
|
80 |
+
cd speechbrain
|
81 |
+
pip install -r requirements.txt
|
82 |
+
pip install -e .
|
83 |
+
```
|
84 |
+
|
85 |
+
3. Run Training:
|
86 |
+
```bash
|
87 |
+
cd recipes/LibriSpeech/ASR/seq2seq
|
88 |
+
python train.py hparams/train_BPE_1000.yaml --data_folder=your_data_folder
|
89 |
+
```
|
90 |
+
|
91 |
+
You can find our training results (models, logs, etc) [here](https://drive.google.com/drive/folders/1SAndjcThdkO-YQF8kvwPOXlQ6LMT71vt?usp=sharing).
|
92 |
+
|
93 |
### Limitations
|
94 |
The SpeechBrain team does not provide any warranty on the performance achieved by this model when used on other datasets.
|
95 |
|
|
|
103 |
year = {2021},
|
104 |
publisher = {GitHub},
|
105 |
journal = {GitHub repository},
|
106 |
+
howpublished = {\\url{https://github.com/speechbrain/speechbrain}},
|
107 |
}
|
108 |
```
|
109 |
|