MCPcopy Create free account
hub / github.com/Nicozwy/CofCED

github.com/Nicozwy/CofCED @main

Chat with this repo
repository ↗ · DeepWiki ↗ · + Follow
60 symbols 226 edges 10 files 33 documented · 55% updated 6mo ago★ 110

Browse by type

Functions 54 Types & classes 6
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

CofCED

Wisdom of crowds: CofCED

:triangular_flag_on_post: The codes and LIAR-RAW, RAWFC datasets have been released!

A Coarse-to-fine Cascaded Evidence-Distillation Neural Network for Explainable Fake News Detection is accepted by COLING 2022. CofCED is an explainable method proposed by this paper. We present the first study on explainable fake news detection directly utilizing the wisdom of crowds (raw reports), alleviating the dependency on fact-checked reports.

:triangular_flag_on_post: If possible, could you please star this project. :star: :arrow_upper_right:

[Updated the link to RAWFC and LIAR-RAW datasets]

Codes

Installing requirement packages

conda create -n fact22 python=3.8
source activate fact22
conda install pytorch==1.12.0 torchvision==0.13.0 torchaudio==0.12.0 cudatoolkit=11.3 -c pytorch
pip install transformers pandas==1.1.2 tqdm==4.50.0 nltk==3.5 rouge-score==0.0.4 sklearn
pip install sentence_transformers   # for evaluation
pip install torch>=1.8

Datasets

We constructed two realistic datasets, i.e., RAWFC and LIAR-RAW, consisting of raw reports for each claim. - RAWFC - LIAR-RAW

Please cite this paper as follows (BibTeX):

@inproceedings{yang2022cofced,
  title={A Coarse-to-fine Cascaded Evidence-Distillation Neural Network for Explainable Fake News Detection},
  author={Yang, Zhiwei and Ma, Jing and Chen, Hechang and Lin, Hongzhan and Luo, Ziyang and Chang Yi},
  booktitle={Proceedings of the 29th International Conference on Computational Linguistics (COLING)},
  pages={2608--2621},
  month={oct},
  year={2022},
  url={https://aclanthology.org/2022.coling-1.230},
}

PDF: https://aclanthology.org/2022.coling-1.230.pdf

Core symbols most depended-on inside this repo

browse all functions →

Shape

Function 34
Method 20
Class 6

Languages

Python100%

Modules by API surface

Codes/helpers/reader5.py18 symbols
Codes/model/model_exp_fc5.py11 symbols
Codes/helpers/logger.py5 symbols
Codes/helpers/json_util.py5 symbols
Codes/train_exp_fc5_LIAR_RAW2.py4 symbols
Codes/helpers/utils.py4 symbols
Codes/helpers/torch_util.py4 symbols
Codes/eval_exp_fc5.py4 symbols
Codes/helpers/path_util.py3 symbols
Codes/helpers/simple_logger.py2 symbols

For agents

$ claude mcp add CofCED \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact

Ask about this repo answers extend the page