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

Training script #16

Open
Altimis opened this issue Feb 11, 2021 · 6 comments
Open

Training script #16

Altimis opened this issue Feb 11, 2021 · 6 comments

Comments

@Altimis
Copy link

Altimis commented Feb 11, 2021

Thank you so moch for these briliant models. Can you please provide us with the code that you used in otder to train the models ?

@nikicc
Copy link
Owner

nikicc commented Feb 11, 2021

Hi @Altimis. It's nice to hear they are useful.

About the code, I don't really have that at hand and in a format, I could easily share. Sorry about that 🙈 . However, you can see the architecture of the classifier in the models that are loaded. To train them, you can use any gradient-based method, I believe I used RMSProp.

@Altimis
Copy link
Author

Altimis commented Feb 11, 2021

Thank you @nikicc, I'll try to analyse the model's architecture. How much data did you use tho ?

@nikicc
Copy link
Owner

nikicc commented Feb 11, 2021

@Altimis training data had about 320,000 examples for Ekman, 480,000 for Plutchik, and 3,900,000 for POMS.

@Altimis
Copy link
Author

Altimis commented Feb 11, 2021

Oh okey, the labeling must be hard, unless there are some opensource datasets for this kind of tasks

@nikicc
Copy link
Owner

nikicc commented Feb 11, 2021

I didn't find any opensource datasets, at least not of that size.

For labelling, I used distant supervision: i.e. we search for tweets containing hashtags, used them as the target variable, removed them from the tweet content, and then train classifiers. If you're interested more into detail, check the paper — there is a link at the bottom of the README.md file.

@Altimis
Copy link
Author

Altimis commented Feb 11, 2021

@nikicc interesting idea ! I'll check your paper for sure. Thank you again for your work.

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