Commit
•
407ffc2
1
Parent(s):
829b55c
Update README.md
Browse files
README.md
CHANGED
@@ -100,7 +100,7 @@ def map_to_pred(batch):
|
|
100 |
batch["transcription"] = transcription
|
101 |
return batch
|
102 |
|
103 |
-
result = librispeech_eval.map(map_to_pred, batched=True, batch_size=
|
104 |
|
105 |
print("WER:", wer(result["text"], result["transcription"]))
|
106 |
```
|
|
|
100 |
batch["transcription"] = transcription
|
101 |
return batch
|
102 |
|
103 |
+
result = librispeech_eval.map(map_to_pred, batched=True, batch_size=1, remove_columns=["speech"])
|
104 |
|
105 |
print("WER:", wer(result["text"], result["transcription"]))
|
106 |
```
|