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

36 Commits

Author SHA1 Message Date
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
Jack Morris
3da7acf0df merge [Tests pass] 2020-06-10 23:52:59 -04:00
Jack Morris
824cd9be8e figured out huggingface tokenizers for benchmarking, now integrating into attack 2020-06-09 17:30:18 -04:00
uvafan
298518afca discussed fixes 2020-06-05 18:22:48 -04:00
Jack Morris
b6dd920c08 support custom models; waiting on datasets integration 2020-06-05 17:35:52 -04:00
uvafan
d24bd67c0b fix 2020-06-05 15:59:01 -04:00
uvafan
ee95b82895 add query budget 2020-06-05 15:40:20 -04:00
uvafan
93741a7b8b more docs updates 2020-05-20 14:26:46 -04:00
k-ivey
1317768f64 Added loggers and attack and goal function results 2020-05-15 10:59:28 -04:00
Jack Morris
1fc809e662 update test script; batch size -> config.json 2020-05-09 09:48:27 -04:00
Jack Morris
f847e4c472 add batch size to config & log stderr output from tests 2020-05-08 15:53:57 -04:00
Jack Morris
cc665f9aaa PR fixes 2020-05-02 20:55:51 -04:00
Jack Morris
6adbb55b4d finish seq2sick and displaying text2text goal function outputs; put dataset on s3 2020-04-30 19:26:15 -04:00
Jack Morris
57b11e74a0 Entailment needed [CLS] token. Now all tests pass! 2020-04-29 17:59:48 -04:00
Jack Morris
f47734dff7 rename correct_output to ground_truth_output 2020-04-29 16:46:31 -04:00
Jack Morris
e8b021c6a0 merge in goal-function-attack-result changes 2020-04-29 14:49:58 -04:00
Jack Morris
6a9b9c6118 Make AttackResult take two GoalFunctionResults as its arguments 2020-04-28 14:15:20 -04:00
Jack Morris
945c72f829 generate text in batch 2020-04-27 00:09:03 -04:00
Jack Morris
aef87eed94 edit goal function tensor ops 2020-04-26 22:57:10 -04:00
Jack Morris
8b3bb4a65e create NonOverlappingOutput goal function and reorganize things 2020-04-26 20:51:14 -04:00
Jack Morris
417556ec23 restore SEP and CLS tokens to bert tokenizer; improve validator 2020-04-26 19:12:20 -04:00
Jack Morris
6d20d44ac0 fix LRU cache bugs 2020-04-22 15:31:48 -04:00
Jack Morris
c5cb7e9e57 minor fixes and add examples/ folder 2020-04-03 17:25:31 -04:00
Jack Morris
0bf6687ba8 merge attack_str with master 2020-03-27 12:47:25 -04:00
Jack Morris
8c7d4711ae PR fix num_queries and default use_cache=True 2020-03-26 12:27:46 -04:00
Jack Morris
8a7380aec4 move str repr to utils; add params to transformation; use () instead of ,= formatting 2020-03-24 22:53:02 -04:00
Jack Morris
f2ebf5e284 cache constraint results 2020-03-23 13:47:37 -04:00
uvafan
0b6da2a475 fix model 2020-03-05 22:29:07 -05:00
uvafan
932e839192 add docstrings 2020-03-03 17:55:09 -05:00
uvafan
a58a3f8a57 fixes 2020-03-01 19:17:45 -05:00
uvafan
1c17b70879 bug fixes, add to genetic 2020-02-24 18:48:26 -05:00
uvafan
93676fb503 working goal functions, not fully tested/integrated 2020-02-24 00:37:57 -05:00