Skip to content

HITSZ-HLT/TFD

Repository files navigation

TFD

The official implementation for the conference of the EMNLP 2023 paper A Training-Free Debiasing Framework with Counterfactual Reasoning for Conversational Emotion Detection.

venue status

Requirements

  • Python 3.9
  • PyTorch 1.10.1
  • Transformers 4.33.1
  • CUDA 10.2
  • pysentiment 0.2

Preparation

Download multimodal-datasets and save it in ./multimodal-datasets.

Training & Evaluation

python train-erc-text.py

use train-erc-text.yaml to change the parameters.

Citation

If you find our work useful for your research, please kindly cite our paper as follows:

@inproceedings{tu2023training,
  title={A Training-Free Debiasing Framework with Counterfactual Reasoning for Conversational Emotion Detection},
  author={Tu, Geng and Jing, Ran and Liang, Bin and Yang, Min and Wong, Kam-Fai and Xu, Ruifeng},
  booktitle={Proceedings of the 2023 Conference on Empirical Methods in Natural Language Processing},
  pages={15639--15650},
  year={2023}
}

Credits

The code of this repository partly relies on EmoBERTa and CORSAIR. I would like to show my sincere gratitude to the authors behind these contributions.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages