Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
f76f076
commit 986c32e
Showing
3 changed files
with
26 additions
and
16,908 deletions.
There are no files selected for viewing
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,26 @@ | ||
https://ptpb.pw/Lc6W | ||
## Hate Speech Detection on Twitter | ||
|
||
Repository to train a Machine learning model to detect hate speech in a tweet. Contains code for different models. | ||
|
||
### Dataset | ||
|
||
Dataset can be downloaded from [https://github.com/zeerakw/hatespeech](https://github.com/zeerakw/hatespeech). Contains tweet id's and corresponding annotations. | ||
|
||
Tweets are labelled as either Racist, Sexist or Neither Racist or Sexist. | ||
|
||
Use your favourite tweet crawler and download the data and place the tweets in the folder 'tweet_data'. | ||
|
||
|
||
### Requirements | ||
* Keras | ||
* Tensorflow or Theano (we experimented with theano) | ||
* Gensim | ||
* xgboost | ||
|
||
### Instructions to run | ||
|
||
To run a model (<MODEL>) for training, use | ||
|
||
'python <MODEL> <WORD_EMBED_DIM>' | ||
|
||
|
Oops, something went wrong.