From 1198436e9c9312a804c0b819c32ce81f59b0cf13 Mon Sep 17 00:00:00 2001 From: Dutta-SD Date: Tue, 20 Jun 2023 16:18:38 +0530 Subject: [PATCH 1/2] Updated README --- README.md | 33 +++++++++++++++++---------------- 1 file changed, 17 insertions(+), 16 deletions(-) diff --git a/README.md b/README.md index 1396fc6..9909288 100644 --- a/README.md +++ b/README.md @@ -8,26 +8,27 @@ pinned: false python_version: 3.10.5 --- -# Agression and Misogyny Detection App +## Agression and Misogyny Detection App - +Social media platforms have become hotspots for the proliferation of trolling, aggression, and hate speech. With an overwhelming volume of social media data being generated every day, manual inspection is simply impractical. In response to this pressing issue, we present an efficient and rapid method for detecting aggression and misogyny in online social media texts. -This app detects presence of Aggression and Misogyny in online social media texts. Try it out [here](https://huggingface.co/spaces/sdutta28/AggDetectApp) +What sets our model apart is not only its high performance but also its significantly reduced training time, model size, and resource requirements. These advantages make our model highly practical for fast inference, ensuring prompt identification of aggression and misogyny in online social media texts. -## Technologies Used +> [Try it out here](https://huggingface.co/spaces/sdutta28/AggDetectApp) - +### Features -`Python, Transformers, XgBoost, Scikit-Learn` +- Detection of Aggression and Misogyny in texts +- LIME based prediction for explainability -## Workflow +### Tech Stack - - -- A text is given to the app -- It predicts aggression and misogyny in the application - -## Results +- Python +- XgBoost +- Scikit-Learn +- HuggingFace Transformers +- LIME +- Docker ### Aggression Detection Results @@ -41,7 +42,7 @@ This app detects presence of Aggression and Misogyny in online social media text | -------- | ----- | | F1 Score | 0.852 | -## How to Run +## How to Run Locally @@ -51,6 +52,6 @@ This app detects presence of Aggression and Misogyny in online social media text ## Additional Links - - +- [Try the App Here](https://huggingface.co/spaces/sdutta28/AggDetectApp) - [[PDF] Paper published at ICON 2021](https://aclanthology.org/2021.icon-main.60.pdf) +- [Model training Repo](https://github.com/Dutta-SD/AggDetect) From cb54bfcf553dd1fb2b1d68e330c592159a6edbf8 Mon Sep 17 00:00:00 2001 From: Dutta-SD Date: Tue, 20 Jun 2023 16:21:39 +0530 Subject: [PATCH 2/2] Minor Typo fixed --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 9909288..7ad2030 100644 --- a/README.md +++ b/README.md @@ -48,7 +48,7 @@ What sets our model apart is not only its high performance but also its signific - Clone the repo - Install python requirements using `$ pip install -r requirements.txt` -- Run the server using `$ python main.py` +- Run the server using `$ python app.py` ## Additional Links