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

Predicting emotions for unseen tweets #15

Open
khairiyah98 opened this issue Feb 6, 2021 · 5 comments
Open

Predicting emotions for unseen tweets #15

khairiyah98 opened this issue Feb 6, 2021 · 5 comments

Comments

@khairiyah98
Copy link

Hi, can I know if we can use these to predict emotions for any tweets? Or do we need to train them downstream?

@nikicc
Copy link
Owner

nikicc commented Feb 6, 2021

Hi, can I know if we can use these to predict emotions for any tweets?

Yes, the models are already trained and can be used directly.

Or do we need to train them downstream?

No need. They are already trained.

@khairiyah98
Copy link
Author

Alright, thank you!

May I know what are the preprocessing steps required for the tweet input into the model? For e.g. Do I need to remove emoticons/emojis?

@nikicc
Copy link
Owner

nikicc commented Feb 14, 2021

@khairiyah98 I don't think you need to do any preprocessing. Feel free to leave the emoticons in.

@Akshar-code
Copy link
Contributor

Hii @nikicc in your demo.ipynb file i can see you fed the tweets are a tuple
Screenshot 2021-02-15 at 4 10 30 PM

Im wondering how i can do this if i have a csv file with rows of tweets? please help me
Screenshot 2021-02-15 at 4 11 40 PM

Also @khairiyah98 have you made any progress with this aspect?

@nikicc
Copy link
Owner

nikicc commented Feb 15, 2021

Hi @Akshar-code!

Hii @nikicc in your demo.ipynb file i can see you fed the tweets are a tuple

It's actually a list, not a tuple. But tuple might also work, not sure 🤷‍♂️.

Im wondering how i can do this if i have a csv file with rows of tweets? please help me

So if you have a file with the structure as shown in the above image, you just need to read it line by line into a list of strings. Check this StackOverflow answers for code snippets that do exactly this.

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

3 participants