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

150 Commits

Author SHA1 Message Date
Yanjun Qi
993d49e90b connect Readme.md in model folder to https://textattack.readthedocs.io/en/latest/3recipes/models.html 2020-11-18 15:37:51 -05:00
Jin Yong Yoo
8dad54a145 fix test outputs and bugs 2020-11-01 16:16:55 -05:00
Jin Yong Yoo
866301ba08 fix bugs and revise word to token matching scheme 2020-11-01 14:02:00 -05:00
Jin Yong Yoo
6273b19c19 make WordSwapGradientBased work with get_grad 2020-11-01 00:58:16 -04:00
Jin Yong Yoo
3ffd776b63 add get_grad method 2020-11-01 00:58:16 -04:00
Jin Yong Yoo
21496460fe add embedding layer retrieval to models 2020-11-01 00:58:15 -04: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
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
Jin Yong Yoo
428b19a511 change all mentions of nlp to datasets 2020-09-28 22:37:21 -04:00
Jack Morris
af7f31d265 update black formatting 2020-08-30 15:25:56 -04:00
Jack Morris
d292f3ee13 update docs & fix t5 tokenizer 2020-08-20 11:19:15 -04:00
Jack Morris
5c1d03bdfa Merge branch 'master' of github.com:QData/TextAttack into gpu-alloc 2020-08-18 12:25:28 -04:00
Jack Morris
1f985a27d0 add French attack example 2020-08-18 10:17:28 -04:00
Jack Morris
37138a6183 model wrappers: pass tensors directly to model device 2020-08-17 18:58:22 -04:00
Jack Morris
17415b6820 0.2.6: fix AutoTokenizer default 2020-08-17 17:09:58 -04:00
Jack Morris
0511da8366 fix device issue w gpus 2020-08-17 16:49:13 -04:00
Jack Morris
7a2fde1520 v0.2.5: tokenizer fixes 2020-08-17 16:15:46 -04:00
Jack Morris
15bd6bd3e0 linting 2020-08-01 21:07:10 -04:00
Jack Morris
1c9dc3630d fix formatting 2020-08-01 09:55:36 -04:00
Jack Morris
b0f473685d examples for tensorflow and sklearn 2020-07-31 15:35:03 -04:00
Jack Morris
024369f5f4 PR updates 2020-07-28 14:49:50 -04:00
Jack Morris
618e815eea update model training code 2020-07-27 10:40:19 -04:00
Jack Morris
29432d88c8 fix hotflip & model wrappers 2020-07-26 15:56:36 -04:00
Jack Morris
e6d671e918 remove dead imports; model wrappers work 2020-07-26 13:57:27 -04:00
Jack Morris
e63ffa921b update f-string placeholders 2020-07-12 23:12:39 -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
jakegrigsby
185c17eb77 set emb_layer grad back to original flag (fix #209) 2020-07-12 16:05:09 -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
45409f5a95 alz print-step fix 2020-07-08 11:50:35 -04:00
Jack Morris
7e3b90e979 fix multilabel load for pre-trained lstm/cnn; add benchmarked results for MR 2020-07-07 21:16:39 -04:00
Jack Morris
c0a3a734d8 adding AG News models 2020-07-07 20:45:51 -04:00
Jack Morris
0c91cd9512 update models readme; merge 2020-07-06 16:51:22 -04:00
Jack Morris
71f98a6b84 Merge branch 'master' of github.com:QData/TextAttack into lots-of-models 2020-07-06 16:51:10 -04:00
Jack Morris
718a74b036 update eval and add models README 2020-07-06 16:37:33 -04:00
jind11
f72f49d5db make embedding layer default to be trainable 2020-07-05 22:19:33 -04:00
Jack Morris
58cada77d5 isort updates 2020-07-05 21:51:53 -04:00
jind11
4076469962 changed the argument of enable_padding after upgrading tokenizers 2020-07-04 21:41:38 -04:00
jind11
f28efb0825 Merge branch 'master' of https://github.com/QData/TextAttack into model-training 2020-07-04 21:32:29 -04:00
jind11
d7476b30ad refine model training code 2020-07-04 21:17:57 -04:00
Jack Morris
9b9b704a9e merge in master and fix syntax errors 2020-07-03 16:01:19 -04:00
Jack Morris
ae4d91ab3f fix tokenizers truncation warnings 2020-07-01 00:48:56 -04:00
Jack Morris
94a98f59e5 nlp summarization with gigaword 2020-06-30 19:00:51 -04:00
Jack Morris
46b0f38967 remove dead code; update T5 2020-06-30 17:47:12 -04:00
Jack Morris
7194037380 update for transformers 3.x + tokenizers update 2020-06-29 11:46:41 -04:00
Jack Morris
b928840bb5 fix BERT encode_batch special tokens 2020-06-26 12:26:01 -04:00