Coder Social home page Coder Social logo

fake_true_news's Introduction

0. Introduction

In this notebook, we are going to be building a Neural Language Model to classify news as being fake or real. We will start off by loading in the required libraries, and importing the data. Then we will clean the data to remove any obvious differences between the fake and real articles. Finally we will adapt a pre-trained BERT model for it to be able to classify between the fake and real articles.

1. Data

The data consists of 23481 fake and 21417 real news articles (source: www.kaggle.com/datasets/clmentbisaillon/fake-and-real-news-dataset). The real articles were originally obtained by scraping articles from Reuters.com. The Fake articles were obtained from websites that were flagged by a fact-checking website (Politifact) and Wikipedia. The real articles were all published between the 13th of January 2016 and the 31th of December 2017. The fake articles were published between the 31th of March 2015 and the 19th of February 2018.

2. Research Question

We are mainly interested in finding out how well modern NLP models can distinguish between real and fake articles. Defining what is fake or real news can be tricky however, and we expect that our data will reflect this. Therefore, we are also interested in finding various characteristics in our fake and real articles that might lead to overfitting.

fake_true_news's People

Contributors

alimomeni2000 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.