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
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
866301ba08
fix bugs and revise word to token matching scheme
2020-11-01 14:02:00 -05:00
Jin Yong Yoo
bdbeae80d2
add gradient-based white-box search
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
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
b998e0f654
correct docstring style erors
2020-10-26 13:04:42 -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
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
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
Hanyu Liu
7062355a3a
Flair ner to AttackedText
2020-09-09 19:37:55 -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
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
Jin Yong Yoo
f691ede779
fix gpu allocation
2020-08-08 14:32:25 -04:00
Jack Morris
6cd3a2d9a5
parallel fix; add --check-robustness training option
2020-08-04 13:49:20 -04:00
Jin Yong Yoo
4ba7fac789
merge from master
2020-07-31 09:34:25 -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
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
Jack Morris
589113f82f
remove dead code
2020-07-24 14:16:28 -04:00
Jack Morris
e63ffa921b
update f-string placeholders
2020-07-12 23:12:39 -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
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
7e3b90e979
fix multilabel load for pre-trained lstm/cnn; add benchmarked results for MR
2020-07-07 21:16:39 -04:00
Jack Morris
9b9b704a9e
merge in master and fix syntax errors
2020-07-03 16:01:19 -04:00
Jack Morris
09502e4f8c
update github runner; setup ignore examples/*
2020-07-01 22:37:24 -04:00
Jack Morris
ebbb81ffb9
update tests to include numbers in words
2020-07-01 15:18:04 -04:00
Jack Morris
6f7af674e2
Merge branch 'master' of github.com:QData/TextAttack into word-delimiters
2020-06-30 21:56:34 -04:00
Jack Morris
46b0f38967
remove dead code; update T5
2020-06-30 17:47:12 -04:00
Jack Morris
7427865517
update tests for ' and -
2020-06-29 20:31:14 -04:00
Jin Yong Yoo
555f77b463
better solution for selecting gpu device
2020-06-29 10:36:11 -04:00
Jack Morris
8268b42d84
Merge pull request #156 from QData/mr-transformers
...
new word-level tokenizer - and remove SpaCy!
2020-06-26 11:14:10 -04:00
Jack Morris
b6eed3dd08
update tests
2020-06-25 22:54:01 -04:00
Jack Morris
af2541cf2b
remove spacy; add 3 MR models
2020-06-25 22:26:12 -04:00
Jin Yong Yoo
7a3e900507
wacky way to fix gpu issue
2020-06-25 13:07:10 -04:00