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

2243 Commits

Author SHA1 Message Date
Yanjun Qi / Jane
907ec46556 Merge pull request #539 from QData/fix-'textattack'-has-no-attribute-'shared'-bug
Fix logger initiation bug
2021-10-12 11:37:03 -04:00
Yanjun Qi / Jane
3f0d5290be Merge pull request #543 from QData/doc-minor
add custom dataset API use example in doc
2021-10-08 10:39:03 -04:00
Yanjun Qi
42d019262e add custom dataset API use example in doc 2021-10-08 10:37:32 -04:00
Hanyu Liu
fb6a04e10b Update trainer.py 2021-10-05 19:20:54 -04:00
Hanyu Liu
ba68897975 Update trainer.py 2021-10-05 18:47:36 -04:00
Hanyu Liu
841f47580b Update trainer.py 2021-10-05 18:39:00 -04:00
Hanyu Liu
9b089994a1 Update trainer.py 2021-10-05 18:35:17 -04:00
Yanjun Qi / Jane
caacc1c8a7 Merge pull request #533 from QData/fix-dataset-split-bug
Fix dataset-split bug
2021-10-05 16:56:59 -04:00
Yanjun Qi / Jane
0f6401d08a Merge pull request #535 from QData/install-doc-minor
Update installation.md to add FAQ on installation
2021-10-01 08:16:40 -04:00
Yanjun Qi
748990a362 Update installation.md 2021-10-01 08:13:08 -04:00
Hanyu Liu
9ba7d9c1ca fix format 2021-09-30 23:42:17 -04:00
Hanyu Liu
014af17184 Update dataset_args.py 2021-09-30 23:11:04 -04:00
Yanjun Qi / Jane
7d2de08771 Merge pull request #514 from QData/metric-module
New metric module to improve flexibility and  intuitiveness - moved from #475
2021-09-29 16:41:03 -04:00
Yanjun Qi
fa9817af5d fix docstring issues.. 2021-09-29 15:50:57 -04:00
Jack Morris
e7a824e6a7 Merge pull request #521 from dangne/master
Fix a bug when running textattack eval with --num-examples=-1
2021-09-24 11:29:14 -04:00
Jack Morris
cdfcba45b8 Merge pull request #509 from wenh06/master
Fix incorrect `__eq__` method of `AttackedText` in `textattack/shared/attacked_text.py`
2021-09-22 19:55:45 -04:00
Yanjun Qi
2d7daa61de black format fix 2021-09-22 14:39:50 -04:00
WEN Hao
2c5dc2c12c Merge branch 'wenh06' 2021-09-22 15:02:19 +08:00
WEN Hao
30a5ead36c fix typos in _text_index_of_word_index of AttackedText 2021-09-22 15:01:59 +08:00
WEN Hao
a857fde878 Merge branch 'master' into wenh06 2021-09-22 10:41:36 +08:00
WEN Hao
d7afffca52 fix bugs in the method _text_index_of_word_index in the class AttackedText #526 2021-09-22 10:41:17 +08:00
WEN Hao
b3530d954b Merge remote-tracking branch 'upstream/master' 2021-09-22 10:34:17 +08:00
sanchit97
f1ef471ea8 [FIX] Fix perplexity escape seq 2021-09-16 19:53:16 -04:00
sanchit97
3e2b16f344 [FIX] Fix perplexity precision 2021-09-16 18:05:01 -04:00
Yanjun Qi / Jane
983769d2ea Merge pull request #523 from QData/a2t
Add new attack recipe A2T
2021-09-12 18:21:26 -04:00
Jin Yong Yoo
53be760e0b [CODE] Add new attack recipe A2T 2021-09-11 23:07:24 -04:00
WEN Hao
630d5b55ce fix typos 2021-09-11 11:16:27 +08:00
WEN Hao
fc313f4be2 update the close method of CSVLogger
there's no member fout in the CSVLogger, and there's no fout assigned to instances of CSVLogger elsewhere in Textattack
2021-09-11 11:15:33 +08:00
WEN Hao
ac06346ff5 fix typos 2021-09-11 11:05:57 +08:00
Yanjun Qi / Jane
6e704871e8 Merge pull request #522 from QData/doc-fix
readtheDoc fix
2021-09-10 14:12:20 -04:00
Yanjun Qi
b66bb926ee Update requirements.txt 2021-09-10 14:02:07 -04:00
Yanjun Qi
7266c1899e Update index.rst 2021-09-10 11:41:51 -04:00
Yanjun Qi
9482ed0948 correct synt error in command for optional installation 2021-09-10 11:37:26 -04:00
sanchit97
eab1cd06d3 [CODE] Fix black 2021-09-10 10:52:54 -04:00
sanchit97
d44a54c787 [CODE] Fix print 2021-09-10 10:48:04 -04:00
sanchit97
aa1ad15798 [CODE] Add new docs 2021-09-10 10:46:45 -04:00
sanchit97
b5a120987f [CODE] Add new help msg 2021-09-10 02:54:38 -04:00
sanchit97
aab7eec818 [CODE] Fix isort on use 2021-09-10 02:45:35 -04:00
sanchit97
559057e068 [CODE] Fix black on use 2021-09-10 02:38:55 -04:00
sanchit97
32c3e43adc [CODE] Fix metrics, add tests 2021-09-10 02:33:50 -04:00
Dang Minh Nguyen
19148ea9cc Fix a bug
Fix a bug when running `textattack eval` with `--num-examples -1` in CLI.
2021-09-09 01:12:50 +07:00
Yanjun Qi
1c00a8e78f Update overview.png 2021-09-03 14:33:52 -04:00
Yanjun Qi
7bfddaae65 update tensorflow-estimator version to solve read-the-doc compile fail 2021-09-03 14:27:08 -04:00
Yanjun Qi / Jane
9c7515838d Merge pull request #520 from QData/Add-textattack-highlevel-overview-diagram
update overview.png
2021-09-03 12:50:04 -04:00
Yanjun Qi
e3ccf508c7 update overview.png 2021-09-03 12:48:28 -04:00
Yanjun Qi / Jane
8181de0b2d Merge pull request #519 from QData/Add-textattack-highlevel-overview-diagram
Add a high level overview diagram to docs
2021-09-03 12:43:49 -04:00
Yanjun Qi
9e99e90d3d clean up overview pdf to png and add into two docs 2021-09-03 12:42:29 -04:00
Yanjun Qi
fb66f8efee Create overview.png
and add into proper docs
2021-09-03 12:41:52 -04:00
WEN Hao
b88fbdb08f Merge branch 'QData:master' into master 2021-09-03 14:55:50 +08:00
diegoc
0af3d6c872 Fixes to visual bug
fixes a visual bug where textboxes aren't properly outlined.
2021-09-02 23:35:57 -04:00