Home/Compare/CodeBERT vs ChatGLM-6B

Comparison

CodeBERT vs ChatGLM-6B

Verdict

Pick CodeBERT when license: CodeBERT is MIT, ChatGLM-6B is Apache-2.0; pick ChatGLM-6B when license: ChatGLM-6B is Apache-2.0, CodeBERT is MIT.

Markdown twin · CodeBERT alternatives · ChatGLM-6B alternatives

GraphCanon updated today

CodeBERT logo

CodeBERT

microsoft/CodeBERT

2.8kpushed Jul 9, 2023
vs
ChatGLM-6B logo

ChatGLM-6B

zai-org/ChatGLM-6B

41kpushed Jun 27, 2024

Trust & integrity

SignalCodeBERTChatGLM-6B
Maintenance
Dormant (1098d since push)
As of today · github_public_v1
Dormant (744d since push)
As of today · github_public_v1
Provenance
Not a fork · Organization account
As of today · github_public_v1
Not a fork · Organization account
As of today · github_public_v1
Security (OSV)
No lockfile
As of today · none
75 low (75 low)
As of today · osv@v1

Tagline

CodeBERT
CodeBERT
ChatGLM-6B
ChatGLM-6B: An Open Bilingual Dialogue Language Model | 开源双语对话语言模型

Stars

CodeBERT
2.8k
ChatGLM-6B
41k

Forks

CodeBERT
498
ChatGLM-6B
5.1k

Open issues

CodeBERT
86
ChatGLM-6B
609

Language

CodeBERT
Python
ChatGLM-6B
Python

Adopt for

CodeBERT
-
ChatGLM-6B
-

Persona

CodeBERT
-
ChatGLM-6B
-

Runtime

CodeBERT
-
ChatGLM-6B
-

License

CodeBERT
MIT
ChatGLM-6B
Apache-2.0

Last pushed

CodeBERT
Jul 9, 2023
ChatGLM-6B
Jun 27, 2024

Categories

CodeBERT
Data & Retrieval, Model Training, Vector Databases
ChatGLM-6B
Data & Retrieval, LLM Frameworks, Vector Databases

Trust and health

Days since push

CodeBERT
1098d
ChatGLM-6B
744d

Open issues (now)

CodeBERT
86
ChatGLM-6B
609

Security scan

CodeBERT
No lockfile
ChatGLM-6B
75 low (75 low)

Full report

CodeBERT
Trust report
ChatGLM-6B
Trust report

Shared compatibility

  • Python · CodeBERT: Python runtime · ChatGLM-6B: Python runtime

Choose CodeBERT if…

  • License: CodeBERT is MIT, ChatGLM-6B is Apache-2.0.
  • Also covers Model Training.
  • Leaner open-issue backlog (86).

When NOT to use CodeBERT

  • Last GitHub push was 1098 days ago (dormant maintenance, Jul 9, 2023). Validate activity before betting a new project on CodeBERT.
  • Data & Retrieval: Skip a heavy ingestion framework when your corpus is small and static; a script plus the embedding API is enough.
  • Model Training: Try prompting and RAG first; fine-tuning is the answer to style/format, not missing knowledge.
  • Vector Databases: Don't reach for a dedicated vector DB under ~100k vectors; pgvector on your existing Postgres is simpler to operate.

Choose ChatGLM-6B if…

  • License: ChatGLM-6B is Apache-2.0, CodeBERT is MIT.
  • Also covers LLM Frameworks.
  • More GitHub stars (41k vs 2.8k) - visibility, not fit.

When NOT to use ChatGLM-6B

  • Last GitHub push was 745 days ago (dormant maintenance, Jun 27, 2024). Validate activity before betting a new project on ChatGLM-6B.
  • Data & Retrieval: Skip a heavy ingestion framework when your corpus is small and static; a script plus the embedding API is enough.
  • LLM Frameworks: Avoid a framework for a single prompt-and-retrieve call; the abstraction can cost more than it saves.
  • Vector Databases: Don't reach for a dedicated vector DB under ~100k vectors; pgvector on your existing Postgres is simpler to operate.

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 · ChatGLM-6B 41k (synced Jul 11, 2026).

Common questions

What is the difference between CodeBERT and ChatGLM-6B?
CodeBERT: CodeBERT. ChatGLM-6B: ChatGLM-6B: An Open Bilingual Dialogue Language Model | 开源双语对话语言模型. See the comparison table for live GitHub stats and shared categories.
When should I choose CodeBERT over ChatGLM-6B?
Choose CodeBERT over ChatGLM-6B when License: CodeBERT is MIT, ChatGLM-6B is Apache-2.0; Also covers Model Training; Leaner open-issue backlog (86).
When should I choose ChatGLM-6B over CodeBERT?
Choose ChatGLM-6B over CodeBERT when License: ChatGLM-6B is Apache-2.0, CodeBERT is MIT; Also covers LLM Frameworks; More GitHub stars (41k vs 2.8k) - visibility, not fit.
When should I avoid CodeBERT?
Last GitHub push was 1098 days ago (dormant maintenance, Jul 9, 2023). Validate activity before betting a new project on CodeBERT. Data & Retrieval: Skip a heavy ingestion framework when your corpus is small and static; a script plus the embedding API is enough. Model Training: Try prompting and RAG first; fine-tuning is the answer to style/format, not missing knowledge. Vector Databases: Don't reach for a dedicated vector DB under ~100k vectors; pgvector on your existing Postgres is simpler to operate.
When should I avoid ChatGLM-6B?
Last GitHub push was 745 days ago (dormant maintenance, Jun 27, 2024). Validate activity before betting a new project on ChatGLM-6B. Data & Retrieval: Skip a heavy ingestion framework when your corpus is small and static; a script plus the embedding API is enough. LLM Frameworks: Avoid a framework for a single prompt-and-retrieve call; the abstraction can cost more than it saves. Vector Databases: Don't reach for a dedicated vector DB under ~100k vectors; pgvector on your existing Postgres is simpler to operate.
Is CodeBERT or ChatGLM-6B more popular on GitHub?
ChatGLM-6B has more GitHub stars (41,035 vs 2,785). Stars measure visibility, not whether either tool fits your constraints.
Are CodeBERT and ChatGLM-6B open source?
Yes - both are open-source projects on GitHub (CodeBERT: MIT, ChatGLM-6B: Apache-2.0).
Where can I find alternatives to CodeBERT or ChatGLM-6B?
GraphCanon lists graph-backed alternatives at CodeBERT alternatives and ChatGLM-6B alternatives (CodeBERT markdown twin, ChatGLM-6B 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 ChatGLM-6B?
CodeBERT: Dormant. ChatGLM-6B: 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 ChatGLM-6B?
GraphCanon publishes per-repo trust reports with dated maintenance, provenance, and scan summaries: CodeBERT trust report; ChatGLM-6B trust report.