File size: 1,181 Bytes
0475979
 
 
 
 
 
 
a9cf73b
0475979
fb2e1cb
1e1e416
a980198
1e1e416
a96982b
a980198
1e1e416
 
a980198
1e1e416
 
a980198
1e1e416
 
a980198
1e1e416
a980198
1e1e416
 
 
 
 
 
a980198
 
 
 
1e1e416
 
 
a980198
 
 
1e1e416
 
a980198
1e1e416
a980198
1e1e416
 
 
 
 
a980198
1e1e416
a980198
 
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
---
title: AggDetectApp -- Detect Aggression and Misogyny
colorFrom: black
colorTo: blue
sdk: gradio
app_file: app.py
pinned: false
python_version: 3.10.5
---

# Agression and Misogyny Detection App

<!-- Intro and about the project -->

This app detects presence of Aggression and Misogyny in online social media texts. Try it out [here](https://huggingface.co/spaces/sdutta28/AggDetectApp)

## Technologies Used

<!-- Tech stack, libraries etc -->

`Python, Transformers, XgBoost, Scikit-Learn`

## Workflow

<!-- In some detail of how this works -->

- A text is given to the app
- It predicts aggression and misogyny in the application

## Results

### Aggression Detection Results

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

### Misogyny Detection Results

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

## How to Run

<!-- Installation and Running Steps -->

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

## Additional Links

<!-- Kaggle model training links -->

- [[PDF] Paper published at ICON 2021](https://aclanthology.org/2021.icon-main.60.pdf)