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

1111 Commits

Author SHA1 Message Date
Jack Morris
1575566804 download word embedding in proper order 2020-09-11 13:27:21 -04:00
Jack Morris
f97475b98d support custom word embedding 2020-09-11 12:24:51 -04:00
Hanyu Liu
7e50816135 Flake 8 Issues Fix 2020-09-10 14:36:32 -04:00
Hanyu Liu
1d8d772928 Formatting Issue 2020-09-10 14:26:52 -04:00
Hanyu Liu
7062355a3a Flair ner to AttackedText 2020-09-09 19:37:55 -04:00
Hanyu-Liu-123
9d0a668210 Merge pull request #272 from QData/flair-tagger
Flair tagger
2020-09-09 11:04:10 -04:00
Hanyu Liu
a9ec9ac276 Fix WordSwapExtend Bug 2020-09-01 13:40:27 -04:00
Jack Morris
419975abdd Merge branch 'update-flair' of github.com:QData/TextAttack into update-flair 2020-09-01 13:39:07 -04:00
Jack Morris
e654dde2af remove bert_score warning catching, update bert_score dependency 2020-09-01 13:38:56 -04:00
Jack Morris
fc655cb2e3 delete errant file 2020-09-01 13:27:04 -04:00
Jack Morris
2461c7be80 formatting 2020-09-01 13:24:01 -04:00
Jack Morris
f1f14de651 Merge branch 'INV-temp' of github.com:QData/TextAttack into INV-temp 2020-09-01 13:14:20 -04:00
Hanyu Liu
be16974b3b Fix Attacked Text Bug 2020-09-01 13:10:53 -04:00
Jack Morris
8ea872245a change data store location 2020-09-01 13:00:31 -04:00
Jack Morris
4d2585e608 flair workaround 2020-09-01 12:33:17 -04:00
Hanyu Liu
d6b036e8bf Reformating with lint 2020-09-01 10:46:50 -04:00
Hanyu Liu
96c5feac64 Add CheckList Recipe 2020-09-01 10:35:25 -04:00
Jack Morris
e47e34ebe1 update flair version & centralize POS tagging 2020-08-31 20:54:03 -04:00
Jack Morris
c9931daf43 Merge pull request #262 from QData/eval-fix
update 'textattack eval' and add tests
2020-08-31 01:06:26 -04:00
Jack Morris
af7f31d265 update black formatting 2020-08-30 15:25:56 -04:00
Jack Morris
b014a75f9d consistent random seed 2020-08-30 14:49:50 -04:00
Jack Morris
20116b483d fix typo 2020-08-28 16:59:46 -04:00
Jack Morris
f2e3786e3b fix single-word attack bug 2020-08-25 14:46:18 -04:00
Jack Morris
4bdaff94cb eval test stderr 2020-08-25 14:28:00 -04:00
Jack Morris
e2217914b6 fix eval and add tests 2020-08-25 13:46:29 -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 (Jeffrey) Yoo
3f6df81c71 Merge pull request #213 from QData/fix-pso
Refactor PSO, GA, and IGA
2020-08-21 20:12:57 -04:00
Jin Yong Yoo
8af151880d formatting update 2020-08-21 19:55:56 -04:00
Jin Yong Yoo
4baf44607e merge master and resolve conflicts 2020-08-21 18:05:04 -04:00
Jin Yong Yoo
70b035aeb3 add attributes to population member 2020-08-21 18:01:47 -04:00
Jin Yong Yoo
3139e9a369 fix faulty cache misses 2020-08-21 16:49:33 -04:00
Jack Morris
d292f3ee13 update docs & fix t5 tokenizer 2020-08-20 11:19:15 -04:00
Jin Yong Yoo
31a69a839e reduce cache size for fewer OOM errors 2020-08-18 12:29:11 -04:00
Jack Morris
5c1d03bdfa Merge branch 'master' of github.com:QData/TextAttack into gpu-alloc 2020-08-18 12:25:28 -04:00
Jack Morris
1f985a27d0 add French attack example 2020-08-18 10:17:28 -04:00
Jin Yong Yoo
cd8326e6ea fix pso bugs 2020-08-17 23:23:32 -04:00
Jack Morris
37138a6183 model wrappers: pass tensors directly to model device 2020-08-17 18:58:22 -04:00
Jack Morris
17415b6820 0.2.6: fix AutoTokenizer default 2020-08-17 17:09:58 -04:00
Jack Morris
0511da8366 fix device issue w gpus 2020-08-17 16:49:13 -04:00
Jack Morris
7a2fde1520 v0.2.5: tokenizer fixes 2020-08-17 16:15:46 -04:00
Jin Yong Yoo
f691ede779 fix gpu allocation 2020-08-08 14:32:25 -04:00
Jack Morris
436b79de66 update docs for PR; bump version for pypi; fix tqdm in colab 2020-08-07 12:33:38 -04:00
Jack Morris
3416cd3828 format imports 2020-08-06 11:46:05 -04:00
Jack Morris
0291a6fbdb | -> ^ 2020-08-06 10:30:30 -04:00
Jack Morris
ae575cfeb5 attack recipes -> classes 2020-08-06 07:42:47 -04:00
Jack Morris
adbda1ea3b Merge pull request #236 from QData/log-robustness
parallel fix; add --check-robustness training option
2020-08-05 12:07:03 -04:00
Jack Morris
279c8afb40 Update alzantot GA link 2020-08-05 11:46:57 -04:00
Jack Morris
6cd3a2d9a5 parallel fix; add --check-robustness training option 2020-08-04 13:49:20 -04:00
Jack Morris
505ddfee10 Merge pull request #234 from QData/model-examples
examples of attacking tensorflow and sklearn models
2020-08-03 10:05:16 -04:00
Jack Morris
15bd6bd3e0 linting 2020-08-01 21:07:10 -04:00