Commit
·
22d9f55
1
Parent(s):
7f6699a
Update README.md
Browse files
README.md
CHANGED
|
@@ -95,7 +95,7 @@ def map_to_pred(batch):
|
|
| 95 |
batch["transcription"] = transcription
|
| 96 |
return batch
|
| 97 |
|
| 98 |
-
result = librispeech_eval.map(map_to_pred, batched=True, batch_size=
|
| 99 |
|
| 100 |
print("WER:", wer(result["text"], result["transcription"]))
|
| 101 |
```
|
|
|
|
| 95 |
batch["transcription"] = transcription
|
| 96 |
return batch
|
| 97 |
|
| 98 |
+
result = librispeech_eval.map(map_to_pred, batched=True, batch_size=1, remove_columns=["speech"])
|
| 99 |
|
| 100 |
print("WER:", wer(result["text"], result["transcription"]))
|
| 101 |
```
|