Here are the code and data.
MetaCoder.py
get_function_call.py
llmcaller.py
- Zero-Shot
- Few-Shot
- CoT
In test folder, run:
bash evaluate_humaneval_x.sh "Path to the jsonl file" cpp
or
bash evaluate_humaneval_x.sh "Path to the jsonl file" java
- Add API key to access LLMs.
- Add Path to run the Python file.
- There are lots C++ and Java lib to add, or you will get a lower result. Our results are in data folder.