nlpaug icon indicating copy to clipboard operation
nlpaug copied to clipboard

How to generate more than 1 augmented samples using Back-Translation method?

Open beyondguo opened this issue 2 years ago • 1 comments

How to generate more than 1 augmented samples using Back-Translation method? Current implementation of BackTranslationAug can only support generating a single text, but actually we can change the decoding strategy so than multiple augmented texts can be generated, which will make augmentation more effective.

Is there a way to more more than one text? Thanks!

beyondguo avatar Apr 23 '22 15:04 beyondguo

Considered the unexpected sequence problem. If input is list (e.g. ["a", "B", "c"], it will only augmented 1 record per input.

makcedward avatar Jul 07 '22 04:07 makcedward