Update README.md
This commit is contained in:
parent
2409eda322
commit
205e8c37b1
|
@ -97,7 +97,7 @@ def map_to_pred(batch):
|
||||||
batch["transcription"] = transcription
|
batch["transcription"] = transcription
|
||||||
return batch
|
return batch
|
||||||
|
|
||||||
result = librispeech_eval.map(map_to_pred, remove_columns=["speech"])
|
result = librispeech_eval.map(map_to_pred, remove_columns=["audio"])
|
||||||
|
|
||||||
print("WER:", wer(result["text"], result["transcription"]))
|
print("WER:", wer(result["text"], result["transcription"]))
|
||||||
```
|
```
|
||||||
|
|
Loading…
Reference in New Issue