Home

Awesome

<div align="center"> <h1>👨‍💻 Awesome Code LLM</h1> <a href="https://awesome.re"> <img src="https://awesome.re/badge.svg" alt="Awesome"> </a> <a href="https://img.shields.io/badge/PRs-Welcome-red"> <img src="https://img.shields.io/badge/PRs-Welcome-red" alt="PRs Welcome"> </a> <a href="https://img.shields.io/github/last-commit/huybery/Awesome-Code-LLM?color=green"> <img src="https://img.shields.io/github/last-commit/huybery/Awesome-Code-LLM?color=green" alt="Last Commit"> </a> </div>

🧵 Table of Contents

🚀 Leaderboard

<p align="center"> <b>Central Leaderboard</b> (Sort by HumanEval Pass@1) </p>
ModelParamsHumanEvalMBPPHFSource
GPT-4 + Reflexion?91.077.1paper
GPT-4 (latest)?84.180.0github
CodeQwen1.5-7B-Chat7B83.570.6ckptgithub
DeepSeek-Coder-Instruct33B79.370.0ckptgithub
DeepSeek-Coder-Instruct7B78.665.4ckptgithub
GPT-3.5-Turbo (latest)?76.270.8github
Code-Llama34B62.261.2paper
Pangu-Coder215B61.6paper
WizardCoder-15B15B57.351.8ckptpaper
CodeQwen1.5-7B7B51.861.8ckptgithub
Code-Davinci-002?47.0paper
StarCoder-15B (Prompted)15B40.849.5ckptpaper
PaLM 2-S?37.650.0paper
PaLM-Coder-540B540B36.047.0paper
InstructCodeT5+16B35.0paper
StarCoder-15B15B33.652.7ckptpaper
Code-Cushman-001?33.545.9paper
CodeT5+16B30.9paper
LLaMA2-70B70B29.9ckptpaper
CodeGen-16B-Mono16B29.335.3paper
PaLM-540B540B26.236.8paper
LLaMA-65B65B23.737.7paper
CodeGeeX13B22.924.4paper
LLaMA-33B33B21.730.2paper
CodeGen-16B-Multi16B18.320.9paper
AlphaCode1.1B17.1paper
LeaderboardAccess
Big Code Models Leaderboard[Source]
BIRD[Source]
CanAiCode Leaderboard[Source]
Coding LLMs Leaderboard[Source]
CRUXEval Leaderboard[Source]
EvalPlus[Source]
HumanEval.jl[Source]
InfiCoder-Eval[Source]
InterCode[Source]
Program Synthesis Models Leaderboard[Source]
Spider[Source]

💡 Evaluation Toolkit:

📚 Paper

▶️ Pre-Training

  1. Evaluating Large Language Models Trained on Code Preprint

    [Paper] Mark Chen, Jerry Tworek, Heewoo Jun, Qiming Yuan, Henrique Ponde de Oliveira Pinto. et al. 2021.07

  2. CodeGen: An Open Large Language Model for Code with Multi-Turn Program Synthesis ICLR23

    [Paper] Erik Nijkamp, Bo Pang, Hiroaki Hayashi, Lifu Tu, Huan Wang, Yingbo Zhou, Silvio Savarese, Caiming Xiong. 2022.03

  3. ERNIE-Code: Beyond English-Centric Cross-lingual Pretraining for Programming Languages ACL23 (Findings)

    [Paper][Repo] Yekun Chai, Shuohuan Wang, Chao Pang, Yu Sun, Hao Tian, and Hua Wu. 2022.12

  4. SantaCoder: don't reach for the stars! Preprint

    [Paper] Loubna Ben Allal, Raymond Li, Denis Kocetkov, Chenghao Mou, Christopher Akiki, Carlos Munoz Ferrandis, Niklas Muennighoff. et al. 2023.01

  5. CodeGeeX: A Pre-Trained Model for Code Generation with Multilingual Evaluations on HumanEval-X Preprint

    [Paper] Qinkai Zheng, Xiao Xia, Xu Zou, Yuxiao Dong, Shan Wang, Yufei Xue, Zihan Wang, Lei Shen, Andi Wang, Yang Li, Teng Su, Zhilin Yang, Jie Tang. 2023.03

  6. CodeGen2: Lessons for Training LLMs on Programming and Natural Languages ICLR23

    [Paper] Erik Nijkamp, Hiroaki Hayashi, Caiming Xiong, Silvio Savarese, Yingbo Zhou. 2023.05

  7. StarCoder: may the source be with you! Preprint

    [Paper] Raymond Li, Loubna Ben Allal, Yangtian Zi, Niklas Muennighoff, Denis Kocetkov, Chenghao Mou. et al. 2023.05

  8. CodeT5+: Open Code Large Language Models for Code Understanding and Generation Preprint

    [Paper] Yue Wang, Hung Le, Akhilesh Deepak Gotmare, Nghi D.Q. Bui, Junnan Li, Steven C.H. Hoi. 2023.05

  9. Textbooks Are All You Need Preprint

    [Paper] Suriya Gunasekar, Yi Zhang, Jyoti Aneja, Caio César Teodoro Mendes, Allie Del Giorno, Sivakanth Gopi. et al. 2023.06

  10. Code Llama: Open Foundation Models for Code Preprint

    [Paper] Baptiste Rozière, Jonas Gehring, Fabian Gloeckle, Sten Sootla, Itai Gat. et al. 2023.08

  11. DeepSeek-Coder: When the Large Language Model Meets Programming -- The Rise of Code Intelligence Preprint

    [Paper] Daya Guo, Qihao Zhu, Dejian Yang, Zhenda Xie, Kai Dong, Wentao Zhang, Guanting Chen et al. 2024.01

  12. StarCoder 2 and The Stack v2: The Next Generation Preprint

    [Paper] Anton Lozhkov, Raymond Li, Loubna Ben Allal, Federico Cassano, Joel Lamy-Poirier, Nouamane Tazi, Ao Tang et al. 2024.02

▶️ Instruction Tuning

  1. Code Alpaca: An Instruction-following LLaMA Model trained on code generation instructions

    [Repo] Sahil Chaudhary. 2023

  2. WizardCoder: Empowering Code Large Language Models with Evol-Instruct Preprint

    [Paper] Ziyang Luo, Can Xu, Pu Zhao, Qingfeng Sun, Xiubo Geng, Wenxiang Hu, Chongyang Tao, Jing Ma, Qingwei Lin, Daxin Jiang. 2023.07

  3. OctoPack: Instruction Tuning Code Large Language Models Preprint

    [Paper][Repo] Niklas Muennighoff, Qian Liu, Armel Zebaze, Qinkai Zheng, Binyuan Hui, Terry Yue Zhuo, Swayam Singh, Xiangru Tang, Leandro von Werra, Shayne Longpre. 2023.08

  4. Magicoder: Source Code Is All You Need Preprint

    [Paper][Repo] Yuxiang Wei, Zhe Wang, Jiawei Liu, Yifeng Ding, Lingming Zhang 2023.12

▶️ Alignment with Feedback

  1. CodeRL: Mastering Code Generation through Pretrained Models and Deep Reinforcement Learning NeurIPS22

    [Paper] Hung Le, Yue Wang, Akhilesh Deepak Gotmare, Silvio Savarese, Steven C.H. Hoi. 2022.07

  2. Execution-based Code Generation using Deep Reinforcement Learning TMLR23

    [Paper] Parshin Shojaee, Aneesh Jain, Sindhu Tipirneni, Chandan K. Reddy. 2023.01

  3. RLTF: Reinforcement Learning from Unit Test Feedback Preprint

    [Paper] Jiate Liu, Yiqin Zhu, Kaiwen Xiao, Qiang Fu, Xiao Han, Wei Yang, Deheng Ye. 2023.07

  4. PanGu-Coder2: Boosting Large Language Models for Code with Ranking Feedback Preprint

    [Paper] Bo Shen, Jiaxin Zhang, Taihong Chen, Daoguang Zan, Bing Geng, An Fu, Muhan Zeng, Ailun Yu, Jichuan Ji, Jingyang Zhao, Yuenan Guo, Qianxiang Wang. 2023.07

▶️ Prompting

  1. CodeT: Code Generation with Generated Tests ICLR23

    [Paper] Bei Chen, Fengji Zhang, Anh Nguyen, Daoguang Zan, Zeqi Lin, Jian-Guang Lou, Weizhu Chen. 2022.07

  2. Coder Reviewer Reranking for Code Generation ICML23

    [Paper] Tianyi Zhang, Tao Yu, Tatsunori B Hashimoto, Mike Lewis, Wen-tau Yih, Daniel Fried, Sida I Wang. 2022.11

  3. LEVER: Learning to Verify Language-to-Code Generation with Execution ICML23

    [Paper] Ansong Ni, Srini Iyer, Dragomir Radev, Ves Stoyanov, Wen-tau Yih, Sida I. Wang, Xi Victoria Lin. 2023.02

  4. Teaching Large Language Models to Self-Debug Preprint

    [Paper] Xinyun Chen, Maxwell Lin, Nathanael Schärli, Denny Zhou. 2023.06

  5. Demystifying GPT Self-Repair for Code Generation Preprint

    [Paper] Theo X. Olausson, Jeevana Priya Inala, Chenglong Wang, Jianfeng Gao, Armando Solar-Lezama. 2023.06

  6. SelfEvolve: A Code Evolution Framework via Large Language Models Preprint

    [Paper] Shuyang Jiang, Yuhao Wang, Yu Wang. 2023.06

  7. Debug like a Human: A Large Language Model Debugger via Verifying Runtime Execution Step-by-step ACL24

    [Paper] Li Zhong, Zilong Wang, Jingbo Shang. 2024.02

▶️ Evaluation & Benchmark

  1. Measuring Coding Challenge Competence With APPS NeurIPS21

    Named APPS

    [Paper][Repo] Dan Hendrycks, Steven Basart, Saurav Kadavath, Mantas Mazeika, Akul Arora, Ethan Guo, Collin Burns, Samir Puranik, Horace He, Dawn Song, Jacob Steinhardt. 2021.05

  2. Program Synthesis with Large Language Models Preprint

    Named MBPP

    [Paper] Jacob Austin, Augustus Odena, Maxwell Nye, Maarten Bosma, Henryk Michalewski, David Dohan, Ellen Jiang, Carrie Cai, Michael Terry, Quoc Le, Charles Sutton. 2021.08

  3. DS-1000: A Natural and Reliable Benchmark for Data Science Code Generation ICML23

    [Paper] Yuhang Lai, Chengxi Li, Yiming Wang, Tianyi Zhang, Ruiqi Zhong, Luke Zettlemoyer, Scott Wen-tau Yih, Daniel Fried, Sida Wang, Tao Yu. 2022.11

  4. RepoBench: Benchmarking Repository-Level Code Auto-Completion Systems Preprint

    [Paper] Tianyang Liu, Canwen Xu, Julian McAuley. 2023.06

  5. Can ChatGPT replace StackOverflow? A Study on Robustness and Reliability of Large Language Model Code Generation Preprint

    [Paper] Li Zhong, Zilong Wang. 2023.08

  6. RepoCoder: Repository-Level Code Completion Through Iterative Retrieval and Generation EMNLP23

    [Paper] Fengji Zhang, Bei Chen, Yue Zhang, Jacky Keung, Jin Liu, Daoguang Zan, Yi Mao, Jian-Guang Lou, Weizhu Chen. 2023.10

  7. CrossCodeEval: A Diverse and Multilingual Benchmark for Cross-File Code Completion Neurips23

    [Paper] Yangruibo Ding, Zijian Wang, Wasi Uddin Ahmad, Hantian Ding, Ming Tan, Nihal Jain, Murali Krishna Ramanathan. et al. 2023.11

  8. SWE-bench: Can Language Models Resolve Real-World GitHub Issues? ICLR24

    [Paper] YCarlos E. Jimenez, John Yang, Alexander Wettig, Shunyu Yao, Kexin Pei, Ofir Press, Karthik Narasimhan. 2023.10

  9. DevBench: A Comprehensive Benchmark for Software Development Preprint

    [Paper][Repo] Bowen Li, Wenhan Wu, Ziwei Tang, Lin Shi, John Yang, Jinyang Li, Shunyu Yao, Chen Qian, Binyuan Hui, Qicheng Zhang, Zhiyin Yu, He Du, Ping Yang, Dahua Lin, Chao Peng, Kai Chen 2024.3

  10. LongCoder: A Long-Range Pre-trained Language Model for Code Completion ICML23

    [Paper] Daya Guo, Canwen Xu, Nan Duan, Jian Yin, Julian McAuley. 2023.10

  11. Coeditor: Leveraging Contextual Changes for Multi-round Code Auto-editing Preprint

    [Paper] Jiayi Wei, Greg Durrett, Isil Dillig. 2023.5

  12. Automating Code Review Activities by Large-Scale Pre-training Preprint

    [Paper] JZhiyu Li, Shuai Lu, Daya Guo, Nan Duan, Shailesh Jannu, Grant Jenks, Deep Majumder, Jared Green, Alexey Svyatkovskiy, Shengyu Fu, Neel Sundaresan. 2022.10

  13. BioCoder: A Benchmark for Bioinformatics Code Generation with Large Language Models ISMB 2024

    [Paper] Xiangru Tang, Bill Qian, Rick Gao, Jiakang Chen, Xinyun Chen, Mark Gerstein. 2023.08

▶️ Using LLMs while coding

  1. Awesome-DevAI: A list of resources about using LLMs while building software Awesome

    [Repo] Ty Dunn, Nate Sesti. 2023.10

🙌 Contributors

<a href="https://github.com/huybery"><img src="https://avatars.githubusercontent.com/u/13436140?v=4" width="50" /></a> <a href="https://github.com/Yangjiaxi"><img src="https://avatars.githubusercontent.com/u/6203054?v=4" width="50" /></a> <a href="https://github.com/GanjinZero"><img src="https://avatars.githubusercontent.com/u/19466330?v=4" width="50" /></a> <a href="https://github.com/TyDunn"><img src="https://avatars.githubusercontent.com/u/13314504?v=4" width="50" /></a>

This is an active repository and your contributions are always welcome! If you have any question about this opinionated list, do not hesitate to contact me huybery@gmail.com.

Cite as

@software{awesome-code-llm,
  author = {Binyuan Hui},
  title = {An awesome and curated list of best code-LLM for research},
  howpublished = {\url{https://github.com/huybery/Awesome-Code-LLM}},
  year = 2023,
}

Acknowledgement

This project is inspired by Awesome-LLM.

Star History

Star History Chart

⬆ Back to ToC