Jin Yong Yoo
ef3c2e2bca
update pos tagging in AttackedText
2020-11-19 16:49:24 -05:00
Jin Yong Yoo
0fad7f1c2a
fix readthedocs module load
2020-11-14 13:20:36 -05:00
Jin Yong Yoo
b148bd2818
fix bugs
2020-11-10 21:45:38 -05:00
Jin Yong Yoo
e6786b6bd7
revert changes and fix circular imports
2020-10-30 16:58:39 -04:00
Jin Yong Yoo
3458a2b6c2
rebase and formatting
2020-10-30 13:02:55 -04:00
Jin Yong Yoo
7dcf27d7bd
add lazy loading
2020-10-30 12:17:52 -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
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
Yanjun Qi
fc7d5294d9
move documents from semi-automated rst files to correct code positions
2020-10-25 11:53:41 -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
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
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
Jin Yong Yoo
224d788d3e
have flair use textattack tokenization method
2020-10-06 14:08:07 -04:00
k-ivey
f079faa61e
Add stanza support for part-of-speech constraint
2020-10-01 20:20:23 -04:00
Jack Morris
e654dde2af
remove bert_score warning catching, update bert_score dependency
2020-09-01 13:38:56 -04:00
Jack Morris
4d2585e608
flair workaround
2020-09-01 12:33:17 -04:00
Jack Morris
e47e34ebe1
update flair version & centralize POS tagging
2020-08-31 20:54:03 -04:00
Jin Yong Yoo
4baf44607e
merge master and resolve conflicts
2020-08-21 18:05:04 -04:00
Jack Morris
15bd6bd3e0
linting
2020-08-01 21:07:10 -04:00
Jack Morris
f9ead09a82
remove nb warnings
2020-08-01 21:05:29 -04:00
Jin Yong Yoo
4ba7fac789
merge from master
2020-07-31 09:34:25 -04:00
Jack Morris
81ceab3352
Merge pull request #230 from QData/hotflip-fix
...
fix hotflip word embedding download
2020-07-29 17:30:49 -04:00
Jack Morris
4e45ec4da3
fix hotflip word embedding download
2020-07-29 15:49:58 -04:00
Jack Morris
e6d671e918
remove dead imports; model wrappers work
2020-07-26 13:57:27 -04:00
Jin Yong Yoo
9d3c068db4
clear transformation cache
2020-07-25 09:00:39 -04:00
Jin Yong Yoo
5a8d74d288
refactor pso and transformation caching
2020-07-25 08:57:52 -04:00
Jin Yong Yoo
cdd9061cb4
add cache clearing
2020-07-22 04:42:44 -04:00
Jin Yong (Jeffrey) Yoo
fb6b0b1511
Update bert_score.py
2020-07-21 21:13:44 +09: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
Hanyu Liu
700d26f4ce
Flake8 Fix with 'make format'
2020-07-11 01:01:22 -04:00
Hanyu Liu
a6ee121ed3
Reformatting-try4
2020-07-11 00:36:26 -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
Hanyu Liu
18563814bd
Update sentence_encoder.py
2020-07-10 17:32:42 -04:00