-
Notifications
You must be signed in to change notification settings - Fork 115
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
Fixed examples test error to adapt to neural_compressor v2.3 #420
Fixed examples test error to adapt to neural_compressor v2.3 #420
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks a lot for adding this in anticipation to the neural-compressor
release. Is there any additional modification that needs to be added so that everything stays compatible ?
No more changes for neural compressor 2.3 version |
20cd567
to
c6926ac
Compare
The documentation is not available anymore as the PR was closed or merged. |
c6926ac
to
489a9be
Compare
Signed-off-by: Cheng, Penghui <[email protected]>
489a9be
to
588599c
Compare
self.assertGreaterEqual(results["eval_f1"], 70) | ||
self.assertGreaterEqual(results["eval_exact_match"], 70) | ||
self.assertGreaterEqual(results["eval_f1"], 60) | ||
self.assertGreaterEqual(results["eval_exact_match"], 45) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
why this modification ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@PenghuiCheng any news on this ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
hi, Echarlaix, Sorry for the delayed response. We are implementing the pre-check-in test on our server, and we found the accuracy does not match the value. So we want to change it to pass the test. However I found that the accuracy is not stable, for the token-classification example, I will get "f1" < 0.6 sometimes. I cannot explain this phenomenon, is it related to training arguments?
What does this PR do?
Fixed examples test error to adapt to neural_compressor v2.3
Before submitting