Papers
Topics
Authors
Recent
Detailed Answer
Quick Answer
Concise responses based on abstracts only
Detailed Answer
Well-researched responses based on abstracts and relevant paper content.
Custom Instructions Pro
Preferences or requirements that you'd like Emergent Mind to consider when generating responses
Gemini 2.5 Flash
Gemini 2.5 Flash 77 tok/s
Gemini 2.5 Pro 33 tok/s Pro
GPT-5 Medium 25 tok/s Pro
GPT-5 High 27 tok/s Pro
GPT-4o 75 tok/s Pro
Kimi K2 220 tok/s Pro
GPT OSS 120B 465 tok/s Pro
Claude Sonnet 4 36 tok/s Pro
2000 character limit reached

HumanEval-XL: A Multilingual Code Generation Benchmark for Cross-lingual Natural Language Generalization (2402.16694v2)

Published 26 Feb 2024 in cs.CL, cs.PL, and cs.SE

Abstract: LLMs have made significant progress in generating codes from textual prompts. However, existing benchmarks have mainly concentrated on translating English prompts to multilingual codes or have been constrained to very limited natural languages (NLs). These benchmarks have overlooked the vast landscape of massively multilingual NL to multilingual code, leaving a critical gap in the evaluation of multilingual LLMs. In response, we introduce HumanEval-XL, a massively multilingual code generation benchmark specifically crafted to address this deficiency. HumanEval-XL establishes connections between 23 NLs and 12 programming languages (PLs), and comprises of a collection of 22,080 prompts with an average of 8.33 test cases. By ensuring parallel data across multiple NLs and PLs, HumanEval-XL offers a comprehensive evaluation platform for multilingual LLMs, allowing the assessment of the understanding of different NLs. Our work serves as a pioneering step towards filling the void in evaluating NL generalization in the area of multilingual code generation. We make our evaluation code and data publicly available at \url{https://github.com/FloatAI/humaneval-xl}.

Definition Search Book Streamline Icon: https://streamlinehq.com
References (21)
  1. Multi-lingual evaluation of code generation models. In The Eleventh International Conference on Learning Representations, ICLR 2023, Kigali, Rwanda, May 1-5, 2023. OpenReview.net.
  2. Program synthesis with large language models. arXiv preprint arXiv:2108.07732.
  3. Ernie-code: Beyond english-centric cross-lingual pretraining for programming languages. In Annual Meeting of the Association for Computational Linguistics.
  4. Training and evaluating a jupyter notebook data science assistant.
  5. Evaluating large language models trained on code.
  6. Incoder: A generative model for code infilling and synthesis. In The Eleventh International Conference on Learning Representations, ICLR 2023, Kigali, Rwanda, May 1-5, 2023. OpenReview.net.
  7. Measuring coding challenge competence with apps. NeurIPS.
  8. Training compute-optimal large language models. CoRR, abs/2203.15556.
  9. The state and fate of linguistic diversity and inclusion in the NLP world. In Proceedings of the 58th Annual Meeting of the Association for Computational Linguistics, pages 6282–6293, Online. Association for Computational Linguistics.
  10. Ds-1000: A natural and reliable benchmark for data science code generation. In International Conference on Machine Learning, pages 18319–18345. PMLR.
  11. Starcoder: may the source be with you! CoRR, abs/2305.06161.
  12. Few-shot learning with multilingual generative language models. In Proceedings of the 2022 Conference on Empirical Methods in Natural Language Processing, pages 9019–9052.
  13. Codegen2: Lessons for training llms on programming and natural languages. arXiv preprint arXiv:2305.02309.
  14. Codegen: An open large language model for code with multi-turn program synthesis. ICLR.
  15. OpenAI. 2022. Introducing chatgpt.
  16. OpenAI. 2023. Gpt-4 technical report. ArXiv, abs/2303.08774.
  17. Bloom: A 176b-parameter open-access multilingual language model. ArXiv, abs/2211.05100.
  18. Codet5+: Open code large language models for code understanding and generation. arXiv preprint arXiv:2305.07922.
  19. Execution-based evaluation for open-domain code generation. ArXiv, abs/2212.10481.
  20. Bertscore: Evaluating text generation with bert. In International Conference on Learning Representations.
  21. Codegeex: A pre-trained model for code generation with multilingual benchmarking on humaneval-x. In Proceedings of the 29th ACM SIGKDD Conference on Knowledge Discovery and Data Mining, KDD ’23, page 5673–5684, New York, NY, USA. Association for Computing Machinery.
Citations (20)
List To Do Tasks Checklist Streamline Icon: https://streamlinehq.com

Collections

Sign up for free to add this paper to one or more collections.

Summary

We haven't generated a summary for this paper yet.

Dice Question Streamline Icon: https://streamlinehq.com

Follow-Up Questions

We haven't generated follow-up questions for this paper yet.

X Twitter Logo Streamline Icon: https://streamlinehq.com