Improved finetuned transformers accuracy.#717
Merged
jklaise merged 4 commits intoSeldonIO:masterfrom Jul 20, 2022
Merged
Conversation
|
Check out this pull request on See visual diffs & provide feedback on Jupyter Notebooks. Powered by ReviewNB |
88bd751 to
9522b2c
Compare
Codecov Report
@@ Coverage Diff @@
## master #717 +/- ##
=======================================
Coverage 81.06% 81.06%
=======================================
Files 105 105
Lines 11794 11794
=======================================
Hits 9561 9561
Misses 2233 2233 |
8c805ea to
616a024
Compare
jklaise
reviewed
Jul 19, 2022
| @@ -43,18 +43,22 @@ | |||
| "import numpy as np\n", | |||
Contributor
There was a problem hiding this comment.
Line #80. # see transformers issue #14404: https://github.com/huggingface/transformers/issues/14404
It seem the issue says this has been resolved now? Although probably would need a minimum version bump (not sure which one) in alibi for transformers to avoid people using numpy arrays with older versions of transformers .
Reply via ReviewNB
| @@ -43,18 +43,22 @@ | |||
| "import numpy as np\n", | |||
Contributor
There was a problem hiding this comment.
Line #1. # choose whether to use the BERT pr distilBERT model by selecting the appropriate name
pr -> or
Reply via ReviewNB
Contributor
|
Nice one! Left 2 comments. Good idea to replace the manual classifier with the auto-classifier from the |
jklaise
approved these changes
Jul 20, 2022
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR improves the accuracy of the Integrated Gradients example finetuned transformes models from 87% to > 91%. It also contains minor fixes.