Coder Social home page Coder Social logo

covid19-fake-news-detection-using-bert's Introduction

COVID19-Fake-News-Detection-Using-BERT (https://arxiv.org/abs/2109.14816)

This project finetunes the pre-trained Bidirectional Encoder Representations from Transformers (BERT) model as our base model. We add BiLSTM layers and CNN layers on the top of the finetuned BERT model with frozen parameters, or not frozen parameters methods respectively. The model performance evaluation results showcase that our best model (BERT finetuned model with frozen parameters plus BiLSTM layers) achieves state-of-the-art results towards COVID-19 fake news detection task. We also explore keywords evaluation methods using our best model and evaluate the model performance after removing keywords, so users can aware those vocabs when identify fake news.

Description

  • Training and testing dataset: _Constraint_train.csv, _Constraint_Val.csv
  • Notebook: _ Final_submission.ipynb
  • Report: _Final_Paper.pdf

Notebook Description

The notebook section can be summarized as followings:

  • 0-Set up
  • 1-Load the dataset, set up the GPU, install the transformer
  • 2-Begin Tokenize the data
  • 3-Train and test Procedure
    • 3.1-BERT Fine Tune

    • 3.2-BERT+CNN

      • 3.2.1 Without Freeze Parameters
      • 3.2.2 With Freeze Parameters
    • 3.3-BERT+Bidirectional LSTM

      • 3.3.1 Without Freeze Parameters
      • 3.3.2 With Freeze Parameters
  • 4-Top frequent words in fake news (test dataset)
  • 5-Words that carry significant weights in the model
  • 6-Top frequent words and model performance

covid19-fake-news-detection-using-bert's People

Contributors

zhangyongheng78 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.