Last active
January 23, 2021 08:09
-
-
Save williamFalcon/50b4ad2e86277fe8b8d89f843e51ccfd to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
def configure_optimizers(self): | |
return torch.optim.Adam([p for p in self.parameters() if p.requires_grad], lr=2e-05, eps=1e-08) | |
@pl.data_loader | |
def train_dataloader(self): | |
return bert_mnli_train_dataloader | |
@pl.data_loader | |
def val_dataloader(self): | |
return bert_mnli_val_dataloader | |
@pl.data_loader | |
def test_dataloader(self): | |
return bert_mnli_test_dataloader |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment