AI Tools.

Search

by zai-org

chatglm2-6b

ChatGLM2-6B is the second generation of Tsinghua's ChatGLM bilingual (Chinese-English) dialog model, notable for strong Chinese-language chat performance at 6B parameters. It uses a custom GLM architecture rather than standard decoder-only transformers. Requires trust_remote_code=True for loading.

Summary text generated by an automated pipeline from the model card · Not individually reviewed or run by us · How this page is made

From the model card

Fields below are copied from the tags and counters on the HuggingFace repository zai-org/chatglm2-6b at our last fetch. They are set by the uploader, not verified by us; rows with no tag are omitted. How this page is made.

Publisher (HF namespace)
zai-org
Library
Transformers
Framework tags
PyTorch
Language tags
Chinese (zh), English (en)
Papers cited
arXiv:2103.10360, arXiv:2210.02414, arXiv:1911.02150, arXiv:2406.12793
Downloads (HF counter at last fetch)
435,810
Likes (HF counter at last fetch)
2,057
Model card
https://huggingface.co/zai-org/chatglm2-6b

Use cases

  • Chinese-English bilingual conversational AI
  • Chinese-language customer service and Q&A prototyping
  • Research into Chinese NLP dialog capabilities
  • Bilingual document understanding with Chinese-primary input

Pros

  • Strong Chinese-language dialog quality for its parameter count
  • Well-established community with extensive Chinese-language documentation
  • Large HuggingFace community with 2000+ likes reflects real usage
  • PyTorch checkpoint available

Cons

  • Requires trust_remote_code=True — review code before deployment
  • GLM architecture incompatible with many standard transformer optimizations
  • Significantly outperformed by newer models like Qwen2.5 on Chinese benchmarks
  • Custom code increases dependency complexity in production containers

Tags

transformerspytorchchatglmglmthudmcustom_codezhenarxiv:2103.10360arxiv:2210.02414arxiv:1911.02150arxiv:2406.12793endpoints_compatibleregion:us