keras-nlp icon indicating copy to clipboard operation
keras-nlp copied to clipboard

Stop Word Dropout Layer - Data Augmentation

Open aflah02 opened this issue 3 years ago • 2 comments

This is an extension to the Random Deletion Layer. I currently plan to use this issue to link the next PR which will add Stop Word Deletion specifically to the Random Deletion Layer as a parameter. I can also see this being a stand alone layer but probably the former is better!

aflah02 avatar May 31 '22 16:05 aflah02

Can you explain more of how this will work? This will be a layer that randomly deletes stop words? Or deterministically drops stopwords?

mattdangerw avatar Jun 07 '22 05:06 mattdangerw

Hey @mattdangerw I was thinking this would make the layer drop stop words only randomly. This is used in this paper as an adversarial strategy

aflah02 avatar Jun 07 '22 06:06 aflah02