Skip to content

Commit

Permalink
Minor improvements
Browse files Browse the repository at this point in the history
  • Loading branch information
mtanghu committed Feb 9, 2022
1 parent d95c07f commit ce2cb36
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion dni.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@

class Synthesizer(nn.Module):
def __init__(self, size, is_lstm = True, hidden_layers = 1, factor = 1, allow_backwarding = False, activation = nn.GELU,
optimizer = torch.optim.Adam, lr = .0001, aux = False, use_improvement = True):
optimizer = torch.optim.AdamW, lr = .0001, aux = False, use_improvement = True):
super().__init__()
self.factor = factor
self.is_lstm = is_lstm
Expand Down
2 changes: 1 addition & 1 deletion examples/awd-lstm-lm

0 comments on commit ce2cb36

Please sign in to comment.