Ad

ChatGLM-6B: Bilingual Dialogue Language Model

ChatGLM-6B is an open bilingual dialogue language model based on GLM architecture with 6B parameters. It excels in Chinese and English conversations, deployable on consumer GPUs with quantization.
Screenshot of zai-org/ChatGLM-6B homepage

ChatGLM-6B is an open-source bilingual dialogue language model built upon the General Language Model (GLM) architecture. With 6 billion parameters, it utilizes quantization techniques enabling local deployment on consumer-grade GPUs, requiring as little as 6GB of VRAM at INT4 quantization. Trained on approximately 1T tokens of bilingual data and fine-tuned with supervised tuning, reinforcement learning from human feedback, and self-training, ChatGLM-6B demonstrates significant improvements in both Chinese and English conversational capabilities. The model is designed to facilitate developer customization for various applications via P-Tuning v2 and offers extended context length capabilities.

ChatGLM-6B is notable for its strong bilingual performance in Chinese and English; its efficient 6B parameter size enables deployment on consumer GPUs; and its extensive training data and advanced fine-tuning methods lead to high-quality conversational responses; it provides flexibility through P-Tuning v2 for fine-tuning; and the projects' commitment to transparency and openness ensures community contributions.

  • Bilingual Support: Supports both Chinese and English language understanding and generation, enabling cross-lingual dialogues. - Architecture: Based on the GLM architecture, leveraging its strengths in pre-training and fine-tuning techniques. - Quantization: Supports INT4 quantization, allowing deployment on consumer-grade GPUs with low memory footprints (as low as 6GB). - P-Tuning v2: Facilitates efficient fine-tuning for specific tasks and domains. - Longer Context: Supports 32k context length, enabling more coherent and context-aware conversations. - Community Focused: Encourages community contributions and actively maintains an open environment for development. - Active Development: Demonstrates continuous improvement and updates, including v1.1 and newer model versions.

ChatGLM-6B is an actively developed project with regular updates and community support. The maintainers prioritize quality and are committed to addressing limitations. While still under development, it has gained the trust of researchers and developers, evidenced by its widespread usage and contributions from the community. Documentation is actively developed.

ChatGLM-6B benefits researchers, developers, and hobbyists seeking a powerful, open-source bilingual dialogue model. It facilitates a wide range of applications, from chatbot development to language understanding research. Its relatively small size and robust performance enable efficient deployment and experimentation, offering an accessible alternative to larger commercial models.

Languages:
Summarize:
Share:
Stars
41,033
Forks
5,133
Issues
609
Created
3 years ago
Commit
2 years ago
License
APACHE-2.0
Archived
No
Updated 16 days ago

Similar Repositories