This repository contains the checkpoint for the corrector of LIFE, which is trained on the systhetic data for factual error correction with retrieved evidence. Please refer to the code of LIFE at https://github.com/NLPCode/LIFE for more details.

Usage

# Load the model
from transformers import  AutoConfig, AutoModelForSeq2SeqLM, AutoTokenizer   
tokenizer = AutoTokenizer.from_pretrained("He-Xingwei/LIFE-Corrector-RE")  
model = AutoModelForSeq2SeqLM.from_pretrained("He-Xingwei/LIFE-Corrector-RE")   

Citation

If you want to use this model in your research, please cite our paper:


@inproceedings{he2024improving,
  title={Improving Factual Error Correction by Learning to Inject Factual Errors},
  author={He, Xingwei and Zhang, Qianru and Jin, A-Long and Ma, Jun and Yuan, Yuan and Yiu, Siu Ming},
  booktitle={Proceedings of the AAAI Conference on Artificial Intelligence},
  volume={38},
  number={16},
  pages={18197--18205},
  year={2024}
}
Downloads last month
1
Inference Providers NEW
This model is not currently available via any of the supported third-party Inference Providers, and HF Inference API was unable to determine this model's library.

Collection including He-Xingwei/LIFE-Corrector-RE