CodeGeeX: A Pre-Trained Model for Code Generation with Multilingual Benchmarking on HumanEval-X

AI-generated keywords: Artificial General Intelligence Automatic Program Writing Neural Sequential Architectures CodeGeeX Multilingual Model

AI-generated Key Points

  • Automatic program writing is a longstanding challenge in computer science
  • Neural sequential architectures like transformers have significantly improved code generation
  • CodeGeeX is a multilingual model with 13 billion parameters for code generation
  • CodeGeeX outperforms similar models in tasks such as code generation and translation on HumanEval-X benchmark
  • CodeGeeX has been integrated into popular IDEs like Visual Studio Code and JetBrains, benefiting tens of thousands of users per week
  • User study shows that extensions for code generation, completion, translation, and explanation have increased coding efficiency for 83.4% of users
  • The open-source release of CodeGeeX includes its code, model weights (850B tokens version), API, extensions, and HumanEval-X benchmark
  • CodeGeeX is particularly beneficial for researchers and students but may require improvements for professional developers working with closed-source production codes
  • The model's multilinguality has improved coding efficiency across mainstream programming languages like Go, C++, Python,C#, and more
Also access our AI generated: Comprehensive summary, Lay summary, Blog-like article; or ask questions about this paper to our AI assistant.

Authors: 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

License: CC BY 4.0

Abstract: Large pre-trained code generation models, such as OpenAI Codex, can generate syntax- and function-correct code, making the coding of programmers more productive and our pursuit of artificial general intelligence closer. In this paper, we introduce CodeGeeX, a multilingual model with 13 billion parameters for code generation. CodeGeeX is pre-trained on 850 billion tokens of 23 programming languages as of June 2022. Our extensive experiments suggest that CodeGeeX outperforms multilingual code models of similar scale for both the tasks of code generation and translation on HumanEval-X. Building upon HumanEval (Python only), we develop the HumanEval-X benchmark for evaluating multilingual models by hand-writing the solutions in C++, Java, JavaScript, and Go. In addition, we build CodeGeeX-based extensions on Visual Studio Code, JetBrains, and Cloud Studio, generating 4.7 billion tokens for tens of thousands of active users per week. Our user study demonstrates that CodeGeeX can help to increase coding efficiency for 83.4% of its users. Finally, CodeGeeX is publicly accessible and in Sep. 2022, we open-sourced its code, model weights (the version of 850B tokens), API, extensions, and HumanEval-X at https://github.com/THUDM/CodeGeeX.

Submitted to arXiv on 30 Mar. 2023

Ask questions about this paper to our AI assistant

You can also chat with multiple papers at once here.

AI assistant instructions?

Results of the summarizing process for the arXiv paper: 2303.17568v2

In the pursuit of artificial general intelligence, the development of automatic program writing has been a longstanding challenge in computer science. From early deductive synthesis approaches to modern program synthesis systems, efforts have been made to enable machines to generate correct programs based on human intent. With the advent of neural sequential architectures like transformers, code generation has shown significant progress in recent years. Large pre-trained models with billions of parameters have further advanced this field by generating syntactically correct and consistent code. One such model is CodeGeeX, a multilingual model with 13 billion parameters for code generation. Pre-trained on 850 billion tokens from 23 programming languages as of June 2022, CodeGeeX outperforms similar models in tasks such as code generation and translation on HumanEval-X. To evaluate its performance across multiple languages, the HumanEval-X benchmark was developed, requiring hand-written solutions in various programming languages. CodeGeeX has been integrated into popular IDEs like Visual Studio Code and JetBrains, serving tens of thousands of active users per week. Extensions for code generation, completion, translation, and explanation have led to increased coding efficiency for 83.4% of users according to a user study. The model's open-source release in September 2022 includes its code, model weights (850B tokens version), API, extensions, and HumanEval-X benchmark. Furthermore, user feedback indicates that CodeGeeX is particularly beneficial for researchers and students but may require improvements for professional developers working with closed-source production codes. The model's multilinguality has proven helpful in improving coding efficiency across mainstream programming languages like Go, C++, Python,C#, and more. Overall, represents a significant advancement in automatic program writing and holds promise for enhancing productivity in software development workflows.
Created on 20 Nov. 2024

Assess the quality of the AI-generated content by voting

Score: 0

Why do we need votes?

Votes are used to determine whether we need to re-run our summarizing tools. If the count reaches -10, our tools can be restarted.

Similar papers summarized with our AI tools

Navigate through even more similar papers through a

tree representation

Look for similar papers (in beta version)

By clicking on the button above, our algorithm will scan all papers in our database to find the closest based on the contents of the full papers and not just on metadata. Please note that it only works for papers that we have generated summaries for and you can rerun it from time to time to get a more accurate result while our database grows.

Disclaimer: The AI-based summarization tool and virtual assistant provided on this website may not always provide accurate and complete summaries or responses. We encourage you to carefully review and evaluate the generated content to ensure its quality and relevance to your needs.