Update README.md

This commit is contained in:
Patrick von Platen 2021-02-15 11:55:43 +00:00 committed by huggingface-web
parent 829b55c9f9
commit 407ffc286b
1 changed files with 1 additions and 1 deletions

View File

@ -100,7 +100,7 @@ def map_to_pred(batch):
batch["transcription"] = transcription
return batch
result = librispeech_eval.map(map_to_pred, batched=True, batch_size=16, remove_columns=["speech"])
result = librispeech_eval.map(map_to_pred, batched=True, batch_size=1, remove_columns=["speech"])
print("WER:", wer(result["text"], result["transcription"]))
```