Skip to content

Add a DebertaV3MaskedLM task model #721

@mattdangerw

Description

@mattdangerw

In #653 we added a masked language modeling task for RoBERTa. We can make a similar change for the DebertaV3 model.

  • Update DebertaV3Tokenizer to expect a mask token.
  • Add a DebertaV3MaskedLMPreprocessor preprocessor layer and tests.
  • Add a DebertaV3MaskedLM task model and tests.
  • Update keras_nlp/models/__init__.py to export DebertaV3MaskedLM and DebertaV3MaskedLMPreprocessor.

Metadata

Metadata

Assignees

Labels

stat:contributions welcomeAdd this label to feature request issues so they are separated out from bug reporting issuestype:featureNew feature or request

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions