Skip to content

MapCoder: Multi-Agent Code Generation for Competitive Problem Solving

License

Notifications You must be signed in to change notification settings

wittech/MapCoder

 
 

Repository files navigation

Official MapCoder Repository

Running our project

  1. Clone our project
git clone https://github.com/Md-Ashraful-Pramanik/MapCoder && cd MapCoder
  1. Create a new conda or python virtual environment and run the following command
pip install -r requirements.txt
  1. Set up the .env file by seeing the example.

  2. Run the following command to see the options of running this projects

python src/main.py --help
  1. Finally run this project. An example is given below:
python src/main.py --model ChatGPT --dataset HumanEval --strategy MapCoder
  1. To run this projects with competitive datasets you need to setup the ExecEval for docker execution. Please visit this link to setup a docker container and run it using 5000 port. Change the line 50 of the file src\evaluations\api_comm.py for different setup.

About

MapCoder: Multi-Agent Code Generation for Competitive Problem Solving

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 99.9%
  • Shell 0.1%