File size: 1,786 Bytes
0475979
 
 
 
3c3786b
0475979
 
a9cf73b
0475979
fb2e1cb
1198436
a980198
1198436
a96982b
1198436
1e1e416
1198436
a980198
1198436
1e1e416
1198436
 
1e1e416
1198436
a980198
1198436
 
 
 
 
 
1e1e416
 
a980198
 
 
 
1e1e416
 
 
a980198
 
 
1e1e416
1198436
a980198
1e1e416
a980198
1e1e416
 
cb54bfc
1e1e416
 
a980198
1198436
a980198
1198436
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
---
title: AggDetectApp -- Detect Aggression and Misogyny
colorFrom: black
colorTo: blue
sdk: docker
app_file: app.py
pinned: false
python_version: 3.10.5
---

## 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.

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.

> [Try it out here](https://huggingface.co/spaces/sdutta28/AggDetectApp)

### Features

- Detection of Aggression and Misogyny in texts
- LIME based prediction for explainability

### Tech Stack

- Python
- XgBoost
- Scikit-Learn
- HuggingFace Transformers
- LIME
- Docker

### Aggression Detection Results

| Metric   | Score |
| -------- | ----- |
| F1 Score | 0.735 |

### Misogyny Detection Results

| Metric   | Score |
| -------- | ----- |
| F1 Score | 0.852 |

## How to Run Locally

<!-- Installation and Running Steps -->

- Clone the repo
- Install python requirements using `$ pip install -r requirements.txt`
- Run the server using `$ python app.py`

## 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)