Yifan-Song793 / InfoCL

Findings of EMNLP 2023: InfoCL: Alleviating Catastrophic Forgetting in Continual Text Classification from An Information Theoretic Perspective

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

InfoCL

Code for Findings of EMNLP 2023: InfoCL: Alleviating Catastrophic Forgetting in Continual Text Classification from An Information Theoretic Perspective

Setup

pip install -r requirements.txt

Run

# FewRel
python main.py +task_args=FewRel

# TACRED
python main.py +task_args=TACRED

# MAVEN
python main.py +task_args=MAVEN

# HWU64
python main.py +task_args=HWU64

Citation

If you find this repo useful, please cite us.

@misc{song2023infocl,
      title={InfoCL: Alleviating Catastrophic Forgetting in Continual Text Classification from An Information Theoretic Perspective}, 
      author={Yifan Song and Peiyi Wang and Weimin Xiong and Dawei Zhu and Tianyu Liu and Zhifang Sui and Sujian Li},
      year={2023},
      eprint={2310.06362},
      archivePrefix={arXiv},
      primaryClass={cs.CL}
}

About

Findings of EMNLP 2023: InfoCL: Alleviating Catastrophic Forgetting in Continual Text Classification from An Information Theoretic Perspective


Languages

Language:Python 98.0%Language:Jupyter Notebook 2.0%