Skip to content

cx-hub/MetaCoder

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Here are the code and data.

Generate code

  • MetaCoder.py

Generate Function Call

  • get_function_call.py

Call LLMs

  • llmcaller.py

Other Python files

  • Zero-Shot
  • Few-Shot
  • CoT

Test

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

Notice

  1. Add API key to access LLMs.
  2. Add Path to run the Python file.
  3. There are lots C++ and Java lib to add, or you will get a lower result. Our results are in data folder.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published