Skip to content

Latest commit

 

History

History
24 lines (18 loc) · 658 Bytes

README.md

File metadata and controls

24 lines (18 loc) · 658 Bytes

FakeNewsRNN

Detect if a news article is real or not ! using pytorch, LSTM and Django

Usage and installation :

  1. Download the dataset from kaggle
  2. Put the files into ./Data/.
  3. install required packages: pip install -r requirements.txt
  4. preprocess the dataset : python manage.py preprocess
  5. train the model:
MIN_FREQ]
 [--embedding_output EMBEDDING_OUTPUT]
 [--hidden_size HIDDEN_SIZE] [--num_layers
NUM_LAYERS]
 [--num_epochs NUM_EPOCHS] [--batch_size
BATCH_SIZE]
 [--bi_lstm BI_LSTM] 
  1. run the django server : python manage.py runserver