Bug: KeyError "raw" on Quick Tour PyTorch
PyTorch notebook from the tutorial seems to have a bug.huggingface.coQuick tourWe’re on a journey to advance and democratize artificial intelligence through open source and open science.It gives the following error.How should I solve this?Uploading: CleanShot 2022-05-11 at 22.03.26.png…
2022-05-11T23:48:37Z
You can replace the lineresult = speech_recognizer(dataset[:4]["audio"])withresult = speech_recognizer([x['array'] for x in dataset[:4]["audio"]])for now.We’ll work on getting that fixed, thanks for catching it!