Skip to content

Fake news classification for a Kaggle data competition.

Notifications You must be signed in to change notification settings

pmcwhannel/Fake-News-Classifier

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 

Repository files navigation

Fake-News-Classifier

Fake news classification for a Kaggle data competition.

The link to the competition can be found here: https://www.kaggle.com/c/datachallenge2

Test Accuracy: 99.988%

Description of Model:

I used a transfer learning technique in which I loaded the "bert_base_cased" pretraining weights of BERT and fine tuned it through the CLS output layer (768 dim) with dropout followed by a linear transformation and then a cross entropy loss. I tried adding more complexity though it didn't lead to increased performance therefore I stuck with the aforementioned additions. The input to the model was the title string appended with the text string seperated with a space. I used a max length of 200 tokens. For more details please look at the script.

About

Fake news classification for a Kaggle data competition.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published