Update README.md
Browse files
README.md
CHANGED
@@ -130,6 +130,18 @@ The following hyperparameters were used during training:
|
|
130 |
- Datasets 1.17.1.dev0
|
131 |
- Tokenizers 0.10.3
|
132 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
133 |
### Inference With LM
|
134 |
|
135 |
```python
|
@@ -163,3 +175,5 @@ transcription = processor.batch_decode(logits.numpy()).text
|
|
163 |
| Without LM | With LM (run `./eval.py`) |
|
164 |
|---|---|
|
165 |
| 27.30 | 18.85 |
|
|
|
|
|
|
130 |
- Datasets 1.17.1.dev0
|
131 |
- Tokenizers 0.10.3
|
132 |
|
133 |
+
### To evaluate on mozilla-foundation/common_voice_7_0 - test
|
134 |
+
|
135 |
+
```bash
|
136 |
+
python eval.py --model_id hf-test/xls-r-300m-sv --dataset mozilla-foundation/common_voice_7_0 --config sv-SE --split test
|
137 |
+
```
|
138 |
+
|
139 |
+
### To evaluate on speech-recognition-community-v2/dev_data
|
140 |
+
|
141 |
+
```bash
|
142 |
+
python eval.py --model_id hf-test/xls-r-300m-sv --dataset speech-recognition-community-v2/dev_data --config sv --split validation --chunk_length_s 5.0 --stride_length_s 1.0
|
143 |
+
```
|
144 |
+
|
145 |
### Inference With LM
|
146 |
|
147 |
```python
|
|
|
175 |
| Without LM | With LM (run `./eval.py`) |
|
176 |
|---|---|
|
177 |
| 27.30 | 18.85 |
|
178 |
+
|
179 |
+
|