a simple GUI application that uses a neural network to classify news articles as real or fake
- clone this repository and open as a project in Pycharm
- Install all libaries listed in requirements.txt
- set main.py as your run configuration.
- run main.py
- enter any news article title into the title box and the main text into the text box (use ctrl+v to paste)
- click analyze.
- view the data analysis graphs along with the model's prediction
- click the 'close' button or 'try another' button to analyze a second article.
-- The model used is built on a pretrained BERT model that's been retasked for news classification using PyTorch combined with Transformers by HuggingFace.
-- The training data used is from this url: https://www.kaggle.com/datasets/saurabhshahane/fake-news-classification