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

Training process bug #24

Open
bekhzod-olimov opened this issue Nov 3, 2023 · 1 comment
Open

Training process bug #24

bekhzod-olimov opened this issue Nov 3, 2023 · 1 comment

Comments

@bekhzod-olimov
Copy link

I have followed all the steps mentioned in the repo and the training went smooth enough until this point. Most probably it has a bug in rasat/seq2seq/utils/spider.py. Here is the error description:

ValueError: setting an array element with a sequence. The requested array has an inhomogeneous shape after 1 dimensions. The detected shape was (1034,) + inhomogeneous part.

Can you please help me to fix the issue?

image

@bekhzod-olimov
Copy link
Author

After examining the spider.py, I have noticed the comment "# Replace -100 in the labels as we can't decode them.". Which value the label_ids should be replaced?

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