Skip to content
/ ProCo Public

Official implementation for "Large Language Models Can Self-Correct with Key Condition Verification" (EMNLP 2024)

License

Notifications You must be signed in to change notification settings

wzy6642/ProCo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Large Language Models Can Self-Correct with Key Condition Verification (EMNLP 2024)

Introduction & Setup

This repository contains the code for the paper Large Language Models Can Self-Correct with Key Condition Verification (Accepted to EMNLP Main 2024). ProCo first prompts an LLM to generate an initial response, then iterates a verify-then-correct process to progressively identify and correct (probably) false responses. Extensive experiments on eight complex reasoning datasets demonstrate the effectiveness and efficiency of ProCo.

image

  • Run run.py to generate the answer to the given question
python run.py --data_index 0

Experimental Results

image

Citing ProCo

@inproceedings{wu2024proco,
  title={Large Language Models Can Self-Correct with Key Condition Verification}, 
  author={Zhenyu Wu and Qingkai Zeng and Zhihan Zhang and Zhaoxuan Tan and Chao Shen and Meng Jiang},
  booktitle={Conference on Empirical Methods in Natural Language Processing (EMNLP)},
  year={2024},
}

License

This project is licensed under the Apache-2.0 License.

About

Official implementation for "Large Language Models Can Self-Correct with Key Condition Verification" (EMNLP 2024)

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published