Comparison
CodeBERT vs CodeT
Verdict
Pick CodeBERT if codeBERT is an advanced pre-trained model for programming and natural language tasks in multiple languages like Python and Java; pick CodeT if projects from Microsoft to upgrade large-scale pretrained language models for programming and reasoning tasks.
Markdown twin · CodeBERT alternatives · CodeT alternatives
GraphCanon updated 2w
Trust & integrity
| Signal | CodeBERT | CodeT |
|---|---|---|
| Maintenance | Dormant (1123d since push) As of 2w · github_public_v1 | Dormant (642d since push) As of 2w · github_public_v1 |
| Provenance | Not a fork · Organization account As of 2w · github_public_v1 | Not a fork · Organization account As of 2w · github_public_v1 |
| OSV dependency advisories | No lockfile (source not queried) As of 1mo · osv@v1 | No lockfile (source not queried) As of 1mo · 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
- CodeT
- CodeT
Stars
- CodeBERT
- 2.8k
- CodeT
- 678
Forks
- CodeBERT
- 497
- CodeT
- 86
Open issues
- CodeBERT
- 86
- CodeT
- 10
Language
- CodeBERT
- Python
- CodeT
- Python
Adopt for
- CodeBERT
- CodeBERT is an advanced pre-trained model for programming and natural language tasks in multiple languages like Python and Java.
- CodeT
- Projects from Microsoft to upgrade large-scale pretrained language models for programming and reasoning tasks.
Persona
- CodeBERT
- -
- CodeT
- -
Runtime
- CodeBERT
- -
- CodeT
- -
License
- CodeBERT
- MIT
- CodeT
- MIT
Last pushed
- CodeBERT
- Jul 9, 2023
- CodeT
- Nov 1, 2024
Categories
- CodeBERT
- Model Training
- CodeT
- Developer Tools, Model Training
Trust and health
Days since push
- CodeBERT
- 1123d
- CodeT
- 642d
Open issues (now)
- CodeBERT
- 86
- CodeT
- 10
Full report
- CodeBERT
- Trust report
- CodeT
- Trust report
Choose CodeBERT if…
- 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.
- 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
- 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
- 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 CodeT if…
- Tags unique to CodeT: language-models, programming, reasoning.
- Also covers Developer Tools.
- When you need advanced code generation with test generation features.
When NOT to use CodeT
- Avoid if your project strictly needs a different programming task than those provided by CodeT projects.
- Skip if your workflow does not support or benefit from an enhanced reasoning capability in models.
Explore
Sources
Every stat on this page traces to a dated GitHub sync, license file, enrichment field, or trust scan.
- GitHub stars (microsoft/CodeBERT) · observed Aug 5, 2026
- GitHub forks (microsoft/CodeBERT) · observed Aug 5, 2026
- Last push (microsoft/CodeBERT) · observed Jul 9, 2023
- License file (MIT) · observed Aug 5, 2026
- Decision facts (enrichment) · observed Jul 17, 2026
- Trust scan (lockfile / OSV) · observed Jul 11, 2026
- GitHub stars (microsoft/CodeT) · observed Aug 5, 2026
- GitHub forks (microsoft/CodeT) · observed Aug 5, 2026
- Last push (microsoft/CodeT) · observed Nov 1, 2024
- License file (MIT) · observed Aug 5, 2026
- Decision facts (enrichment) · observed Jul 17, 2026
- Trust scan (lockfile / OSV) · observed Jul 11, 2026
GitHub stars on cards: CodeBERT 2.8k · CodeT 678 (synced Aug 5, 2026).
Common questions
- What is the difference between CodeBERT and CodeT?
- CodeBERT: CodeBERT series models for code pretraining in Python and programming languages. CodeT: CodeT. See the comparison table for live GitHub stats and shared categories.
- When should I choose CodeBERT over CodeT?
- Choose CodeBERT over CodeT when 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; 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 CodeT over CodeBERT?
- Choose CodeT over CodeBERT when Tags unique to CodeT: language-models, programming, reasoning; Also covers Developer Tools; When you need advanced code generation with test generation features.
- When should I avoid CodeBERT?
- 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 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 CodeT?
- Avoid if your project strictly needs a different programming task than those provided by CodeT projects. Skip if your workflow does not support or benefit from an enhanced reasoning capability in models.
- Is CodeBERT or CodeT more popular on GitHub?
- CodeBERT has more GitHub stars (2,787 vs 678). Stars measure visibility, not whether either tool fits your constraints.
- Are CodeBERT and CodeT open source?
- Yes - both are open-source projects on GitHub (CodeBERT: MIT, CodeT: MIT).
- Where can I find alternatives to CodeBERT or CodeT?
- GraphCanon lists graph-backed alternatives at CodeBERT alternatives and CodeT alternatives (CodeBERT markdown twin, CodeT markdown twin), ranked by typed relationship edges rather than popularity votes.
- 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 CodeT?
- CodeBERT: Dormant. CodeT: 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 CodeT?
- GraphCanon publishes per-repo trust reports with dated maintenance, provenance, and scan summaries: CodeBERT trust report; CodeT trust report.