Codegeex2 6B by THUDM

 ยป  All LLMs  ยป  THUDM  ยป  Codegeex2 6B   URL Share it on

  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 Benchmarks

Codegeex2 6B (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-02-05
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
Chatglm2 6B0K / 12.5 GB6856782038
Chatglm3 6B0K / 12.5 GB304621105
Chatglm 6B0K / 13.5 GB86632850
Octogeex0K / 12.5 GB10822
Note: green Score (e.g. "73.2") means that the model is better than THUDM/codegeex2-6b.

Rank the Codegeex2 6B Capabilities

๐Ÿ†˜ Have you tried this model? Rate its performance. This feedback would greatly assist ML community in identifying the most suitable model for their needs. Your contribution really does make a difference! ๐ŸŒŸ

Instruction Following and Task Automation  
Factuality and Completeness of Knowledge  
Censorship and Alignment  
Data Analysis and Insight Generation  
Text Generation  
Text Summarization and Feature Extraction  
Code Generation  
Multi-Language Support and Translation  

What open-source LLMs or SLMs are you in search of? 42577 in total.

Our Social Media →  
Original data from HuggingFace, OpenCompass and various public git repos.
Release v20241227