Skip to content

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

License

Notifications You must be signed in to change notification settings

h4k1m13or/FakeNewsRNN

Repository files navigation

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

About

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

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published