speechbrainteam
commited on
Commit
•
efe1a56
1
Parent(s):
58ed3c2
Update README.md
Browse files
README.md
CHANGED
@@ -64,6 +64,28 @@ asr_model.transcribe_file("example-fr.wav")
|
|
64 |
### Inference on GPU
|
65 |
To perform inference on the GPU, add `run_opts={"device":"cuda"}` when calling the `from_hparams` method.
|
66 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
67 |
### Limitations
|
68 |
The SpeechBrain team does not provide any warranty on the performance achieved by this model when used on other datasets.
|
69 |
|
@@ -76,7 +98,7 @@ The SpeechBrain team does not provide any warranty on the performance achieved b
|
|
76 |
year = {2021},
|
77 |
publisher = {GitHub},
|
78 |
journal = {GitHub repository},
|
79 |
-
howpublished = {
|
80 |
}
|
81 |
```
|
82 |
|
|
|
64 |
### Inference on GPU
|
65 |
To perform inference on the GPU, add `run_opts={"device":"cuda"}` when calling the `from_hparams` method.
|
66 |
|
67 |
+
### Training
|
68 |
+
The model was trained with SpeechBrain.
|
69 |
+
To train it from scratch follow these steps:
|
70 |
+
1. Clone SpeechBrain:
|
71 |
+
```bash
|
72 |
+
git clone https://github.com/speechbrain/speechbrain/
|
73 |
+
```
|
74 |
+
2. Install it:
|
75 |
+
```bash
|
76 |
+
cd speechbrain
|
77 |
+
pip install -r requirements.txt
|
78 |
+
pip install -e .
|
79 |
+
```
|
80 |
+
|
81 |
+
3. Run Training:
|
82 |
+
```bash
|
83 |
+
cd recipes/CommonVoice/ASR/seq2seq
|
84 |
+
python train.py hparams/train_fr_with_wav2vec.yaml --data_folder=your_data_folder
|
85 |
+
```
|
86 |
+
|
87 |
+
You can find our training results (models, logs, etc) [here](https://drive.google.com/drive/folders/1tjz6IZmVRkuRE97E7h1cXFoGTer7pT73?usp=sharing).
|
88 |
+
|
89 |
### Limitations
|
90 |
The SpeechBrain team does not provide any warranty on the performance achieved by this model when used on other datasets.
|
91 |
|
|
|
98 |
year = {2021},
|
99 |
publisher = {GitHub},
|
100 |
journal = {GitHub repository},
|
101 |
+
howpublished = {\\url{https://github.com/speechbrain/speechbrain}},
|
102 |
}
|
103 |
```
|
104 |
|