QData / TextAttack

TextAttack 🐙 is a Python framework for adversarial attacks, data augmentation, and model training in NLP https://textattack.readthedocs.io/en/master/
https://textattack.readthedocs.io/en/master/
MIT License
2.97k stars 397 forks source link

How to use textattack on generative models? #725

Open pratik2358 opened 1 year ago

pratik2358 commented 1 year ago

I see that the seq2sick recipe should work for generative models. But can't quite figure out how. Can you kindly help?

jxmorris12 commented 1 year ago

Hi, we have several examples of this in our documentation, plus the seq2sick recipe which allows you to run an adversarial attack against a single sequence-to-sequence model output. If you have a more specific question I can try to help you.

StarWatch27 commented 10 months ago

Hi, we have several examples of this in our documentation, plus the seq2sick recipe which allows you to run an adversarial attack against a single sequence-to-sequence model output. If you have a more specific question I can try to help you.

Hello, I've read the API doc and only find one commandLine example using seq2sick. link I need to attack BART in en-de translation task by using seq2sick and morpheus . It would be great if you could provide the links for those examples in documentation, Thanks!