Skip to content

Krepseliss/Applied-Deep-Learning-AI-Assignment-2

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

9 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

πŸ“° Fake News Detection using DistilBERT

πŸš€ Binary Classification of Fake and Real News using Transformer Models

πŸ“Œ Project Overview

This project uses a DistilBERT transformer model to classify news articles as real or fake. The dataset is sourced from Kaggle and consists of labeled news articles. The model achieves high accuracy in detecting misinformation.


πŸ“‚ Dataset

  • Source: Fake and Real News Dataset
  • Structure:
    • True.csv β†’ Real news articles
    • Fake.csv β†’ Fake news articles
  • Preprocessing:
    • Combined title and text columns for better context.
    • Added labels (1 = Real, 0 = Fake).
    • Tokenized text using DistilBERT Tokenizer.

βš™οΈ Installation

Clone this repository and install dependencies:

git clone https://github.com/your_username/fake-news-detection.git
Open Powershell in windows and run:
pip install -r "path/to/requirements.txt"

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published