Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/nature1995/ai-toxic-content-classification-in-django

A Quora question toxic content Classification model with Django applicaiton
https://github.com/nature1995/ai-toxic-content-classification-in-django

django keras pytorch quora quora-questions toxic-comment-classification

Last synced: 13 days ago
JSON representation

A Quora question toxic content Classification model with Django applicaiton

Awesome Lists containing this project

README

        

# AI-Toxic-Content-Classification-in-Django

[![python3.5](https://img.shields.io/badge/python-3.5-blue.svg)](https://www.python.org/downloads/)
[![python3.6](https://img.shields.io/badge/python-3.6-brightgreen.svg)](https://www.python.org/downloads/)
[![python3.7](https://img.shields.io/badge/python-3.7-orange.svg)](https://www.python.org/downloads/)
[![django3.0](https://img.shields.io/badge/django-3.0.0-green.svg)](https://www.djangoproject.com/download/)

## Table of Contents

- [Introduction](#introduction)
- [Features](#features)
- [Usage](#usage)
- [Architicture](#architicture)
- [Author](#author)
- [License](#license)

## Introduction
We aim at finding out inappropriate comments from Quora website by building a binary classification model and apply the model to our website where you enter some questions and then the application will provide you with output to classify whether your words are TOXIC or NOT. We use word embedding method to map each text into corresponding data. Then we tried three different models and one combination method to train the model. The approaches we adopt to solve the problem are ‘GRU’, ‘LSTM’ and ’Attention’. We used the Django to build the AI application which including friendly interaction and beautiful interface. Finally, in the evaluation part, our accuracy reaches 0.70583. And the application can provide stable problem detection services.

## Usage
- [For model](https://github.com/nature1995/AI-Toxic-Content-Classification-in-Django/tree/master/Model)
- [For web application](https://github.com/nature1995/AI-Toxic-Content-Classification-in-Django/tree/master/Web)
- [For demo](https://github.com/nature1995/AI-Toxic-Content-Classification-in-Django/tree/master/Demo)
- [For paper](https://github.com/nature1995/AI-Toxic-Content-Classification-in-Django/blob/master/Toxic-Content-Classification-in-Django.pdf)

## Architicture
### Models
#### Attention model
![Attention model](./Pictures/model1.png)

#### Combination model
![Combination model](./Pictures/model2.png)

### Applications
#### UI Interface
![UI](./Pictures/app1.png)

#### Result for application
![Result for application](./Pictures/app2.png)

## Author

* **Ziran Gong** - [@nature1995](https://github.com/nature1995)
* **Peihong Yu** - [@PeihongY](https://github.com/PeihongY)
* **Haoran Peng** - [@PPGod95](https://github.com/PPGod95)

## License

[MIT](LICENSE) ©