Is there an example to use adversarial training on coqa?
JayMarx opened this issue · comments
JayMarx commented
hi, thanks for your hard work! Do you known how to add an adversarial training when finetuneing on the coqa dataset?
Xiaoming commented
This repo doesn't support adversarial training yet. Normally, for AT, perturbations will be added to input embedding, and based on whether it's AT or VAT, different perturbation updating strategy will be applied when calculate gradients.