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

1763 Commits

Author SHA1 Message Date
Yanjun Qi
dfe26b63c4 Update conf.py 2020-10-24 12:19:29 -04:00
Yanjun Qi
0c95966716 Update conf.py
black conf.py
2020-10-24 12:10:56 -04:00
Yanjun Qi
74bc5c0013 add sphinx autodoc generated 2020-10-24 11:53:44 -04:00
Yanjun Qi / Jane
beac247faa Merge pull request #314 from tahmid-kazi/patch-1
small typo in the Update 0_End_to_End.ipynb (3 epochs not 5)
2020-10-23 21:18:28 -04:00
Tahmid Kazi
8c726d1e83 Update 0_End_to_End.ipynb 2020-10-23 09:07:15 -04:00
Jack Morris
cc6f9af25d Merge pull request #309 from QData/fix-pso
fix pso to work with budget query
2020-10-21 20:56:19 -04:00
Jin Yong Yoo
09d5f1c2e7 fix pso to work with budget query 2020-10-21 16:36:46 -04:00
Jack Morris
ecc010de65 Merge pull request #306 from QData/augmenter-instruction
Update README -- how to customize augmenter
2020-10-19 09:16:42 -04:00
Hanyu-Liu-123
6737a4ee18 Update README -- how to customize augmenter
One of our users asked in the question panel about how to create his own augmenter in python. This is actually very useful and pretty easy to do with just a few lines of code.
2020-10-19 00:33:55 -04:00
Jack Morris
5a2f7b3bd5 Merge pull request #298 from QData/new-augmenter
New augmenter
2020-10-18 22:24:06 -04:00
Yanjun Qi / Jane
9b120b6253 Merge pull request #305 from QData/Update-Transformation-Docs
Update transformation.rst
2020-10-18 12:14:42 -04:00
Hanyu Liu
0e10c10a9f Formating Change 2020-10-18 02:32:34 -04:00
Hanyu Liu
4420daf15e Update test_misc.py 2020-10-18 02:31:47 -04:00
Hanyu-Liu-123
6b40544a5b Update transformation.rst 2020-10-18 02:30:55 -04:00
Hanyu Liu
9b2fc8df24 more tests 2020-10-18 02:09:09 -04:00
Hanyu Liu
f3557c4180 updates 2020-10-18 01:45:10 -04:00
Jin Yong Yoo
7abd27cec7 Merge pull request #304 from QData/add_import_for_colab
add necessary import statements in colab notebooks
2020-10-17 12:31:41 -04:00
Yanjun Qi
2cb37c9f60 Update datasets.rst 2020-10-17 12:11:16 -04:00
Yanjun Qi
0728a779a6 Merge branch 'master' of https://github.com/QData/TextAttack 2020-10-17 10:51:18 -04:00
Yanjun Qi
a07171a6d9 add support content in doc 2020-10-17 10:51:16 -04:00
Jin Yong Yoo
63ad70cf17 Merge pull request #297 from k-ivey/cola-constraint
Add a CoLA based constraint
2020-10-17 01:50:34 -04:00
Yanjun Qi
352ab99e6f remove the wrong link in api/index.rst 2020-10-16 19:09:16 -04:00
Yanjun Qi
7e38ee28fd add in the TextAttackDataset API in doc 2020-10-16 18:50:11 -04:00
k-ivey
5d892ce54c Reformat CoLA threshold logic 2020-10-16 18:01:23 -04:00
k-ivey
c9b1bcabdd Add CoLA based constraint
Added a constraint that uses a model pre-trained on the CoLA dataset to check that the attacked text has a certain number of linguistically acceptable sentences as compared to the reference text
2020-10-16 17:15:03 -04:00
MintForever
4ffa618be3 add necessary import statements in colab notebooks 2020-10-14 00:01:12 -04:00
Jack Morris
67e03ac3c0 Merge pull request #301 from madaan/patch-1
Fix typo in README.md
2020-10-13 17:34:42 -04:00
Aman Madaan
c8e7da9213 Fix typo in README.md
The sample augmentation command currently uses ``--pct-words-to-swap 4``, which will trigger ``AssertionError: pct_words_to_swap must be in [0., 1.]''.
This commit fixes it to .1 as intended.
2020-10-13 17:10:33 -04:00
Jin Yong Yoo
55cb0710bf Update README.md
Add CLARE to list of papers in README
2020-10-13 14:18:53 -04:00
Jin Yong Yoo
4627f210c6 Merge pull request #299 from FlorianO/adding-multilingual-universal-sentence-encoder-to-constraints
Added a new constraint MultilingualUniversalSentenceEncoder
2020-10-11 20:48:29 -04:00
Florian Over
1505015ff5 Added noqa: F401 for unused import 2020-10-11 23:51:08 +02:00
Florian Over
e7a8dec4b5 Fixed formatting 2020-10-11 23:50:32 +02:00
Florian Over
aacd8b675f Imported tensorflow_text so the KeyError: 'SentencepieceOp' will not occur 2020-10-11 23:47:42 +02:00
Florian Over
d5b3e4b7c1 Fixed init file 2020-10-11 23:46:28 +02:00
Florian Over
e257ed8146 Refactored Multilingual Universal Sentence Encoders from a separate folder to the folder of Universal Sentence Encoder 2020-10-11 23:32:06 +02:00
Florian Over
d715a3abcb Removed unused import 2020-10-11 22:43:20 +02:00
Florian Over
c6b9b9c280 Fixed the formatting for the init files 2020-10-11 22:39:31 +02:00
Florian Over
8c777d60dc Added missing import tensorflow_text 2020-10-11 22:15:14 +02:00
Florian Over
a55fa39dc2 Added tensorflow_text as requirement for multilingual universal sentence encoders 2020-10-11 22:14:08 +02:00
Florian Over
97b67b0d21 Fixed the incorrect inits 2020-10-11 22:06:21 +02:00
Florian Over
fcc066b089 Fixed formating 2020-10-11 21:43:07 +02:00
Florian Over
0e0c25e887 Added documentation for multilingual universal sentence encoder 2020-10-11 21:39:57 +02:00
Florian Over
1aa8bac7ba Added a new Constrain MultilingualUniversalSentenceEncoder 2020-10-11 21:13:14 +02:00
Yanjun Qi
98dc6eef60 Update index.rst 2020-10-09 15:57:47 -04:00
Yanjun Qi
7004f96132 group API reference docs into one Giant folder 2020-10-09 14:07:46 -04:00
Hanyu Liu
8351959c3e clean up 2020-10-09 01:49:01 -04:00
Jack Morris
bb009c70f9 push version 0.2.11 2020-10-07 14:55:47 -04:00
Jack Morris
1846a875e9 update Slack link 2020-10-07 14:50:28 -04:00
Hanyu Liu
90bfe90e83 better presentation 2020-10-07 02:41:59 -04:00
Hanyu Liu
22f36b594c added helpful interative function 2020-10-07 02:27:03 -04:00