We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
classic_eval.py
chk_answer = [] for data in answer: chk_answer.append({ 'task': data['task'], 'output': data['output'], 'instruction': data['instruction'], 'ID': data['ID'] }) diff = False for data in submission: if { 'task': data['task'], 'output': data['output'], 'instruction': data['instruction'], 'ID': data['ID'] } not in chk_answer: diff = True break assert diff == False, 'Submission file is not valid' print('File is valid! Loading File...')
The 'output' value of submission and gt answer is probably different. So there will definitely be an AssertionError.
'output'
AssertionError
The text was updated successfully, but these errors were encountered:
No branches or pull requests
The
'output'
value of submission and gt answer is probably different. So there will definitely be anAssertionError
.The text was updated successfully, but these errors were encountered: