ChatGLM-6B is an open bilingual (Chinese + English) conversational language model based on the GLM architecture, with approximately 6.2 billion parameters. The project provides inference code, demos (command line, web, API), quantization support for lower memory deployment, and tools for finetuning (e.g., via P-Tuning v2). It is optimized for dialogue and question answering with a balance between performance and deployability in consumer hardware settings. Support for quantized inference (INT4, INT8) to reduce GPU memory requirements. Automatic mode switching between precision/memory tradeoffs (full/quantized).

Features

  • Bilingual dialogue capability (Chinese and English)
  • Support for quantized inference (INT4, INT8) to reduce GPU memory requirements
  • Parameter-efficient finetuning (P-Tuning v2 method)
  • CLI, web demo, and API interfaces included
  • Automatic mode switching between precision / memory tradeoffs (full / quantized)
  • Integration with the Hugging Face / Transformers ecosystem (trust_remote_code, model loading, tokenization)

Project Samples

Project Activity

See All Activity >

License

Apache License V2.0

Follow ChatGLM-6B

ChatGLM-6B Web Site

You Might Also Like
Gen AI apps are built with MongoDB Atlas Icon
Gen AI apps are built with MongoDB Atlas

The database for AI-powered applications.

MongoDB Atlas is the developer-friendly database used to build, scale, and run gen AI and LLM-powered apps—without needing a separate vector database. Atlas offers built-in vector search, global availability across 115+ regions, and flexible document modeling. Start building AI apps faster, all in one place.
Start Free
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of ChatGLM-6B!

Additional Project Details

Programming Language

Python

Related Categories

Python Large Language Models (LLM), Python AI Models

Registered

2025-09-26