This 'data' folder should contain following 17-files:
Following three files should be in the same folder in which ajeet_calculate_metrics.py file is.
CUDA_VISIBLE_DEVICES=0 python hatespeech-training.py --split 1 --bias_in_fc True --add_cls_sep_tokens False --epochs 5 --encoder_frozen True --encoder_name bert-base-cased --data_path DATA_PATH --checkpoint_path CHECKPOINT_PATH --run_ID RUN_ID
CUDA_VISIBLE_DEVICES=1 python ajeet-calculate-metrics.py.py --method lrp --faithfullness_filtering top-k --split 1 --model_path PATH_TO_MODEL --data_path PATH_TO_DATA_FOLDER --encoder_name bert-base-cased
@inproceedings{mishra2023explaining,
title={Explaining Finetuned Transformers on Hate Speech Predictions Using Layerwise Relevance Propagation},
author={Mishra, Ritwik and Yadav, Ajeet and Shah, Rajiv Ratn and Kumaraguru, Ponnurangam},
booktitle={International Conference on Big Data Analytics},
pages={201--214},
year={2023},
organization={Springer}
}
If you use the dataset in your work then consider citing the following:
@inproceedings{mathew2021hatexplain,
title={HateXplain: A Benchmark Dataset for Explainable Hate Speech Detection},
author={Mathew, Binny and Saha, Punyajoy and Yimam, Seid Muhie and Biemann, Chris and Goyal, Pawan and Mukherjee, Animesh},
booktitle={Proceedings of the AAAI Conference on Artificial Intelligence},
volume={35},
number={17},
pages={14867--14875},
year={2021}
}
If you use ferret library then consider citing the following:
@inproceedings{attanasio-etal-2023-ferret,
title = "ferret: a Framework for Benchmarking Explainers on Transformers",
author = "Attanasio, Giuseppe and Pastor, Eliana and Di Bonaventura, Chiara and Nozza, Debora",
booktitle = "Proceedings of the 17th Conference of the European Chapter of the Association for Computational Linguistics: System Demonstrations",
month = may,
year = "2023",
publisher = "Association for Computational Linguistics",
}
Python
100.0%
This 'data' folder should contain following 17-files:
Following three files should be in the same folder in which ajeet_calculate_metrics.py file is.
CUDA_VISIBLE_DEVICES=0 python hatespeech-training.py --split 1 --bias_in_fc True --add_cls_sep_tokens False --epochs 5 --encoder_frozen True --encoder_name bert-base-cased --data_path DATA_PATH --checkpoint_path CHECKPOINT_PATH --run_ID RUN_ID
CUDA_VISIBLE_DEVICES=1 python ajeet-calculate-metrics.py.py --method lrp --faithfullness_filtering top-k --split 1 --model_path PATH_TO_MODEL --data_path PATH_TO_DATA_FOLDER --encoder_name bert-base-cased
@inproceedings{mishra2023explaining,
title={Explaining Finetuned Transformers on Hate Speech Predictions Using Layerwise Relevance Propagation},
author={Mishra, Ritwik and Yadav, Ajeet and Shah, Rajiv Ratn and Kumaraguru, Ponnurangam},
booktitle={International Conference on Big Data Analytics},
pages={201--214},
year={2023},
organization={Springer}
}
If you use the dataset in your work then consider citing the following:
@inproceedings{mathew2021hatexplain,
title={HateXplain: A Benchmark Dataset for Explainable Hate Speech Detection},
author={Mathew, Binny and Saha, Punyajoy and Yimam, Seid Muhie and Biemann, Chris and Goyal, Pawan and Mukherjee, Animesh},
booktitle={Proceedings of the AAAI Conference on Artificial Intelligence},
volume={35},
number={17},
pages={14867--14875},
year={2021}
}
If you use ferret library then consider citing the following:
@inproceedings{attanasio-etal-2023-ferret,
title = "ferret: a Framework for Benchmarking Explainers on Transformers",
author = "Attanasio, Giuseppe and Pastor, Eliana and Di Bonaventura, Chiara and Nozza, Debora",
booktitle = "Proceedings of the 17th Conference of the European Chapter of the Association for Computational Linguistics: System Demonstrations",
month = may,
year = "2023",
publisher = "Association for Computational Linguistics",
}
Python
100.0%