McEval: Massively Multilingual Code Evaluation (2406.07436v1)
Abstract: Code LLMs have shown remarkable advances in code understanding, completion, and generation tasks. Programming benchmarks, comprised of a selection of code challenges and corresponding test cases, serve as a standard to evaluate the capability of different LLMs in such tasks. However, most existing benchmarks primarily focus on Python and are still restricted to a limited number of languages, where other languages are translated from the Python samples (e.g. MultiPL-E) degrading the data diversity. To further facilitate the research of code LLMs, we propose a massively multilingual code benchmark covering 40 programming languages (McEval) with 16K test samples, which substantially pushes the limits of code LLMs in multilingual scenarios. The benchmark contains challenging code completion, understanding, and generation evaluation tasks with finely curated massively multilingual instruction corpora McEval-Instruct. In addition, we introduce an effective multilingual coder mCoder trained on McEval-Instruct to support multilingual programming language generation. Extensive experimental results on McEval show that there is still a difficult journey between open-source models and closed-source LLMs (e.g. GPT-series models) in numerous languages. The instruction corpora, evaluation benchmark, and leaderboard are available at \url{https://mceval.github.io/}.
- Linzheng Chai (16 papers)
- Shukai Liu (11 papers)
- Jian Yang (503 papers)
- Yuwei Yin (21 papers)
- Ke Jin (22 papers)
- Jiaheng Liu (100 papers)
- Tao Sun (143 papers)
- Ge Zhang (170 papers)
- Changyu Ren (21 papers)
- Hongcheng Guo (39 papers)
- Zekun Wang (50 papers)
- Boyang Wang (39 papers)
- Xianjie Wu (7 papers)
- Bing Wang (246 papers)
- Tongliang Li (18 papers)
- Liqun Yang (18 papers)
- Sufeng Duan (13 papers)
- Zhoujun Li (122 papers)