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

KeyError: 'rewrite' #14

Closed
leezythu opened this issue May 4, 2022 · 1 comment
Closed

KeyError: 'rewrite' #14

leezythu opened this issue May 4, 2022 · 1 comment

Comments

@leezythu
Copy link

leezythu commented May 4, 2022

In line 38 of Bart_Program/preprocess.py, there is "question = item['rewrite']", but the sample doesn't have the key 'rewrite'. I think it should be 'question'?

@ShulinCao
Copy link
Collaborator

Yes, thank you for the remind. The problem has been fixed.

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

2 participants