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

Performance for the Rationale predictor demo #1

Open
aifangchai opened this issue Feb 16, 2024 · 2 comments
Open

Performance for the Rationale predictor demo #1

aifangchai opened this issue Feb 16, 2024 · 2 comments

Comments

@aifangchai
Copy link

Great work on the hate speech detection. However, the performance of the model in the Rationale Predictor demo seems less accurate than desired. I tried a few sentences, and the results were labeled as the normal class instead of the abusive class. I suspect that the model is biased toward the normal class. Could you please suggest ways to improve the model's performance?

Here are some examples of sentences and their results:
I will kill you. {'Normal': 0.51631415, 'Abusive': 0.48368585}
I hate the rich people. {'Normal': 0.8278808, 'Abusive': 0.17211922}

Hope to hear from you soon.
Thank you.

@punyajoy
Copy link
Member

For both these cases the ideal way would be train the rationale predictor model on such datapoints.

Although the first statement is very ambiguous and the target is not specified. It might be said as a friendly banter.
In the second one the target does not represent any vulnerable groups hence it might misclassify it.

@aifangchai
Copy link
Author

aifangchai commented Feb 16, 2024 via email

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