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

44 Commits

Author SHA1 Message Date
Jack Morris
9b9b704a9e merge in master and fix syntax errors 2020-07-03 16:01:19 -04:00
Jack Morris
09502e4f8c update github runner; setup ignore examples/* 2020-07-01 22:37:24 -04:00
Jack Morris
ebbb81ffb9 update tests to include numbers in words 2020-07-01 15:18:04 -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
46b0f38967 remove dead code; update T5 2020-06-30 17:47:12 -04:00
Jack Morris
7427865517 update tests for ' and - 2020-06-29 20:31:14 -04:00
Jin Yong Yoo
555f77b463 better solution for selecting gpu device 2020-06-29 10:36:11 -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
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
ff96d5f3dc color output and show label nd confidence score 2020-06-21 16:38:15 -04: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
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
d6e90065c2 format pre-merge 2020-06-17 19:47:33 -04:00
Jack Morris
dddf722aa3 support multiple workers on travis 2020-06-17 14:18:53 -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
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
889954aaa9 test huggingface models; test attack from file; remove old files 2020-06-10 15:34:52 -04:00
Jack Morris
8b924362a5 standardize tokenization 2020-06-10 10:16:11 -04:00
Jack Morris
824cd9be8e figured out huggingface tokenizers for benchmarking, now integrating into attack 2020-06-09 17:30:18 -04:00
Jack Morris
719514645c good inference; problems with xlnet & roberta mnli 2020-06-09 16:37:10 -04:00
Jack Morris
753d429629 diagnosing tokenization discrepancies 2020-06-09 16:08:32 -04:00
Jack Morris
f4d7ba0f1a add --attack-from-file, unify tokenizers, add models from huggingface model hub [still need to verify acc] 2020-06-07 15:12:02 -04:00
Jack Morris
62d3a1070c README; get_logger()->logger 2020-06-05 20:12:14 -04:00
Jack Morris
721a88978a pretrained & file models/datasets; tests; get_logger() -> logger 2020-06-05 19:06:22 -04:00
Jack Morris
b6dd920c08 support custom models; waiting on datasets integration 2020-06-05 17:35:52 -04:00