whatmodel.sh / ChatGLM-6B
ChatGLM-6B
↗ share
+ contribute
ChatGLM-6B is an open-weights language model from Zhipu AI (THUDM), released March 2023. Its published size is 6.2B parameters. Licence: chatglm-6b-license.
Catalogue identity notes
Comparison-only. Arena entry 'chatglm-6b' (text). LMArena's leaderboard table (arena-leaderboard space @6f2eeeb) labels 'chatglm-6b' as 'ChatGLM-6B' (Tsinghua, Non-commercial), linking https://huggingface.co/THUDM/chatglm-6b. Maker repo zai-org/chatglm-6b @bf0f5cf: licence tag none tagged. Parameters: card: 'with 6.2 billion parameters'. Released 2023-03: month the maker's Hugging Face repo was created (createdAt 2023-03-13).
Model information sources
Score within the LMArena (text) comparison set only.
$ how it compares
The LLMs ranked either side of ChatGLM-6B, out of 897 with a score, then more from Zhipu AI (THUDM).
| # | model | score | where | ||
|---|---|---|---|---|---|
| 840 | 25±1 | local | |||
| 841 | 25±1 | local | |||
| 842 | 25±1 | local | |||
| 843 | 24±1 | local | |||
| 844 | 24±1 | local | |||
| more from Zhipu AI (THUDM) | |||||
| 379 | 54±4 | local | |||
| 522 | 47±7 | comparison only | |||
| 609 | 44±3 | local | |||
$ what it's good at
coding▁▃▁▃▆▇█▆▆▃▃▁ #471 of 474 * · 13% of its score · 1 test
Trails GPT-Neo 2.7B, Phi-1 (1.3B), Pythia 6.9B here, though they rank lower overall.
chat & writing▃▁▁▃▅▄▆█▇▇▇▃ #403 of 405 · 56% of its score · 4 tests
Trails Gemma 3 270M IT, SmolLM2 360M Instruct here, though they rank lower overall.
| test | result | vs the others in its run | counts |
|---|---|---|---|
| LMArena (text) | 996.0 ✎ | ▃▁▁▂▃▂▃▆▆▇█▃ beats 4/388 | 21% |
| Polyrating rating (bias-aware re-fit of Chatbot Arena votes, mid-2024) | 874.0 ✎ | ▃▁▂▁▃▇█▆▇▄▂▂ beats 3/95 | 20% |
| MT-Bench (GPT-4 single-answer grading, LMSYS runs) | 4.5000 MT-Bench score (1-10) ✎ | ▆▂▂▆▆▄██▂▄▄▆ beats 6/28 | 15% |
| MixInstruct GPT-Rank (LLM-Blender, mean rank among 11 instruction-tuned LLMs, ChatGPT pairwise judge) | 5.6300 mean rank (1-11) ✎ | █···▄··▄···▄ beats 3/4 | 0.0% |
other tests6 not in a task · 29% of its score
| test | result | vs the others in its run | counts |
|---|---|---|---|
| BIG-Bench Hard | 31.3% ✎ | ███··█·█·█·█ beats 2/6 | 14% |
| MMLU | 36.1% ✎ | ▄▄·▄···▄▄·██ beats 4/8 | 8.2% |
| API-Bank evaluation system, zero-shot API-call correctness (Total) | 16.4% ✎ | ▄······█··▄▄ beats 2/4 | 2.7% |
| Conic10K mathQA (zero-shot CoT) | 1.5% ✎ | █··▄·······▄ beats 2/3 | 2.1% |
| CAIL charge prediction, zero-shot open question (accuracy) | 41.4% ✎ | █···█··█···█ beats 0/3 | 1.2% |
| MenatQA (all factors), exact match, zero-shot | 3.8% ✎ | ▃····▂··▂·█▄ beats 0/8 | 1.2% |
$ where to run it
Memory is what a version takes in GPU memory (or a Mac's unified memory) with an 8k-token conversation. With less, it runs partly from system RAM, more slowly. Enter your machine to see what runs at full speed.
Other ways to run it
- Run it as published · needs 15.6 GB memory, 13.4 GB download, NVIDIA only · from huggingface.co/zai-org
pip install protobuf==3.20.0 transformers==4.27.1 icetk cpm_kernels torch && python -c "from transformers import AutoTokenizer, AutoModel; t=AutoTokenizer.from_pretrained('THUDM/chatglm-6b', trust_remote_code=True); m=AutoModel.from_pretrained('THUDM/chatglm-6b', trust_remote_code=True).half().cuda().eval(); print(m.chat(t, '你好', history=[])[0])"
Model repository and documentation: huggingface.co/zai-org ↗
$ how the score was worked out · InstructEval (DeCLaRe Lab) RE… 35%, LMArena leaderboard dataset 21%, Polyrating: A Cost-Effective… 20% and 6 more
Each result implies a score on its own, after adjusting for how hard its test is and who ran it. The score is their weighted average, with a small pull toward the middle for thinly tested models. Each test's weight is its counts column above; here it's added up by who ran the tests. How it works
$ improve this page
Use a short GitHub form or edit the data through a pull request. Every number needs a source; here's which ones we can use.
data updated · sources and licences · json