Skip to content
This is the implementation of Learning Hierarchical Discourse-level Structure for Fake News Detection paper
Python
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
README.md Update README.md Jun 13, 2019
config.py Update config.py Apr 22, 2019
model.py Add files via upload Feb 26, 2019
test.py Add files via upload Feb 26, 2019
train.py Add files via upload Feb 26, 2019
utils.py Update utils.py Jun 13, 2019

README.md

HDSF

This is the implementation of Learning Hierarchical Discourse-level Structure for Fake News Detection paper http://cse.msu.edu/~karimiha/publications/NAACL2019Discourse.pdf

Required packages:

pytorch
sklearn
numpy
pandas
pickle
gensim

Intsrutions to run the project

  1. Please download HDSF folder from https://www.dropbox.com/s/shwgf52qlqwoo1n/HDSF.7z?dl=0 (it includes the data, splits, etc)
  2. Unzip the file and copy it in an arbitrary location, say /PATH/
  3. Download word embeddings from https://drive.google.com/file/d/0B7XkCwpI5KDYNlNUTTlSS21pQmM/edit and copy it to /PATH/HDSF
  4. To train, run 'python train.py --project_dir /PATH/HDSF/' (hyperparameters are included in config.py)
  5. To test, 'python test.py --project_dir /PATH/HDSF/'
You can’t perform that action at this time.