TextAttack
TextAttack copied to clipboard
Sentence-level or paraphrase-based attack required
Is your feature request related to a problem? Please describe. Current textattack is substitute-based attack in char/word-level. Add some paraphrase-based attack could increase the diversity of attack recipe.
Describe alternatives you've considered Found that other toolbox(https://github.com/thunlp/OpenAttack) already merge some sentence-level attack.
Additional context Just wondering is there any plan to add sentence-level attack?
@Opdoop yes.. plan to work on that! Can you help?
The module that paraphrase-based attack needed is quite different from the module that TextAttack currently provided. I'm not sure how to merge paraphrase-based attack into TextAttack. π That's a hard task for me. I'll try it after the semester end.
I'm interested in picking this up. It seems like sentence-level transformations would be relatively easy to implement in augmentors (as opposed to transformations), so thinking of starting with paraphrase-based sentence-level augmetnations.