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

58 Commits

Author SHA1 Message Date
Yanjun Qi
de0b5b8b8b add in the docstring for textattack_cli main func 2020-11-10 13:32:21 -05:00
Yanjun Qi
c78aa66980 fix all flake8 found whitespacing trailing issues 2020-10-26 08:18:55 -04:00
Yanjun Qi
23d0de6b43 clean up the docstring of each module and module content section 2020-10-25 23:15:07 -04:00
k-ivey
c9b1bcabdd Add CoLA based constraint
Added a constraint that uses a model pre-trained on the CoLA dataset to check that the attacked text has a certain number of linguistically acceptable sentences as compared to the reference text
2020-10-16 17:15:03 -04:00
Florian Over
1aa8bac7ba Added a new Constrain MultilingualUniversalSentenceEncoder 2020-10-11 21:13:14 +02:00
Hanyu Liu
9fa5874144 Improvements after Review 2020-09-14 10:40:21 -04:00
Hanyu Liu
96c5feac64 Add CheckList Recipe 2020-09-01 10:35:25 -04:00
Jack Morris
af7f31d265 update black formatting 2020-08-30 15:25:56 -04:00
Jack Morris
e6d671e918 remove dead imports; model wrappers work 2020-07-26 13:57:27 -04:00
Jack Morris
7255a9ac28 ":" -> "|"; add distilbert-base-uncased-mr 2020-07-24 16:51:48 -04:00
Jack Morris
39e2a3663a Merge branch 'master' of github.com:QData/TextAttack into morpheus 2020-07-13 01:08:41 -04:00
Jack Morris
9b48469f1a add MORPHEUS recipe 2020-07-13 01:08:38 -04:00
Jack Morris
576876257f merge and format 2020-07-12 20:40:22 -04:00
Jack Morris
ba3b412658 fix remaining flake8 things, ignore the rest 2020-07-12 19:03:47 -04:00
Jin Yong Yoo
1394770562 wip 2020-07-12 13:20:12 -04:00
Jin Yong Yoo
aaf36912f0 various fixes 2020-07-11 04:06:15 -04:00
Hanyu Liu
c2c7c00f5e Reformatting-try3 2020-07-10 22:44:14 -04:00
sherlockyyc
9e37fd386d a minor mismatch of comments 2020-07-09 23:42:09 +08:00
sherlockyyc
0de91af40e Merge branch 'master' of https://github.com/QData/TextAttack 2020-07-08 11:20:31 +08:00
Jack Morris
7e3b90e979 fix multilabel load for pre-trained lstm/cnn; add benchmarked results for MR 2020-07-07 21:16:39 -04:00
Jack Morris
c0a3a734d8 adding AG News models 2020-07-07 20:45:51 -04:00
sherlockyyc
ef48bbda7d Merge branch 'master' of https://github.com/QData/TextAttack into v1 2020-07-07 20:50:04 +08:00
sherlockyyc
528f2e2f55 Merge branch 'master' of https://github.com/QData/TextAttack 2020-07-07 09:42:21 +08:00
Jack Morris
cd40129e42 merge in master 2020-07-06 18:13:38 -04:00
Jack Morris
0c91cd9512 update models readme; merge 2020-07-06 16:51:22 -04:00
Jack Morris
718a74b036 update eval and add models README 2020-07-06 16:37:33 -04:00
Jack Morris
7e7d634f75 merge 2020-07-06 14:57:08 -04:00
jakegrigsby
705fecbd9f pruthi attack (WIP) 2020-07-06 14:33:35 -04:00
sherlockyyc
0a48bf79e4 Format code with black 2020-07-03 20:29:07 +08:00
sherlockyyc
a99cb7aec4 Initial IGA 2020-07-03 17:48:19 +08:00
jind11
7d9ce86f07 re-upload the PSO model code with PR comments addressed 2020-07-02 18:10:07 -04:00
uvafan
7e9f3ece13 merge with master 2020-07-01 00:56:33 -04:00
Jack Morris
94a98f59e5 nlp summarization with gigaword 2020-06-30 19:00:51 -04:00
Jack Morris
46b0f38967 remove dead code; update T5 2020-06-30 17:47:12 -04:00
uvafan
a2532198a5 merge with master 2020-06-30 00:24:31 -04:00
uvafan
6651c7482a add input reduction 2020-06-30 00:16:58 -04:00
Jack Morris
a63730344c merge 2020-06-29 18:30:09 -04:00
Jack Morris
c54b89eb82 update BAE and BERT-attack recipe; support & test no window [infinite window size] 2020-06-29 14:52:22 -04:00
Jack Morris
db5307432f Merge branch 'master' of github.com:QData/TextAttack into faster-alz-lm 2020-06-29 13:52:41 -04:00
Jack Morris
03a9585022 Merge pull request #168 from QData/pww
PWWS
2020-06-29 13:36:55 -04:00
Jack Morris
c0edd5e08b add MR models and SNLI 2020-06-28 19:22:57 -04:00
Jack Morris
7daadbc899 add BAE and BERT-Attack recipes 2020-06-28 16:00:12 -04:00
Jack Morris
05139cf828 fix attack_args key 2020-06-28 11:44:50 -04:00
Jack Morris
f588200119 add LM constraint to args + formatting 2020-06-28 11:32:00 -04:00
Jack Morris
5f3e2b2961 learning to write language model + batch queries 2020-06-28 11:24:49 -04:00
Jack Morris
ca311f286f add faster LM 2020-06-27 22:54:19 -04:00
Jack Morris
af2541cf2b remove spacy; add 3 MR models 2020-06-25 22:26:12 -04:00
jakegrigsby
a068902c9e pwws (WIP) 2020-06-24 19:15:44 -04:00
Jin Yong (Jeffrey) Yoo
fe109267a1 Merge pull request #131 from QData/word-swap-lm
Word swap using BERT
2020-06-24 00:58:29 +09:00
Jin Yong (Jeffrey) Yoo
ca1dea595c Merge pull request #146 from QData/bert-score
Add bert-score
2020-06-23 22:45:09 +09:00