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

Train Emotion Specific Word Embeddings #39

Open
shreshthamundra opened this issue Jul 26, 2016 · 1 comment
Open

Train Emotion Specific Word Embeddings #39

shreshthamundra opened this issue Jul 26, 2016 · 1 comment

Comments

@shreshthamundra
Copy link

I am trying to generate emotion specific word embeddings with a similar spproach as SSWE. The sentiment is a three class label, positive negative and neutral.
My emotion set has eight classes. Can you help me with the changes I need to make.

In reader.csv I have changes the default_polarities to a map of length 8. Are their any other changes. The code compiles but I am not sure if its producing correct word embeddings.

@attardi
Copy link
Owner

attardi commented Jan 2, 2017

There are changes to make in the loss function (in sentiwords.pyx line 139) and its derivative, which is currently a hinge loss on a single polarity value.

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