KnowPrompt4FakeNewsDetection

This repository contains the source code of the IPM paper "Fake news detection via knowledgeable prompt learning" by Gongyao Jiang, Shuang Liu, Yu Zhao, Yuehen Sun, and Meishan Zhang*.

# run standard settings
python run.py

# run zero-shot learning
python run_zero_shot.py

# run few-shot learning
python run_few_shot.py

Please cite our paper if it is helpful to your work.

@article{jiang-etal-fakenews,
  title = {Fake news detection via knowledgeable prompt learning},
  journal = {Information Processing & Management},
  volume = {59},
  number = {5},
  pages = {103029},
  year = {2022},
  issn = {0306-4573},
  doi = {https://doi.org/10.1016/j.ipm.2022.103029},
  url = {https://www.sciencedirect.com/science/article/pii/S030645732200139X},
  author = {Gongyao Jiang and Shuang Liu and Yu Zhao and Yueheng Sun and Meishan Zhang},
  keywords = {Fake news detection, Prompt learning, Pretrained language model, Knowledge utilization},
}