/News-Bias-Detection

Propaganda Analysis in News Articles

Primary LanguagePython

Propaganda Analysis in News Articles

Online media articles often have source induced biases that sway user opinions and perspectives. There is no system in common knowledge with explainable decisions that identifies and removes these, often subjective, biases and can be used across sources. In this work we have made progress towards making an end to end framework for Fine Grained detection of propaganda in News Articles and then Rewriting them with a Neutral Point of view.

Getting Started

To run the code for training with BERT as backbone simply clone the repository and run

python3 train.py --training --bert

Additional Parameters Used are:

Argument Default Value
Batch Size 16
Learning Rate 3*10-5
Group Classes True
Device Cuda

Prerequisites

  • Pytorch <=1.40
  • wandb

Different Experiments and Architectures

Running the tests

Set the Training Flag to False and change the input path to the Dev/Test Dataset

Authors

Acknowledgments

  • Vitobha Munigala, IBM Research
  • Nishtha Madan, IBM Research