Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Missing getitem on huggingface page: #68

Open
boeddeker opened this issue Oct 6, 2022 · 0 comments
Open

Missing getitem on huggingface page: #68

boeddeker opened this issue Oct 6, 2022 · 0 comments

Comments

@boeddeker
Copy link

Hi, I tried a model from Huggingface (https://huggingface.co/espnet/simpleoier_librispeech_asr_train_asr_conformer7_wavlm_large_raw_en_bpe5000_sp) and copied the code from the "Use in ESPnet" button.
The example was broken, I had to change

text, *_ = model(speech)

to

text, *_ = model(speech)[0]

According to the readme of espnet_model_zoo, the user has to use the getitem first.
I don't know, how to fix that. Could you fix the example on huggingface?

Here, the examples from huggingface and github with the mismatch of the expected output of Speech2Text:
image

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant