-
Notifications
You must be signed in to change notification settings - Fork 396
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
[Draft] Add adversarial defense benchmark #694
Conversation
Check out this pull request on See visual diffs & provide feedback on Jupyter Notebooks. Powered by ReviewNB |
Hi there, @jxmorris12 Do you have any questions about this PR? |
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.
please fix conflicts
Hi @jxmorris12, this PR has been tested in my own environment. |
@yangheng95 mind to add some unit tests / also please solve conflicts / and locally run "make test" |
@yangheng95 do you mind to also add a Jupyter notebook under doc/2notebook to give good examples of your newly added features? Thanks.. |
Hi, that is ok. And I will push a PR recently, to show some examples and provide detailed documents. |
Closing as it's been over a year. Please feel free to reopen once you've resolved conflicts with the current version of TextAttack and improved the documentation + testing! |
What does this PR do?
Introduce an interface of adversarial defense to benchmark adversarial defense methods.
Summary
The test examples is available in https://github.com/yangheng95/TextAttack/blob/master/examples/reactive_defense/sst2_reactive_defense.py
Please contact me and help test if you are interested in this PR. @jxmorris12
This PR is related to #687
Additions
Changes
Deletions
textattack.models...
Checklist
.rst
file inTextAttack/docs/apidoc
.'