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

55 Commits

Author SHA1 Message Date
Jin Yong Yoo
70b035aeb3 add attributes to population member 2020-08-21 18:01:47 -04:00
Jin Yong Yoo
3519a3006f formatting update 2020-07-31 10:20:42 -04:00
Jin Yong Yoo
97b4aa2886 split variable names for IGA and GA 2020-07-31 09:34:57 -04:00
Jin Yong Yoo
bfd512f63c fix bugs for genetic algorithm 2020-07-26 03:49:43 -04:00
Jin Yong Yoo
1a92d70457 refactor genetic algorithms to extend from same class 2020-07-25 13:45:45 -04:00
Jin Yong Yoo
5a8d74d288 refactor pso and transformation caching 2020-07-25 08:57:52 -04:00
Jin Yong Yoo
d65b5963ed fix bugs and refactor 2020-07-16 09:12:59 -04:00
Jin Yong Yoo
c46c3d06ea refactor PSO, genetic, iha 2020-07-16 05:06:06 -04:00
Jin Yong Yoo
c351f537cd refactor PSO 2020-07-13 13:14:59 -04:00
Jin Yong Yoo
39e4a8e2c3 refactor pso 2020-07-13 12:34:04 -04:00
Jin Yong Yoo
5827b6a859 merge from master 2020-07-13 12:33:30 -04:00
Jin Yong Yoo
77877daa44 WIP: refactor pso 2020-07-12 12:40:46 -04:00
Hanyu Liu
a6ee121ed3 Reformatting-try4 2020-07-11 00:36:26 -04:00
Hanyu Liu
974061c0aa Reformatting-try1 2020-07-10 19:21:02 -04:00
sherlockyyc
279f05640c update IGA 2020-07-08 17:06:39 +08:00
sherlockyyc
ef48bbda7d Merge branch 'master' of https://github.com/QData/TextAttack into v1 2020-07-07 20:50:04 +08:00
sherlockyyc
1399e37240 Add IGA to genetic_algorithm.py 2020-07-07 17:33:35 +08:00
sherlockyyc
29dd7ee6ff v1 2020-07-07 11:04:03 +08:00
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