Skip to content

Commit

Permalink
make strict explicit
Browse files Browse the repository at this point in the history
  • Loading branch information
parmeet committed Nov 28, 2021
1 parent 6158899 commit 3874b02
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions torchtext/models/roberta/bundler.py
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,7 @@ def get_model(self,
freeze_encoder=freeze_encoder,
checkpoint=self._path if load_weights else None,
override_checkpoint_head=True,
strict=True,
dl_kwargs=dl_kwargs)

@classmethod
Expand Down

0 comments on commit 3874b02

Please sign in to comment.