Skip to content

Commit

Permalink
fix self references
Browse files Browse the repository at this point in the history
  • Loading branch information
mattdangerw committed Feb 1, 2023
1 parent 0cf70b0 commit 5fb5b8c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions keras_nlp/models/roberta/roberta_masked_lm.py
Original file line number Diff line number Diff line change
Expand Up @@ -137,8 +137,8 @@ def __init__(
**kwargs,
)
# All references to `self` below this line
self._backbone = backbone
self._preprocessor = preprocessor
self.backbone = backbone
self.preprocessor = preprocessor

@classproperty
def backbone_cls(cls):
Expand Down

0 comments on commit 5fb5b8c

Please sign in to comment.