Skip to content

Latest commit

 

History

History
25 lines (22 loc) · 741 Bytes

README.md

File metadata and controls

25 lines (22 loc) · 741 Bytes

Implementation of CoT using guidance-ai

Implement CoT using guidance on three reasoning dataset:

Requirement

To run our code, please install all the packages by using the following command:

pip install -r requirement.txt

Run inference

First obtain openai api key, and fill in the blank space in .../run_test.py.

python GSM8K/run_test.py
python ProntoQA/run_test.py
python ProofWriter/run_test.py

The inference results will be save in .../test_result.json.