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
ebbb81ffb9 update tests to include numbers in words 2020-07-01 15:18:04 -04:00
Jack Morris
dafd251614 fix *all* docs errors, merge in score functions branch, update github runners 2020-07-01 13:26:27 -04:00
Jack Morris
2ea9b06a0f merge 2020-07-01 11:59:47 -04:00
uvafan
7e9f3ece13 merge with master 2020-07-01 00:56:33 -04:00
Jack Morris
6f7af674e2 Merge branch 'master' of github.com:QData/TextAttack into word-delimiters 2020-06-30 21:56:34 -04:00
Jack Morris
c3189709e5 Merge pull request #176 from QData/t5
restore t5 seq2seq models
2020-06-30 19:44:24 -04:00
Jack Morris
46b0f38967 remove dead code; update T5 2020-06-30 17:47:12 -04:00
Jack Morris
fc30840e80 Merge branch 'master' of github.com:QData/TextAttack into label-constraints 2020-06-30 13:21:54 -04:00
Jin Yong Yoo
9310719694 WIP: fix bugs and create ABC for models 2020-06-30 13:09:24 -04:00
Jin Yong Yoo
769f160fa0 change args to reference_text 2020-06-30 10:48:10 -04:00
Jin Yong Yoo
7651e2738c Merge branch 'master' into fix-genetic 2020-06-30 02:38:21 -04:00
uvafan
6651c7482a add input reduction 2020-06-30 00:16:58 -04:00
uvafan
2c9e484173 Merge branch 'master' into goal-function-updates 2020-06-29 22:34:06 -04:00
Jack Morris
3da7e5cfdb Merge pull request #172 from QData/eda
Easy Data Augmentation
2020-06-29 20:42:32 -04:00
Jack Morris
7427865517 update tests for ' and - 2020-06-29 20:31:14 -04:00
jakegrigsby
c88798073b eda tests passing 2020-06-29 19:02:29 -04:00
jakegrigsby
1acd494a3a eda (WIP) 2020-06-29 17:58:30 -04:00
jakegrigsby
01a639515b fix isort changes 2020-06-29 12:30:01 -04:00
jakegrigsby
1ce3750996 pwws docs 2020-06-29 12:23:19 -04:00
Jin Yong Yoo
555f77b463 better solution for selecting gpu device 2020-06-29 10:36:11 -04:00
Jin Yong Yoo
d4c7030328 update genetic algorithm 2020-06-29 05:14:12 -04:00
Jack Morris
e394d818be optionally only change hypothesis in entailment 2020-06-29 00:21:08 -04:00
uvafan
54632c3c7b format and finish merge 2020-06-28 21:07:28 -04:00
uvafan
b30fdcd1da merge with master 2020-06-28 20:43:07 -04:00
Jin Yong Yoo
36b52608b2 fix crossover constraint checking 2020-06-28 12:03:36 -04:00
Jack Morris
8268b42d84 Merge pull request #156 from QData/mr-transformers
new word-level tokenizer - and remove SpaCy!
2020-06-26 11:14:10 -04:00
Jack Morris
b6eed3dd08 update tests 2020-06-25 22:54:01 -04:00
Jack Morris
af2541cf2b remove spacy; add 3 MR models 2020-06-25 22:26:12 -04:00
Jin Yong Yoo
7a3e900507 wacky way to fix gpu issue 2020-06-25 13:07:10 -04:00
Jack Morris
906bbec918 Merge branch 'master' of github.com:QData/TextAttack into train-end-to-end 2020-06-24 18:01:39 -04:00
Jack Morris
7c6eefd795 update tests for new output format 2020-06-24 18:01:30 -04:00
Jack Morris
70a254e157 Merge branch 'master' into train 2020-06-24 16:43:41 -04:00
Jack Morris
a046e0e864 automatically make cache dir (instead of throwing an error) 2020-06-24 11:02:24 -04:00
Jack Morris
4b2cb255cb update and pass tests 2020-06-24 00:58:27 -04:00
uvafan
0fcfb51b7f allow maximization goal functions 2020-06-23 23:33:48 -04:00
Jack Morris
4db4999186 remove pyyaml as a dependency 2020-06-23 23:13:02 -04:00
Jack Morris
a10b228849 throw error for nonexistent cache dir 2020-06-23 23:11:15 -04:00
Jack Morris
2d98ce0114 smart cache dir, synchronous post-install hook, better constraint caching 2020-06-23 22:35:00 -04:00
Jack Morris
a296683dd0 Merge branch 'master' of github.com:QData/TextAttack into show-label-confidence-score 2020-06-22 04:44:36 -04:00
Jack Morris
ff96d5f3dc color output and show label nd confidence score 2020-06-21 16:38:15 -04:00
Jin Yong (Jeffrey) Yoo
ca016aee2c Update checkpoint.py 2020-06-22 03:40:04 +09:00
Jack Morris
6b8edfa4f9 support training for entailment and fix test 2020-06-20 23:01:55 -04:00
Jack Morris
7bdc6e457b add list and augment functionality + tests 2020-06-20 15:04:45 -04:00
Jack Morris
8dcc0805b3 add commands module, python -m textattack works! 2020-06-20 11:30:20 -04:00
Jack Morris
d2c115d3c8 textattack/commands 2020-06-19 16:48:59 -04:00
Jack Morris
324c9b99fd remove snli and update tests for good tokenizer 2020-06-19 14:48:05 -04:00
Jack Morris
070a4902d5 update tests with new data, speed up LSTM load times 10x 2020-06-19 12:39:07 -04:00
Jack Morris
c16675ad4e update args for nlp, add sst models to our model hub 2020-06-18 20:49:30 -04:00
Jack Morris
f3a4accdc4 merge in tokenized-text-refactor 2020-06-18 16:33:06 -04:00
Jack Morris
b27abe3fac update output format & PR fixes 2020-06-18 14:33:16 -04:00