Multilingual Challenge: HumanEval's Global Adaptations
While HumanEval primarily focuses on English-to-Python code generation, its limitations in linguistic scope led to adaptations. mHumanEval extends the benchmark to support prompts in over 200 natural languages and 24 programming languages, while HumanEval-X includes C++, Go, Java, and JavaScript, addressing the need for broader language evaluation.
The top 3
- Widest Multilingual Reach: mHumanEval's 200+ Languages: The mHumanEval benchmark dramatically expands code generation evaluation by supporting prompts in over 200 natural languages and 24 programming languages, comprising a total of 836,400 prompts. It further enhances quality with expert human translations for 15 diverse natural languages.
- GPT-4 Dominates HumanEval-XL's 23-Language Challenge: HumanEval-XL, a benchmark with 80 parallel coding problems across 23 natural languages and 12 programming languages, consistently shows GPT-4 achieving the highest pass@1 scores. GPT-4 often outperforms leading code-specialized models by 20-30 percentage points on this rigorous cross-lingual evaluation.
- MultiPL-E Expands HumanEval to 18 Programming Languages: MultiPL-E HumanEval is a key adaptation that extends OpenAI's original HumanEval benchmark to 18 distinct programming languages, including C++, Java, Go, and Rust. This expansion enables robust cross-lingual evaluation of code generation capabilities through execution-based tests, ensuring consistent problem difficulty across languages.
Sources
Open the full topic