Downloads · 30 days
7
22% of all-time downloads
He-Xingwei/LIFE-Corrector-RE
LIFE-Corrector-RE is a machine learning model from He-Xingwei. Use it for the machine learning task on the model card, and read the license before you ship it in a product. The card lists the license as mit.
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/NL…
Downloads · 30 days
7
22% of all-time downloads
All-time downloads
32
Public
Repo size
1.8 GB
Likes
0
Public
Click a slice to open those files.
.bin892 MB · 100%
From the Hugging Face model README
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.
# 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")
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}
}