Source code for our paper : Language Memory Can Aid Unsupervised Fact Error Correction.
Click the links below to view our checkpoints
1. Install the following packages using Pip or Conda under this environment
Python==3.9
Pytorch
transformers
We provide the version file requirements.txt
of all our used packages, if you have any problems configuring the environment, please refer to this document.
- First, use
git clone
to download this project:
git clone https://github.com/NEUIR/MFEC
cd MFEC
- Download link for data and model
I will show you how to reproduce the results in the MFEC paper.
- Go to the
model
folder and train the MFEC model checkpoint:
cd model
bash train.sh
- For the FEVER and SCIFACT dataset: Go to the
inference
folder and inference on the MFEC model:
cd inference
bash inference_final.sh
- These experimental results are shown in Table 1 of our paper.
- Go to the
evals
folder and evaluate model performance as follow:
cd evals
bash evals.sh
python chatgpt_gpteval.py
python sentencebert.py
If you have questions, suggestions, and bug reports, please email: