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

37 Commits

Author SHA1 Message Date
Jin Yong Yoo
d03b6947ca add post_crossover_check to GA 2020-07-06 12:21:33 -04:00
Jack Morris
9b9b704a9e merge in master and fix syntax errors 2020-07-03 16:01:19 -04:00
Jin Yong Yoo
ae6046bfb8 add fix for genetic 2020-07-02 12:01:21 -04:00
uvafan
cdc4f9f9c5 update test output 2020-07-01 11:31:51 -04:00
uvafan
e1f80a9850 formatting 2020-07-01 01:26:11 -04:00
uvafan
7e9f3ece13 merge with master 2020-07-01 00:56:33 -04:00
Jin Yong Yoo
779d82e524 fix num-retires 2020-06-30 05:58:41 -04:00
Jin Yong Yoo
ec5598baed formatting update and new test 2020-06-30 04:08:43 -04:00
Jin Yong Yoo
73c0fda293 low prob assignment for zero transformation cases 2020-06-30 03:23:13 -04:00
Jin Yong Yoo
5284fb8a84 fix argument for comparing against original text 2020-06-29 11:13:20 -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
Jin Yong Yoo
36b52608b2 fix crossover constraint checking 2020-06-28 12:03:36 -04:00
Jin Yong Yoo
86dff2174a refactor genetic 2020-06-28 08:01:21 -04:00
uvafan
0fcfb51b7f allow maximization goal functions 2020-06-23 23:33:48 -04:00
Jin Yong Yoo
004a86d099 more docstring 2020-06-23 05:56:36 -04:00
Jack Morris
d25bf44f52 update attackedtext references, need to update tokenization 2020-06-16 21:56:33 -04:00
Jack Morris
9bf213f7fd TT->AttackedText, remove ids, give TT keys, batch tokenize 2020-06-16 19:46:20 -04:00
Jack Morris
07e927e3e4 add isort and fix import loops, preparing to shorten tests 2020-06-15 20:40:44 -04:00
Jack Morris
1d8a172c05 code formatting; tokenizers->models/tokenizers 2020-06-15 18:36:04 -04:00
Jack Morris
fcb82dac5e makefile and setup; need to fix imports 2020-06-15 17:07:12 -04:00
uvafan
8b718e3b34 fix again 2020-06-06 22:58:19 -04:00
uvafan
e1a66fabf7 ga bug fix 2020-06-05 20:37:02 -04:00
uvafan
298518afca discussed fixes 2020-06-05 18:22:48 -04:00
uvafan
ee95b82895 add query budget 2020-06-05 15:40:20 -04:00
Jin Yong Yoo
a793bd8aa3 free unncessary memory in TokenizedText 2020-05-24 09:24:37 -04:00
Jin Yong Yoo
9152ba8d82 remove print and add missing import 2020-05-23 10:53:27 -04:00
Jack Morris
f030a16c71 improve augmentation; merge in fix-docs 2020-05-20 16:32:25 -04:00
uvafan
93741a7b8b more docs updates 2020-05-20 14:26:46 -04:00
uvafan
f1d0017a53 rename validator method, attack params optional 2020-05-19 10:07:00 -04:00
uvafan
8c265fe23f make requested fixes 2020-05-18 18:30:23 -04:00
uvafan
99cea57b0e bunch of bug fixes, update tutorials and tests and README 2020-05-17 22:40:01 -04:00
uvafan
edf01eb4c8 speed up and fixes 2020-05-17 20:33:01 -04:00
uvafan
b94684971e textfooler recipe working 2020-05-17 18:23:07 -04:00
uvafan
31a045d3c4 update genetic alg, add SM-transformation compatibility 2020-05-17 15:53:24 -04:00
k-ivey
55f8451b02 Fixed indentation for documentation purposes 2020-05-13 16:11:08 -04:00
Jack Morris
dd848c7ac1 add kuleshov recipe; rename attack_methods --> search_methods 2020-05-06 22:20:46 -04:00