Text-Classification-Models-Pytorch icon indicating copy to clipboard operation
Text-Classification-Models-Pytorch copied to clipboard

no non linearity in fasttext model

Open yonigottesman opened this issue 5 years ago • 0 comments

In fasttext model: def forward(self, x): embedded_sent = self.embeddings(x).permute(1,0,2) h = self.fc1(embedded_sent.mean(1)) z = self.fc2(h) return self.softmax(z)

Why is there no call to relu on h?

yonigottesman avatar Dec 10 '19 08:12 yonigottesman