Skip to content

kang-ml/chain_of_thought_with_guidance

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

Releases

No releases published

Packages

No packages published

Languages