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

run_classifier for emotion classification? #66

Open
ehsan-soe opened this issue Nov 19, 2019 · 1 comment
Open

run_classifier for emotion classification? #66

ehsan-soe opened this issue Nov 19, 2019 · 1 comment

Comments

@ehsan-soe
Copy link

Hi,

Is it possible to provide the run_classifier for emotion classification using your pretrained model?

@pandeconscious
Copy link

Use a csv file such as data/semeval/train.csv. In the following example, Tweet is the header of the column containing the actual text/tweet for which to find emotions. Download the emotion models as some dir such as path-to-downloaded-models

python3 run_classifier.py --load <path-to-downloaded-models/transformer_semeval.clf> --text-key Tweet --data data/semeval/train.csv --model transformer --write-results results.csv

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