Closed mattdangerw closed 1 year ago
@mattdangerw I would like to work on this issue!
@Cyber-Machine are you still working on it ? If not, can I take it?
@shivance Yes, I am still working in this issue.
Hey! I would like to take this issue up, if others are not @Cyber-Machine
@jayam30 I am currently working on it. Will be raising PR by tonight, it's ready and I have to add tests.
In https://github.com/keras-team/keras-nlp/pull/653 we added a masked language modeling task for RoBERTa. We can make a similar change for the
BERT
model.BertTokenizer
to expect a mask token.BertMaskedLMPreprocessor
preprocessor layer and tests.BertMaskedLM
task model and tests.keras_nlp/models/__init__.py
to exportBertMaskedLM
andBertMaskedLMPreprocessor
.