Home Knowledge Base ChatGLM: Bilingual Open Model

ChatGLM: Bilingual Open Model

Overview ChatGLM is a family of open-source LLMs developed by Tsinghua University (KEG & Data Mining Group) in China. It is specifically optimized for Chinese-English bilingual conversation.

Architecture (GLM) It uses the GLM (General Language Model) architecture, which is different from GPT (Decoder-only) or BERT (Encoder-only). It uses Autoregressive Blank Infilling.

Key Models

Significance Before Llama 2 became the global standard, ChatGLM was the go-to open model for the Chinese NLP community. It handles Chinese idioms, culture, and grammar significantly better than western-trained models (GPT-3).

Deployment It is fully integrated into Hugging Face Transformers.

model = AutoModel.from_pretrained("THUDM/chatglm-6b", trust_remote_code=True)
response, history = model.chat(tokenizer, "你好", history=[])
chatglmtsinghuachinese

Explore 500+ Semiconductor & AI Topics

From EUV lithography to CUDA optimization — search the full knowledge base or chat with our AI assistant.