/Fake-News-Classification

Fake News Classification using Bidirectional LSTM

Primary LanguageJupyter NotebookMIT LicenseMIT

Fake News Classification

Fake News Classification using Bidirectional LSTM

About

The Fake News Classification project aims to tackle misinformation using advanced natural language processing techniques. By utilizing a Bidirectional Long Short-Term Memory (BiLSTM) network, this project classifies news articles as either real or fake. The BiLSTM model effectively captures the context of words from both directions in a sentence, making it a powerful tool for detecting fake news. This repository includes all necessary scripts, models, and datasets for data preprocessing, model training, and prediction.

Data

The dataset used in this project is available in the data directory. It is in CSV (Comma-Separated Values) format.


Dataset Source Link: kaggle dataset

Usage

  1. Clone the repository
git clone https://github.com/priyanshudutta04/Fake-News-Classification.git
  1. Install dependencies
pip install -r requirements.txt
  1. Run the Model
jupyter notebook Fake-News-Classification.ipynb

Note: If GPU is available install cuda toolkit and cuDNN for faster execution

Contributing

Contributions are welcome! If you have ideas for improving the model or adding new features, please feel free to fork the repository and submit a pull request.

Disclaimer

This project was created for educational and research purposes only and should not be used to classify real-world news or for fact-checking. The accuracy and reliability of the model depend on the quality and scope of the training data. Users should exercise caution when interpreting the results, and double check important information. The creator disclaim any responsibility for consequences resulting from the use of this software beyond its intended educational scope.

Support

If you like this project, do give it a ⭐and share it with your friends