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

165 Commits

Author SHA1 Message Date
uvafan
b30fdcd1da merge with master 2020-06-28 20:43:07 -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
Jack Morris
462620e074 trimming the fat; removing excess stuff; changing names 2020-06-18 11:12:36 -04:00
Jack Morris
90e6872eb4 ugly merge with recent master 2020-06-17 21:45:50 -04:00
Jack Morris
d6e90065c2 format pre-merge 2020-06-17 19:47:33 -04:00
Jack Morris
4d74aa5316 adding models; refactoring to use nlp datasets where possible 2020-06-17 19:39:56 -04:00
Jack Morris
2bbd06b0c2 merge in master & delete flaky test 2020-06-17 18:01:51 -04:00
Jack Morris
40b5640381 method for word insertion & additional tests 2020-06-17 17:43:42 -04:00
Jack Morris
dddf722aa3 support multiple workers on travis 2020-06-17 14:18:53 -04:00
Jin Yong Yoo
466ef97ade make requested changes 2020-06-17 10:07:05 -04:00
Jin Yong Yoo
83b7fae8b2 resolve merge conflicts 2020-06-17 00:33:30 -04:00
Jack Morris
f0ad52e219 attacked_text tests 2020-06-17 00:33:14 -04:00
Jack Morris
a8418f8f75 update tokenizers 2020-06-16 23:52:03 -04:00
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
Jin Yong Yoo
b53206634b modify shuffle, fix worklist 2020-06-16 13:30:55 -04:00
Jin Yong Yoo
686ae84909 resolve merge conflicts 2020-06-16 07:48:04 -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
ca535eb08e adding SST cnn 2020-06-15 20:10:45 -04:00
Jack Morris
e93f456d07 reformatting 2020-06-15 19:41: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
c4329985a0 working on SST models and parallel memory issue 2020-06-15 13:55:07 -04:00
Jack Morris
8acf7aa728 PR updates [Tests pass] 2020-06-11 17:49:34 -04:00
Jack Morris
f0ff005fbb fix merge with parse_attack/goal_function issue; tests pass 2020-06-11 13:00:27 -04:00
Jack Morris
3da7acf0df merge [Tests pass] 2020-06-10 23:52:59 -04:00