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

Attempt to reproduce BertExt model with PreSumm repo runs into error #4

Open
tanpengshi opened this issue Mar 4, 2022 · 0 comments

Comments

@tanpengshi
Copy link

After following the instructions for data preparation such as the following:

python 5_make_data_files_presumm_mbert.py

I then proceed to the PreSumm repo to execute the instructions as given for model training (I was required to make some minor changes), but I ran into the following error:

return torch.embedding(weight, input, padding_idx, scale_grad_by_freq, sparse)

RuntimeError: index out of range at /pytorch/aten/src/TH/generic/THTensorEvenMoreMath.cpp:193

May I know if there was something like that that anyone has encountered? And how may I resolve the error?

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