zai-org /CodeGeeX

CodeGeeX: An Open Multilingual Code Generation Model (KDD 2023)

★ 8,792⑂ 687👁 86⑃ 42● 247▤ 0
PythonApache-2.0Created 2022-09-17codegeex.cn
+0
Daily
8,792
stars
687
forks
86
watchers
42
prs
247
issues
0
releases

README

🏠 Homepage | 📖 Blog | 🪧 DEMO | 🤖 Download Model | 📄 Paper | 🌐 中文


    🛠 VS Code, Jetbrains, Cloud Studio supported | 👋 Join our Discord, Slack, Telegram, WeChat




🌟 The newest CodeGeeX4 has been released. | 最新一代 CodeGeeX4 模型已经正式开源。

- CodeGeeX: A Multilingual Code Generation Model
  - News
  - Getting Started
    - Installation
    - Model Weights
    - Inference on GPUs
    - VS Code and Jetbrains Extension Guidance
  - CodeGeeX: Architecture, Code Corpus, and Implementation
  - HumanEval-X: A new benchmark for Multilingual Program Synthesis
    - Multilingual Code Generation
    - Crosslingual Code Translation
    - How to use HumanEval-X and contribute to it?
  - License
  - Citation

 CodeGeeX: A Multilingual Code Generation Model

We introduce CodeGeeX, a large-scale multilingual code generation model with 13 billion parameters, pre-trained on a large code corpus of more than 20 programming languages. As of June 22, 2022, CodeGeeX has been trained on more than 850 billion tokens on a cluster of 1,536 Ascend 910 AI Processors. CodeGeeX has several unique features:
 Multilingual Code Generation: CodeGeeX has good performance for generating executable programs in several mainstream programming languages, including Python, C++, Java, JavaScript, Go, etc. DEMO
 Crosslingual Code Translation: CodeGeeX supports the translation of code snippets between different languages. Simply by one click, CodeGeeX can transform a program into any expected language with a high accuracy. DEMO
 Customizable Programming Assistant: CodeGeeX is available in the VS Code extension marketplace for free. It supports code completion, explanation, summarization and more, which empower users with a better coding experience. VS Code Extension
 Open-Source and Cross-Platform: All codes and model weights are publicly available for research purposes. CodeGeeX supports both Ascend and NVIDIA platforms. It supports inference in a single Ascend 910, NVIDIA V100 or A100. Apply Model Weights

HumanEval-X for Realistic Multilingual Benchmarking. To help standardize the evaluation of multilingual code generation and translation, we develop and release the HumanEval-X Benchmark. HumanEval-X is a new multilingual benchmark that contains 820 human-crafted coding problems in 5 programming languages (Python, C++, Java, JavaScript, and Go), each of these problems is associated with tests and solutions. Usage  🤗 Available in HuggingFace



CodeGeeX achieves the highest average performance compared with other open-sourced multilingual baselines. 

 News

 🌟 2023-07-24: CodeGeeX2 has been released, more powerful, faster, and lightweight. Support 100+ languages and many new features.

 2023-5-16: CodeGeeX paper has been accepted by KDD 2023, Long Beach and will be represented during the conference.

 2023-03-30: CodeGeeX paper is now available at arxiv.

 2023-02-14: CodeGeeX now supports Cloud Studio, a fantastic web IDE from Tencent. Click on the badge on top of this page to quickly launch

Top issues

Discussions

Snapshot: 2026-11-16T09:23:14Z · Data license Apache-2.0 · JSON