Spaces:
Sleeping
Sleeping
nssharmaofficial
commited on
Commit
•
4169569
1
Parent(s):
29003f1
Fix typo
Browse files- source/model.py +1 -1
source/model.py
CHANGED
@@ -84,7 +84,7 @@ class Decoder(nn.Module):
|
|
84 |
bidirectional=False)
|
85 |
|
86 |
self.fc = nn.Sequential(
|
87 |
-
nn.Linear(in_features=self.hidden_dim,
|
88 |
nn.LogSoftmax(dim=2)
|
89 |
)
|
90 |
|
|
|
84 |
bidirectional=False)
|
85 |
|
86 |
self.fc = nn.Sequential(
|
87 |
+
nn.Linear(in_features=self.hidden_dim, out_features=self.vocab_size),
|
88 |
nn.LogSoftmax(dim=2)
|
89 |
)
|
90 |
|