Code for Chinese Fake News Detection Model Based on Cross-Modal Attention Mechanism and Weak-supervised Contrastive Learning
pip install -r requirements.txt
-- model: TextEncoder.py, ImageEncoder.py, model.py
-- data: dataloader.py
-- results: logs, results, imgs, models
-- Pretrained: bert_base_chinese, vit_base
-- main.py
-- train.py
-- requirements.txt
Access to the Weibo17 dataset is available by citing the following paper:
Zhiwei Jin, Juan Cao, Han Guo, Yongdong Zhang, Jiebo Luo: Multimodal Fusion with Recurrent Neural Networks for Rumor Detection on Microblogs. ACM Multimedia 2017: 795-816
To access the Weibo21 dataset, you must agree to the terms outlined in the application form.
If you use this code as part of any published research, we'd really appreciate it if you could cite the following paper: