The implementation of EACL 2023 paper "RevUp: Revise and Update Information Bottleneck for Event Representation".
This Pytorch code implements the model and reproduces the results from the paper.
conda create --name revup
conda install cudatoolkit=10.2 -c pytorch
pip install torchtext==0.2.3
pip install jsonlines
pip install wandb
conda install -c conda-forge pytablewriter
conda install pandas scikit-learn
./train.sh
Some parts of the code were inspired by HAQAE implementations.