1
0
mirror of https://github.com/QData/TextAttack.git synced 2021-10-13 00:05:06 +03:00
Commit Graph

74 Commits

Author SHA1 Message Date
Adam Noack
fe5aa5cf41 fix query count for GoalFunctionResult returned by SearchMethod._perform_search 2020-11-20 22:20:11 -08:00
Jin Yong Yoo
866301ba08 fix bugs and revise word to token matching scheme 2020-11-01 14:02:00 -05:00
Jin Yong Yoo
4893d47e6c add consistent is_black_box attributes 2020-11-01 00:58:17 -04:00
Jin Yong Yoo
bdbeae80d2 add gradient-based white-box search 2020-11-01 00:58:16 -04:00
Yanjun Qi
23d0de6b43 clean up the docstring of each module and module content section 2020-10-25 23:15:07 -04:00
Yanjun Qi
2ea690bbc6 a major shift to rst files generated by sphinx-apidoc
major docstring clean up / plus reorganize the folder structure under docs
2020-10-25 20:21:43 -04:00
Yanjun Qi
fc7d5294d9 move documents from semi-automated rst files to correct code positions 2020-10-25 11:53:41 -04:00
Jin Yong Yoo
8d038e1b6c update documentation and fix attack on empty worklist 2020-10-02 14:07:23 -04:00
Jack Morris
af7f31d265 update black formatting 2020-08-30 15:25:56 -04:00
Jack Morris
042a371c86 Merge pull request #259 from QData/constraint-cache-bug
fix faulty cache misses
2020-08-24 10:27:02 -04:00
Jin Yong Yoo
4baf44607e merge master and resolve conflicts 2020-08-21 18:05:04 -04:00
Jin Yong Yoo
3139e9a369 fix faulty cache misses 2020-08-21 16:49:33 -04:00
Jin Yong Yoo
31a69a839e reduce cache size for fewer OOM errors 2020-08-18 12:29:11 -04:00
Jack Morris
b0f473685d examples for tensorflow and sklearn 2020-07-31 15:35:03 -04:00
Jin Yong Yoo
4ba7fac789 merge from master 2020-07-31 09:34:25 -04:00
Jack Morris
d66d374a19 add warning [tests pass] 2020-07-29 10:18:21 -04:00
Jack Morris
5cce3918bf automatically remove duplicates returned by transformations 2020-07-27 11:01:37 -04:00
Jack Morris
e6d671e918 remove dead imports; model wrappers work 2020-07-26 13:57:27 -04:00
Jin Yong Yoo
9d3c068db4 clear transformation cache 2020-07-25 09:00:39 -04:00
Jin Yong Yoo
5a8d74d288 refactor pso and transformation caching 2020-07-25 08:57:52 -04:00
Jin Yong Yoo
cdd9061cb4 add cache clearing 2020-07-22 04:42:44 -04:00
Jin Yong Yoo
613bbf0b88 include kwargs for transformation cache key 2020-07-16 14:18:22 -04:00
Jin Yong Yoo
ebe050c864 add check for random transformations 2020-07-16 09:57:51 -04:00
Jin Yong Yoo
d65b5963ed fix bugs and refactor 2020-07-16 09:12:59 -04:00
Jack Morris
576876257f merge and format 2020-07-12 20:40:22 -04:00
Jack Morris
3853928a44 remove dead imports 2020-07-12 19:07:41 -04:00
Hanyu Liu
700d26f4ce Flake8 Fix with 'make format' 2020-07-11 01:01:22 -04:00
Hanyu Liu
4f8b227ef9 Reformatting-try2 2020-07-10 21:49:20 -04:00
Hanyu Liu
974061c0aa Reformatting-try1 2020-07-10 19:21:02 -04:00
Jack Morris
f875f65eed attempting to fix fast alznatot 2020-07-10 09:27:33 -04:00
Jack Morris
58609feac1 raise warning (not error) when too few samples to attack 2020-07-07 22:08:51 -04:00
Jin Yong Yoo
12ae5edeb9 merge from master 2020-07-06 10:50:17 -04:00
uvafan
a7ef32773e use lambda rather than adding method 2020-07-03 16:34:21 -04:00
uvafan
7cf2128fb2 formatting 2020-07-03 14:29:32 -04:00
uvafan
05b32b87f0 update get_goal_results signature 2020-07-03 14:28:03 -04:00
uvafan
0430055c1c make review fixes 2020-07-01 21:23:07 -04:00
uvafan
7e9f3ece13 merge with master 2020-07-01 00:56:33 -04:00
Jin Yong Yoo
9310719694 WIP: fix bugs and create ABC for models 2020-06-30 13:09:24 -04:00
Jin Yong Yoo
769f160fa0 change args to reference_text 2020-06-30 10:48:10 -04:00
uvafan
6651c7482a add input reduction 2020-06-30 00:16:58 -04:00
Jin Yong Yoo
d4c7030328 update genetic algorithm 2020-06-29 05:14:12 -04:00
uvafan
54632c3c7b format and finish merge 2020-06-28 21:07:28 -04:00
uvafan
b30fdcd1da merge with master 2020-06-28 20:43:07 -04:00
Jin Yong Yoo
36b52608b2 fix crossover constraint checking 2020-06-28 12:03:36 -04:00
uvafan
0fcfb51b7f allow maximization goal functions 2020-06-23 23:33:48 -04:00
Jack Morris
2d98ce0114 smart cache dir, synchronous post-install hook, better constraint caching 2020-06-23 22:35:00 -04:00
Jack Morris
ff96d5f3dc color output and show label nd confidence score 2020-06-21 16:38:15 -04:00
Jack Morris
b27abe3fac update output format & PR fixes 2020-06-18 14:33:16 -04:00
Jack Morris
2bbd06b0c2 merge in master & delete flaky test 2020-06-17 18:01:51 -04:00
Jack Morris
d25bf44f52 update attackedtext references, need to update tokenization 2020-06-16 21:56:33 -04:00