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

289 Commits

Author SHA1 Message Date
Jack Morris
f847e4c472 add batch size to config & log stderr output from tests 2020-05-08 15:53:57 -04:00
Jack Morris
dd4eda3de3 PR fixes: moved ThoughtVector to be a SentenceEncoder; removed .black_box and .white_box transformation distinction 2020-05-08 15:06:42 -04:00
Jack Morris
f140541560 add kuleshov recipe; rename attack_methods --> search_methods 2020-05-06 23:19:13 -04:00
Jack Morris
dd848c7ac1 add kuleshov recipe; rename attack_methods --> search_methods 2020-05-06 22:20:46 -04:00
Jack Morris
6ea77cca6d Merge branch 'master' of github.com:QData/TextAttack into kuleshov 2020-05-06 13:33:17 -04:00
Jack Morris
aed4de198b Merge pull request #87 from QData/logging
Logging updates; add Weights & Biases
2020-05-06 11:28:31 -04:00
Jack Morris
fa5c87b05e rename _ args to - and fix tests 2020-05-06 11:28:18 -04:00
Jack Morris
3602625e0b make word embeddings a shared utility (tests pass) 2020-05-06 10:47:22 -04:00
Jack Morris
6e9dd74654 rename recipes (tests pass) 2020-05-06 10:26:01 -04:00
Jack Morris
bd57fa642f add validator and do each step in 1 backwards pass 2020-05-05 14:28:48 -04:00
Jack Morris
0b400f3330 hotflip not registering hook 2020-05-05 12:25:58 -04:00
Jack Morris
aaf21a85e6 organize into white-box and black-box transformations. tests pass 2020-05-05 11:21:20 -04:00
Jack Morris
2c91f7ee93 display table in w&b log 2020-05-04 20:42:03 -04:00
Jack Morris
ac797c8840 AttackLogger --> AttackLogManager; add W&B logging 2020-05-04 14:21:05 -04:00
Jack Morris
0b92eaf22a remove build files 2020-05-02 21:01:50 -04:00
Jack Morris
b26ed34224 merge in attack-results-take-goal-functions 2020-05-01 21:40:43 -04:00
Jack Morris
827e1d9345 Merge branch 'master' of github.com:QData/TextAttack into pypi 2020-05-01 21:39:22 -04:00
Jack Morris
160429062b PR fixes 2020-05-01 21:38:50 -04:00
Jack Morris
553795bd89 move scripts/ and add __main__ entry point 2020-05-01 11:26:38 -04:00
Jack Morris
afeb57667c prepare textattack for pypi 2020-05-01 11:02:13 -04:00
Jack Morris
e8b021c6a0 merge in goal-function-attack-result changes 2020-04-29 14:49:58 -04:00
Jack Morris
0403acc479 finish changing to make AttackResult take a pair of GoalFunctionResult objects 2020-04-28 15:47:51 -04:00
Jack Morris
6a9b9c6118 Make AttackResult take two GoalFunctionResults as its arguments 2020-04-28 14:15:20 -04:00
Jack Morris
8b3bb4a65e create NonOverlappingOutput goal function and reorganize things 2020-04-26 20:51:14 -04:00
Jack Morris
6d225c3345 add tokenizers & models for text2text, init goal function & validators 2020-04-26 18:53:59 -04:00
uvafan
1ca44a2a5d word deletion option 2020-04-02 22:41:03 -04:00
Jack Morris
8fc363bcb2 print attacks from command line 2020-03-25 13:42:04 -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
373b3a43cc catch and display errors in run_attack_parallel 2020-02-09 10:36:27 -05:00
Jack Morris
eb13d0a982 Merge pull request #57 from UVA-MachineLearningBioinformatics/support-concurrent-downloads
File Locks: prevent multiple concurrent downloads of the same file in parallel mode
2020-02-07 17:06:19 -05:00
Jack Morris
f25c3e3d3d Merge pull request #55 from UVA-MachineLearningBioinformatics/composite-transformation
add CompositeTransformation for multiple concurrent transformations
2020-02-07 17:06:07 -05:00
Jack Morris
63b141c1b3 release file lock before removing temp file 2020-02-07 16:46:13 -05:00
Jack Morris
32e5596d34 add hash function to tokenizedtext and dedupe CompositeTransformation 2020-02-07 13:56:31 -05:00
Jack Morris
526e45f8d5 prevent multiple concurrent downloads of the same file in parallel mode using a file lock 2020-02-06 17:16:01 -05:00
Jack Morris
5bce3778d8 fix bug and change greedy to beam search with 1 2020-02-06 15:36:55 -05:00
Jack Morris
c16224d770 debug hidden tensor issue and delete extra tensors 2020-01-31 12:57:56 -05:00
Jack Morris
d82cb57d6d make recipes work, move config into root folder 2020-01-19 15:20:59 -05:00
Jack Morris
ad75e69b1b reorganize: scripts/ folder; shared/ folder; attack_methods/ instead of attack/; only take a single transformation as an argument 2020-01-19 14:25:30 -05:00
Jack Morris
c7956b804e reorganize and move search to their own folder 2020-01-18 17:05:35 -05:00