CodeGeeX2 is the second-generation multilingual code generation model from ZhipuAI, built upon the ChatGLM2-6B architecture and trained on 600B code tokens. Compared to the first generation, it delivers a significant boost in programming ability across multiple languages, outperforming even larger models like StarCoder-15B in some benchmarks despite having only 6B parameters. The model excels at code generation, translation, summarization, debugging, and comment generation, and it supports over 100 programming languages. With improved inference efficiency, quantization options, and multi-query/flash attention, CodeGeeX2 achieves faster generation speeds and lightweight deployment, requiring as little as 6GB GPU memory at INT4 precision. Its backend powers the CodeGeeX IDE plugins for VS Code, JetBrains, and other editors, offering developers interactive AI assistance with features like infilling and cross-file completion.

Features

  • Trained on 600B code tokens with significant multilingual coding improvements
  • Surpasses larger models (e.g., StarCoder-15B) on benchmarks like HumanEval-X
  • Efficient inference with Flash Attention and Multi-Query Attention
  • Supports 100+ programming languages with infilling and cross-file completion
  • Lightweight deployment with INT4 quantization needing ~6GB GPU memory
  • Integrates into IDEs (VS Code, JetBrains, PyCharm, WebStorm, etc.) via CodeGeeX plugin

Project Samples

Project Activity

See All Activity >

License

Apache License V2.0

Follow CodeGeeX2

CodeGeeX2 Web Site

Other Useful Business Software
Build Securely on AWS with Proven Frameworks Icon
Build Securely on AWS with Proven Frameworks

Lay a foundation for success with Tested Reference Architectures developed by Fortinet’s experts. Learn more in this white paper.

Moving to the cloud brings new challenges. How can you manage a larger attack surface while ensuring great network performance? Turn to Fortinet’s Tested Reference Architectures, blueprints for designing and securing cloud environments built by cybersecurity experts. Learn more and explore use cases in this white paper.
Download Now
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of CodeGeeX2!

Additional Project Details

Operating Systems

Linux, Mac, Windows

Programming Language

Python, Unix Shell

Related Categories

Unix Shell Large Language Models (LLM), Unix Shell AI Coding Tool, Unix Shell AI Models, Python Large Language Models (LLM), Python AI Coding Tool, Python AI Models

Registered

2025-10-04