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
Jin Yong Yoo
545687dfa5
fix search behavior and update test
2020-11-21 23:28:57 -05:00
Adam Noack
fe5aa5cf41
fix query count for GoalFunctionResult returned by SearchMethod._perform_search
2020-11-20 22:20:11 -08:00
Adam Noack
ede35d40ff
fix query count when no candidate result score values are better than current result score value
2020-11-19 14:41:54 -08:00
Jin Yong Yoo
ef3c2e2bca
update pos tagging in AttackedText
2020-11-19 16:49:24 -05:00
Yanjun Qi
993d49e90b
connect Readme.md in model folder to https://textattack.readthedocs.io/en/latest/3recipes/models.html
2020-11-18 15:37:51 -05:00
Yanjun Qi
0adaa2bdba
add FAQ.md / fix docstring error / add links to two other textAttack Github sites
2020-11-17 13:21:30 -05:00
Jin Yong Yoo
0fad7f1c2a
fix readthedocs module load
2020-11-14 13:20:36 -05:00
Yanjun Qi
0401591371
Update word_swap_embedding.py
2020-11-13 15:04:23 -05:00
Yanjun Qi / Jane
5f04781809
Merge pull request #303 from sanchit97/tut0-fix
...
Fix for tut0
2020-11-12 22:35:17 -05:00
sanchit97
b0892ce7fe
Remove model wrapping module
2020-11-12 21:17:55 -05:00
Jin Yong Yoo
e33bfc2bb6
Merge pull request #334 from a1noack/fix_morpheus
...
fix inflection generation and enlarge pos to upos mapping (for Morpheus)
2020-11-12 21:10:50 -05:00
a1noack
6838209255
run isort v5
2020-11-12 14:35:19 -08:00
a1noack
305eb48cb6
isort imports
2020-11-12 14:18:52 -08:00
sanchit97
b21bdc96c4
Remove model wrapping from pytorch wrapper module
2020-11-12 16:51:24 -05:00
a1noack
24669a90b9
fix formatting
2020-11-12 13:11:38 -08:00
Adam Noack
be6cd8801f
remove duplicate keys from and fix formatting pos mapping dict
2020-11-12 12:06:22 -08:00
sanchit97
3e9cbcbd05
Remove extras
2020-11-12 14:53:53 -05:00
sanchit97
f0e27d129c
Change model to Huggingface
2020-11-12 14:50:40 -05:00
sanchit97
e04c3777b3
Fix for tut0
2020-11-12 14:49:44 -05:00
Adam Noack
170e45b714
fix inflection generation and enlarge pos to upos mapping
2020-11-12 11:21:01 -08:00
Jin Yong Yoo
2df8833965
fix training code bug
2020-11-11 13:47:10 -05:00
Jin Yong Yoo
b148bd2818
fix bugs
2020-11-10 21:45:38 -05:00
Jin Yong Yoo
2328b7f76c
Merge branch 'master' into lazy-loading
2020-11-10 19:21:17 -05:00
Yanjun Qi
de0b5b8b8b
add in the docstring for textattack_cli main func
2020-11-10 13:32:21 -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
Dheeraj Ravindranath
a0e94792f5
WordSwapChangeName transformation now accounts
...
for sentences with S-PER tags. (Sentences with firstname, or lastname
only)
2020-11-05 23:36:35 -07: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
3ffd776b63
add get_grad method
2020-11-01 00:58:16 -04:00
Jin Yong Yoo
21496460fe
add embedding layer retrieval to models
2020-11-01 00:58:15 -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
dcce7b3434
undo edits
2020-10-30 17:34:54 -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
230e39b590
solve flake8 warning
2020-10-29 11:17:39 -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