Published May 24, 2023 | Version v2

Better patching using LLM prompting, via Self-Consistency

Authors/Creators

Description

All the scripts and datasets are provided in the folders. Please run the following commands to calculate the results for baseline approach and self-consistency.

For baseline:

python baseline.py --open_key <OpenAI key> --pause_duration 4 --mode BM25 --number_of_fewshot_sample 8

python acc_baseline.py

For SC:

python SC.py --open_key <OpenAI key> --pause_duration 4 --mode BM25 --number_of_fewshot_sample 8

python acc_sc.py

Files

B2Fm.zip

Files (22.3 MB)

Name Size
md5:4036ee3af88d129e07d39b93d18ff47b
15.3 MB Preview Download
md5:0ab7a1b9439eb18fcadad540a0ae8091
7.1 MB Preview Download