LLM EXPLORER 59,358 MODELS INDEXED

Codegeex2 6B by THUDM

By THUDM · 119 downloads

Codegeex2 6B is an open-source language model by THUDM. Features: 6b LLM, VRAM: 12.5GB, LLM Explorer Score: 0.09, HumanEval: 33.5.

  Arxiv:2303.17568   Chatglm   Codegeex   Custom code   En   Endpoints compatible   Glm   Pytorch   Region:us   Sharded   Thudm   Zh
Model Card on HF πŸ€—: https://huggingface.co/THUDM/codegeex2-6b 

Codegeex2 6B Parameters and Internals

Model Type 
Multilingual Code Generation
Use Cases 
Areas:
Research, Commercial Applications
Applications:
Coding assistants, Code generation, Code translation
Primary Use Cases:
Code generation in various languages, Automated code completion, AI-assisted programming
Limitations:
Advised against use in critical code deployments without review
Additional Notes 
CodeGeeX2 significantly improves over the first generation, adding more powerful features and multilingual support.
Supported Languages 
zh (Chinese), en (English)
Training Details 
Data Sources:
Various code sources for pre-training
Data Volume:
600B code tokens
Methodology:
Based on ChatGLM2 architecture.
Context Length:
8192
Model Architecture:
ChatGLM2 with additional code pre-training
Input Output 
Input Format:
Language tagged code prompts
Accepted Modalities:
Textual code inputs
Output Format:
Generated code
Performance Tips:
Adding language tags to prompts can improve performance.
LLM NameCodegeex2 6B
Repository πŸ€—https://huggingface.co/THUDM/codegeex2-6b 
Model Size6b
Required VRAM12.5 GB
Updated2025-07-28
MaintainerTHUDM
Model Typechatglm
Model Files  1.8 GB: 1-of-7   2.0 GB: 2-of-7   1.9 GB: 3-of-7   1.8 GB: 4-of-7   2.0 GB: 5-of-7   1.9 GB: 6-of-7   1.1 GB: 7-of-7
Supported Languageszh en
Model ArchitectureChatGLMModel
Transformers Version4.30.2
Tokenizer ClassChatGLMTokenizer
Torch Data Typebfloat16

Best Alternatives to Codegeex2 6B

Best Alternatives
Context / RAM
Downloads
Likes
Chatglm3 6B0K / 12.5 GB6591541138
Chatglm2 6B0K / 12.5 GB6173252050
Chatglm2 6B0K / 12.5 GB4476652057
Chatglm3 6B0K / 12.5 GB877141166
Chatglm 6B0K / 13.5 GB12972903
Chatglm 6B0K / 13.5 GB28162862
Codegeex2 6B0K / 12.5 GB435258
Octogeex0K / 12.5 GB15622
Note: green Score (e.g. "73.2") means that the model is better than THUDM/codegeex2-6b.