Skip to content

Rephrasing offensive sentences to non-offensive using style transfer techniques

Notifications You must be signed in to change notification settings

arpanmangal/Abusive-Language-Style-Transfer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Style Transfer: Saving the world from Hate Speech

Setup

Setting up Google-Translate

Generate a service account key (service.json) for Google Translate API. (Instructions)

Store it in the model/ directory.

Requirements

$ virtualenv --no-site-packages env -p python3
$ source env/bin/activate
$ pip install -r requirements.txt

Running

$ source env/bin/activate
$ python app.py

Demo

Have fun here

A brief summary of our experiments, their results and comparison with state-of-the-art models can be found in Experiments_Summary.pdf.

About

Rephrasing offensive sentences to non-offensive using style transfer techniques

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published