Home/Compare/CodeBERT vs CodeGeeX

Comparison

CodeBERT vs CodeGeeX

Verdict

Unverified catalog guidance: CodeBERT: CodeBERT is an advanced pre-trained model for programming and natural language tasks in multiple languages like Python and Java. CodeGeeX: CodeGeeX is an open-source multilingual code generation model that supports both Mindspore and PyTorch frameworks, making it suitable for developers working with Ascend 910 AI Processors or GPU platforms.

Markdown twin · CodeBERT alternatives · CodeGeeX alternatives

GraphCanon updated Oct 8, 2026

CodeBERT logo

CodeBERT

microsoft/CodeBERT

★ 2.8kpushed Jul 9, 2023
vs
CodeGeeX logo

CodeGeeX

zai-org/CodeGeeX

★ 8.8kpushed Aug 13, 2024

Trust & integrity

SignalCodeBERTCodeGeeX
Maintenance
Dormant (1186d since push)
As of Oct 8, 2026 · github_public_v1
Dormant (766d since push)
As of Sep 18, 2026 · github_public_v1
Provenance
Not a fork · Organization account
As of Oct 8, 2026 · github_public_v1
Not a fork · Organization account
As of Sep 18, 2026 · github_public_v1
OSV dependency advisories
No lockfile (source not queried)
As of Jul 11, 2026 · osv@v1
Published findings
As of Sep 18, 2026 · osv@v1
deps.dev advisories
Not queried
deps.dev@v1
Not queried
deps.dev@v1
OpenSSF Scorecard
Not queried
openssf-scorecard@v1
Not queried
openssf-scorecard@v1

Tagline

CodeBERT
CodeBERT series models for code pretraining in Python and programming languages
CodeGeeX
CodeGeeX: An Open Multilingual Code Generation Model

Stars

CodeBERT
2.8k
CodeGeeX
8.8k

Forks

CodeBERT
497
CodeGeeX
686

Open issues

CodeBERT
87
CodeGeeX
189

Language

CodeBERT
Python
CodeGeeX
Python

Adopt for

CodeBERT
Unverified catalog guidance: CodeBERT is an advanced pre-trained model for programming and natural language tasks in multiple languages like Python and Java.
CodeGeeX
Unverified catalog guidance: CodeGeeX is an open-source multilingual code generation model that supports both Mindspore and PyTorch frameworks, making it suitable for developers working with Ascend 910 AI Processors or GPU platforms.

Persona

CodeBERT
-
CodeGeeX
-

Runtime

CodeBERT
-
CodeGeeX
-

License

CodeBERT
MIT
CodeGeeX
CodeGeeX is licensed under the Apache-2.0 license, allowing for broad use, modification, and distribution of the code, while the model itself is under a separate license.

Last pushed

CodeBERT
Jul 9, 2023
CodeGeeX
Aug 13, 2024

Categories

CodeBERT
Model Training
CodeGeeX
LLM Frameworks, Model Training

Trust and health

Days since push

CodeBERT
1186d
CodeGeeX
766d

Open issues (recorded)

CodeBERT
87
CodeGeeX
189

Stars delta

CodeBERT
+3 (30d)
CodeGeeX
-3 (30d)

OSV dependency advisories

CodeBERT
No lockfile (source not queried)
CodeGeeX
Published findings

Full report

CodeBERT
Trust report
CodeGeeX
Trust report

Shared compatibility

  • Python · CodeBERT: Python runtime · CodeGeeX: Python runtime

Choose CodeBERT if…

  • License: CodeBERT is MIT, CodeGeeX is Apache-2.0.
  • Requirements: Install torch and transformers via pip before using CodeBERT for embedding generation or other tasks; Ensure Python and Hugging Face's transformers framework are available, as they form the core execution environment for utilizing this model.
  • Tags unique to CodeBERT: code pretraining, transformers framework.
  • Unverified catalog guidance: When you need to work on tasks involving both programming and natural language processing across six different programming languages: Python, Java, JavaScript, PHP, Ruby, Go

When NOT to use CodeBERT

  • Unverified catalog guidance: Avoid for direct mask prediction tasks without MLM (Masked Language Model) fine-tuning as CodeBERT is not natively equipped for such tasks unlike its variant designed with MLM capabilities
  • Unverified catalog guidance: Do not consider it if your project requires pre-training models on a wider variety of programming languages beyond the six supported by this model

Choose CodeGeeX if…

  • License: CodeGeeX is Apache-2.0, CodeBERT is MIT.
  • Requirements: Requires Docker; Requires Python 3.7+, CUDA 11+, PyTorch 1.10+, and DeepSpeed 0.6+.; Supports installation via pip or through a Docker container for quick setup..
  • Tags unique to CodeGeeX: code-generation, code-generation-model, gpu-support, mindspore.
  • Also covers LLM Frameworks.
  • Unverified catalog guidance: When you need a multilingual code generation model that supports both Mindspore and PyTorch frameworks, allowing flexibility between Ascend 910 AI Processors and GPU platforms.

When NOT to use CodeGeeX

  • Unverified catalog guidance: If your project is strictly limited to TensorFlow or other frameworks not supported by CodeGeeX, as it primarily supports Mindspore and PyTorch.
  • Unverified catalog guidance: When your development environment does not support Python 3.7+, CUDA 11+, PyTorch 1.10+, or DeepSpeed 0.6+, as these are the minimum requirements for running CodeGeeX.
  • Unverified catalog guidance: If you are looking for a model that does not require specific hardware like Ascend 910 AI Processors or GPUs, as CodeGeeX is optimized for these platforms.

Explore

Sources

Every stat on this page traces to a dated GitHub sync, license file, enrichment field, or trust scan.

GitHub stars on cards: CodeBERT 2.8k · CodeGeeX 8.8k (synced Oct 8, 2026).

Common questions

What is the difference between CodeBERT and CodeGeeX?
CodeBERT: CodeBERT series models for code pretraining in Python and programming languages. CodeGeeX: CodeGeeX: An Open Multilingual Code Generation Model. See the comparison table for recorded GitHub metadata and shared categories.
When should I choose CodeBERT over CodeGeeX?
For CodeBERT, compare these recorded points with CodeGeeX: License: CodeBERT is MIT, CodeGeeX is Apache-2.0; Requirements: Install torch and transformers via pip before using CodeBERT for embedding generation or other tasks; Ensure Python and Hugging Face's transformers framework are available, as they form the core execution environment for utilizing this model; Tags unique to CodeBERT: code pretraining, transformers framework; Unverified catalog guidance: When you need to work on tasks involving both programming and natural language processing across six different programming languages: Python, Java, JavaScript, PHP, Ruby, Go.
When should I choose CodeGeeX over CodeBERT?
For CodeGeeX, compare these recorded points with CodeBERT: License: CodeGeeX is Apache-2.0, CodeBERT is MIT; Requirements: Requires Docker; Requires Python 3.7+, CUDA 11+, PyTorch 1.10+, and DeepSpeed 0.6+.; Supports installation via pip or through a Docker container for quick setup.; Tags unique to CodeGeeX: code-generation, code-generation-model, gpu-support, mindspore; Also covers LLM Frameworks; Unverified catalog guidance: When you need a multilingual code generation model that supports both Mindspore and PyTorch frameworks, allowing flexibility between Ascend 910 AI Processors and GPU platforms.
When should I avoid CodeBERT?
Unverified catalog guidance: Avoid for direct mask prediction tasks without MLM (Masked Language Model) fine-tuning as CodeBERT is not natively equipped for such tasks unlike its variant designed with MLM capabilities Unverified catalog guidance: Do not consider it if your project requires pre-training models on a wider variety of programming languages beyond the six supported by this model
When should I avoid CodeGeeX?
Unverified catalog guidance: If your project is strictly limited to TensorFlow or other frameworks not supported by CodeGeeX, as it primarily supports Mindspore and PyTorch. Unverified catalog guidance: When your development environment does not support Python 3.7+, CUDA 11+, PyTorch 1.10+, or DeepSpeed 0.6+, as these are the minimum requirements for running CodeGeeX. Unverified catalog guidance: If you are looking for a model that does not require specific hardware like Ascend 910 AI Processors or GPUs, as CodeGeeX is optimized for these platforms.
Is CodeBERT or CodeGeeX more popular on GitHub?
CodeGeeX has more recorded GitHub stars (8,806 vs 2,791). Stars measure visibility, not whether either tool fits your constraints.
Which licenses are recorded for CodeBERT and CodeGeeX?
CodeBERT: MIT. CodeGeeX: Apache-2.0. Check each repository's current license and terms before use. Public GitHub hosting alone does not establish open-source licensing.
Where can I find alternatives to CodeBERT or CodeGeeX?
GraphCanon lists candidates at CodeBERT alternatives and CodeGeeX alternatives (CodeBERT markdown twin, CodeGeeX markdown twin). The discovery order uses stored relationship proposals and shared categories; it is not a verified replacement ranking.
Is there a machine-readable version of this comparison?
Yes. The markdown twin at this comparison mirrors this page for agents and LLM crawlers, with the same stats table and FAQ answers.
Which is better maintained, CodeBERT or CodeGeeX?
CodeBERT: Dormant. CodeGeeX: Dormant. Compare maintenance labels, days since push, and release cadence in the trust section below - stars alone do not measure maintenance.
Where are the full trust reports for CodeBERT and CodeGeeX?
GraphCanon publishes per-repo trust reports with dated maintenance, provenance, and scan summaries: CodeBERT trust report; CodeGeeX trust report.

Was this helpful?

Anonymous feedback helps us improve pages and translations.