Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

wrong code at t2e/lstm_classifier.py #38

Open
soki927 opened this issue Nov 7, 2023 · 1 comment
Open

wrong code at t2e/lstm_classifier.py #38

soki927 opened this issue Nov 7, 2023 · 1 comment

Comments

@soki927
Copy link

soki927 commented Nov 7, 2023

42 # sum hidden states
43 class_scores = F.softmax(self.out(rnn_output), dim=1)

↓you should change

42 # sum hidden states
43 class_scores = F.log_softmax(self.out(rnn_output), dim=1)

@raniaahmed123
Copy link

please help for this missed file :
pred_probas/text_lstm_classifier.pkl

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants