Jin Yong Yoo
278bb33b58
Merge pull request #350 from a1noack/fix_query_count
...
fix model query count for all search methods
2020-11-22 00:29:45 -05:00
Adam Noack
fe5aa5cf41
fix query count for GoalFunctionResult returned by SearchMethod._perform_search
2020-11-20 22:20:11 -08:00
Jin Yong Yoo
ef3c2e2bca
update pos tagging in AttackedText
2020-11-19 16:49:24 -05:00
Jin Yong Yoo
2328b7f76c
Merge branch 'master' into lazy-loading
2020-11-10 19:21:17 -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
Adam Noack
6ccfaeaa63
turn unknown goal function error into a logger warning
2020-11-07 12:23:09 -08:00
Jack Morris
c04f8f4b2a
Merge pull request #292 from QData/gradient-support
...
Add model-agnostic gradient retreival + gradient-based GreedyWordWIR search
2020-11-06 18:16:35 -05:00
qc
e6f07eb4de
add comments
2020-11-06 14:21:08 -05:00
qc
5325ef633e
allow * and _ and @ in a word when tokenizing
2020-11-06 14:17:44 -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
4893d47e6c
add consistent is_black_box attributes
2020-11-01 00:58:17 -04:00
Jin Yong Yoo
bdbeae80d2
add gradient-based white-box search
2020-11-01 00:58:16 -04:00
Jin Yong Yoo
6273b19c19
make WordSwapGradientBased work with get_grad
2020-11-01 00:58:16 -04:00
Jin Yong Yoo
e2dd75001c
add install of stanza resource when package is present
2020-10-31 00:49:53 -04:00
Jin Yong Yoo
46ef3bcac5
fix github flow and import issues
2020-10-30 21:54:04 -04:00
Jin Yong Yoo
7a89aba559
make some dependencies optional
2020-10-30 17:31:00 -04: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
4478ad910b
remove unncessary future statements
2020-10-30 12:17:53 -04:00
Jin Yong Yoo
8d64e89a1f
formatting
2020-10-30 12:17:53 -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
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
Jin Yong Yoo
a131988988
change flair NER tokenization
2020-10-06 14:08:08 -04:00
Jin Yong Yoo
224d788d3e
have flair use textattack tokenization method
2020-10-06 14:08:07 -04:00
Jin Yong Yoo
685a8ac38a
Merge pull request #280 from QData/lxylinux
...
formatted the code
2020-10-02 14:56:50 -04:00
Jin Yong Yoo
8d038e1b6c
update documentation and fix attack on empty worklist
2020-10-02 14:07:23 -04:00
k-ivey
f079faa61e
Add stanza support for part-of-speech constraint
2020-10-01 20:20:23 -04:00
Jin Yong Yoo
428b19a511
change all mentions of nlp to datasets
2020-09-28 22:37:21 -04:00
Jack Morris
e2d91f0597
Merge branch 'master' of github.com:QData/TextAttack into INV-temp
2020-09-14 18:22:56 -04:00
Hanyu Liu
273605a5f7
reformatting
2020-09-14 12:45:58 -04:00
Hanyu Liu
5c53dfad21
Delete print statement
2020-09-14 11:54:02 -04:00
Hanyu Liu
9fa5874144
Improvements after Review
2020-09-14 10:40:21 -04:00
Jack Morris
1575566804
download word embedding in proper order
2020-09-11 13:27:21 -04:00
Jack Morris
f97475b98d
support custom word embedding
2020-09-11 12:24:51 -04:00
Hanyu Liu
1d8d772928
Formatting Issue
2020-09-10 14:26:52 -04:00
Hanyu Liu
7062355a3a
Flair ner to AttackedText
2020-09-09 19:37:55 -04:00
Hanyu-Liu-123
9d0a668210
Merge pull request #272 from QData/flair-tagger
...
Flair tagger
2020-09-09 11:04:10 -04:00
Jack Morris
2461c7be80
formatting
2020-09-01 13:24:01 -04:00
Jack Morris
f1f14de651
Merge branch 'INV-temp' of github.com:QData/TextAttack into INV-temp
2020-09-01 13:14:20 -04:00
Hanyu Liu
be16974b3b
Fix Attacked Text Bug
2020-09-01 13:10:53 -04:00
Jack Morris
8ea872245a
change data store location
2020-09-01 13:00:31 -04:00
Jack Morris
e47e34ebe1
update flair version & centralize POS tagging
2020-08-31 20:54:03 -04:00