Skip to content

Commit

Permalink
add kwargs
Browse files Browse the repository at this point in the history
  • Loading branch information
HessTaha committed May 31, 2020
1 parent c554f2e commit d03fe60
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/model.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,8 @@ def __init__(self,
ffn: int = 128,
n_classes: int = None,
do_normalization: bool = True,
pooling_strategy: str = 'avg'):
pooling_strategy: str = 'avg',
**kwargs):

super(LSTMModel, self).__init__()
self.embedding = torch.nn.Embedding(vocab_size, embed_dim)
Expand Down

0 comments on commit d03fe60

Please sign in to comment.