Skip to content

ccqq77/unnatural-error-correction

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Unnatural Error Correction: GPT-4 Can Almost Perfectly Handle Unnatural Scrambled Text

Code for the paper Unnatural Error Correction: GPT-4 Can Almost Perfectly Handle Unnatural Scrambled Text.

@inproceedings{cao2023unnatural,
  title={Unnatural Error Correction: GPT-4 Can Almost Perfectly Handle Unnatural Scrambled Text},
  author={Cao, Qi and Kojima, Takeshi and Matsuo, Yutaka and Iwasawa, Yusuke},
  booktitle={Proceedings of the 2023 Conference on Empirical Methods in Natural Language Processing},
  pages={8898--8913},
  year={2023}
}

Usage

Download the original datasets and create Scrambled Bench:

python create.py --dataset realtimeQA
python create.py --dataset DREAM
python create.py --dataset AQuA

Run the experiments using different models in different settings, for example:

python evaluate.py --task scrambled_rec --dataset scrambled_realtimeQA --method zero-shot --model gpt-4-0314 --api_key YOUR_OPENAI_KEY

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages