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

35 Commits

Author SHA1 Message Date
Jin Yong Yoo
866301ba08 fix bugs and revise word to token matching scheme 2020-11-01 14:02:00 -05:00
Yanjun Qi
c78aa66980 fix all flake8 found whitespacing trailing issues 2020-10-26 08:18:55 -04:00
Yanjun Qi
23d0de6b43 clean up the docstring of each module and module content section 2020-10-25 23:15:07 -04:00
Yanjun Qi
2ea690bbc6 a major shift to rst files generated by sphinx-apidoc
major docstring clean up / plus reorganize the folder structure under docs
2020-10-25 20:21:43 -04:00
Hanyu Liu
4f8b227ef9 Reformatting-try2 2020-07-10 21:49:20 -04:00
Jack Morris
7e7d634f75 merge 2020-07-06 14:57:08 -04:00
Jack Morris
d2c115d3c8 textattack/commands 2020-06-19 16:48:59 -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
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
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
bd367e8299 add augmenter 2020-05-07 12:32:37 -04:00
Jack Morris
f140541560 add kuleshov recipe; rename attack_methods --> search_methods 2020-05-06 23:19:13 -04:00
Jack Morris
0b92eaf22a remove build files 2020-05-02 21:01: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
6adbb55b4d finish seq2sick and displaying text2text goal function outputs; put dataset on s3 2020-04-30 19:26:15 -04:00
Jack Morris
6d225c3345 add tokenizers & models for text2text, init goal function & validators 2020-04-26 18:53:59 -04:00
uvafan
93676fb503 working goal functions, not fully tested/integrated 2020-02-24 00:37:57 -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
Jack Morris
a2e3ec739c move tokenizer out of model class and fix some bugs 2019-11-29 16:53:00 -05:00
uvafan
d53d808daa update gitignore, add back imports 2019-11-25 14:31:43 -05:00
az4xfp
850877a0af Merge branch 'master' of https://github.com/UVA-MachineLearningBioinformatics/TextAttack into attack_result_vis
Conflicts:
	textattack/attacks/__init__.py
	textattack/models/classification/bert/bert_for_imdb_sentiment_classification.py
	textattack/models/classification/bert/bert_for_mr_sentiment_classification.py
	textattack/models/classification/bert/bert_for_yelp_sentiment_classification.py
	textattack/run_attack.py
	textattack/transformations/word_swap_embedding.py
2019-11-14 13:07:38 -05:00
Jack Morris
a096b7b210 fix args in word embeddings, support one-word prefix & suffix for LM, take args in recipes script 2019-11-13 21:04:07 -05:00
az4xfp
3bbc149e31 fixed visualization 2019-11-12 16:50:52 -05:00
Jack Morris
173bce9f94 internal logger and spacy tokenizer; add attack_recipes folder; script for benchmarking recipes 2019-11-11 12:46:19 -05:00
Jack Morris
392be1e5eb add recipes from papers 2019-11-10 22:10:15 -05:00
Jack Morris
a3308cd1fe model testing script & fix imports 2019-11-10 21:39:25 -05:00
Jack Morris
d9dcf27bbb Updated API methods but still need to edit GA code to check constraints 2019-10-25 12:45:35 -04:00
Jack Morris
e5b20725e3 make textattack package; make init sphinx documentation 2019-10-18 17:16:18 -04:00
Jack Morris
4a019373a2 restructure as a python package 2019-10-14 16:49:46 -04:00