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

88 Commits

Author SHA1 Message Date
Yanjun Qi
0adaa2bdba add FAQ.md / fix docstring error / add links to two other textAttack Github sites 2020-11-17 13:21:30 -05:00
Jack Morris
fb6088f39a Merge pull request #329 from a1noack/new_goal_fcns
turn unknown goal function error into a logger warning
2020-11-09 10:38:57 -05:00
Jin Yong Yoo
acbc6c0276 update compatibility check with current modules 2020-11-08 17:47:18 -05:00
Jin Yong Yoo
866301ba08 fix bugs and revise word to token matching scheme 2020-11-01 14:02:00 -05:00
Yanjun Qi
96a0360567 remove the old API docs
I have updated (almost) all code files' head docstring by adding text from the old API rst files. So we really don't need those files under 3import.

The only exception is for the attack recipe . So I keep that as a single item in the sidebar

Besides, I just did a comprehensive clean up of all URLs by using the :ref:
2020-10-29 11:05:01 -04:00
Yanjun Qi
887dca1307 Update minimize_bleu.py
with black
2020-10-26 13:14:51 -04:00
Yanjun Qi
b998e0f654 correct docstring style erors 2020-10-26 13:04:42 -04: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
Jack Morris
6cd3a2d9a5 parallel fix; add --check-robustness training option 2020-08-04 13:49:20 -04:00
Jack Morris
89f1724ed4 f-string 2020-07-29 15:09:48 -04:00
Jack Morris
618e815eea update model training code 2020-07-27 10:40:19 -04:00
Jack Morris
e6d671e918 remove dead imports; model wrappers work 2020-07-26 13:57:27 -04:00
Jin Yong Yoo
cdd9061cb4 add cache clearing 2020-07-22 04:42:44 -04:00
Jack Morris
f9eff53df4 PR updates 2020-07-13 20:14:54 -04:00
Jack Morris
15bdf7a5c5 flake 8 auto formatting 2020-07-13 11:17:43 -04:00
Jack Morris
39e2a3663a Merge branch 'master' of github.com:QData/TextAttack into morpheus 2020-07-13 01:08:41 -04:00
Jack Morris
9b48469f1a add MORPHEUS recipe 2020-07-13 01:08:38 -04:00
Jack Morris
576876257f merge and format 2020-07-12 20:40:22 -04:00
Jack Morris
3853928a44 remove dead imports 2020-07-12 19:07:41 -04:00
Jack Morris
e937e01531 explicit eval mode + formatting 2020-07-12 16:39:10 -04:00
Hanyu Liu
700d26f4ce Flake8 Fix with 'make format' 2020-07-11 01:01:22 -04:00
Hanyu Liu
4f8b227ef9 Reformatting-try2 2020-07-10 21:49:20 -04:00
Hanyu Liu
974061c0aa Reformatting-try1 2020-07-10 19:21:02 -04:00
Jack Morris
80b9a6e7e7 fix parallel worklist issue & increase model cache size 2020-07-10 09:42:01 -04:00
Jack Morris
d36c80b114 add iga docs + update tests 2020-07-09 10:06:09 -04:00
Jack Morris
407cf8cb3d update abstract methods 2020-07-03 16:17:47 -04:00
Jack Morris
9b9b704a9e merge in master and fix syntax errors 2020-07-03 16:01:19 -04:00
Jack Morris
4297e3f411 Merge branch 'master' of github.com:QData/TextAttack into word-delimiters 2020-07-01 22:18:29 -04:00
uvafan
0fc4c9995b formatting 2020-07-01 21:30:08 -04:00
uvafan
0430055c1c make review fixes 2020-07-01 21:23:07 -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
uvafan
b876bb2aaa remove print 2020-06-30 00:21:56 -04:00
uvafan
6651c7482a add input reduction 2020-06-30 00:16:58 -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
uvafan
0fcfb51b7f allow maximization goal functions 2020-06-23 23:33:48 -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
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
3da7acf0df merge [Tests pass] 2020-06-10 23:52:59 -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
uvafan
298518afca discussed fixes 2020-06-05 18:22:48 -04:00