NLPDataAugmentation icon indicating copy to clipboard operation
NLPDataAugmentation copied to clipboard

Conditional BERT Contextual Augmentation

Open wang-na opened this issue 5 years ago • 1 comments

Hi, I have a question about "Conditional BERT Contextual Augmentation", in readme.md, you said: _> 主要参考Context Augmentation,通过Bi-LSTM训练语言模型,并且加入了数据label来控制生成。

Conditional BERT Contextual Augmentation,在前文基础上引入了BERT。_

In conditional BERT Contextual Augmentation, label and finetune are used. I want to ask, where can I find the relative codes for these functions?

Thank you very much!

wang-na avatar Dec 08 '20 08:12 wang-na

作者没有开源代码,但我理解可以将bert预训练的源码中的segment_id转换成训练数据的label id即可。

InsaneLife avatar Dec 08 '20 13:12 InsaneLife