Published May 24, 2023
| Version v2
Conference paper
Open
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