File size: 1,066 Bytes
afd0ecf
 
 
 
 
a3e5265
 
 
 
 
 
 
 
 
afd0ecf
 
 
 
 
 
 
 
 
 
 
 
25d62e8
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
---
license: 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/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](https://ojs.aaai.org/index.php/AAAI/article/view/29778/):
```bash

@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}
}