CodeApex: A Bilingual Programming Evaluation Benchmark for Large Language Models
Lingyue Fu, Huacan Chai, Shuang Luo, Kounianhua Du, Weiming Zhang,, Longteng Fan, Jiayi Lei, Renting Rui, Jianghao Lin, Yuchen Fang, Yifan Liu,, Jingkuan Wang, Siyuan Qi, Kangning Zhang, Weinan Zhang, Yong Yu

TL;DR
CodeApex is a bilingual benchmark dataset designed to evaluate large language models' programming comprehension, code generation, and correction abilities, revealing current capabilities and gaps compared to human performance.
Contribution
The paper introduces CodeApex, a comprehensive bilingual benchmark dataset for assessing LLMs' programming skills across multiple tasks, which is novel in scope and focus.
Findings
GPT-4 achieves up to 69% accuracy in programming tasks.
Current LLMs still lag behind human performance.
CodeApex provides a standardized evaluation framework for LLM coding abilities.
Abstract
With the emergence of Large Language Models (LLMs), there has been a significant improvement in the programming capabilities of models, attracting growing attention from researchers. Evaluating the programming capabilities of LLMs is crucial as it reflects the multifaceted abilities of LLMs, and it has numerous downstream applications. In this paper, we propose CodeApex, a bilingual benchmark dataset focusing on the programming comprehension, code generation, and code correction abilities of LLMs. Programming comprehension task tests LLMs on multiple-choice exam questions covering conceptual understanding, commonsense reasoning, and multi-hop reasoning. The code generation task evaluates LLMs through completing C++ functions based on provided descriptions and prototypes. The code correction task asks LLMs to fix real-world erroneous code segments with different error messages. We…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Code & Models
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsNatural Language Processing Techniques · Topic Modeling · Text Readability and Simplification
MethodsPosition-Wise Feed-Forward Layer · Absolute Position Encodings · Label Smoothing · Transformer · GPT-4 · Attention Is All You Need · Cosine Annealing · Softmax · Linear Layer · Multi-Head Attention
