whatmodel.sh / ChatGLM3 6B 128K
ChatGLM3 6B 128K
↗ share
+ contribute
ChatGLM3 6B 128K is an open-weights language model from Zhipu AI (THUDM), released January 2024.
Catalogue identity notes
Maker repo zai-org/chatglm3-6b-128k @6381a64 (requested as THUDM/chatglm3-6b-128k, which the HF API redirects to zai-org/chatglm3-6b-128k): no licence tag on the card. Released 2024-01: month the maker's Hugging Face repo was created (createdAt 2024-01-30).
$ how it compares
The LLMs ranked either side of ChatGLM3 6B 128K, out of 828 with a score, then more from Zhipu AI (THUDM).
| # | model | score | where | ||
|---|---|---|---|---|---|
| 704 | 34±1 | local | |||
| 705 | 34±2 | local | |||
| 706 | 34±4 | local | |||
| 707 | 34±1 | local | |||
| 708 | 34±2 | comparison only | |||
| more from Zhipu AI (THUDM) | |||||
| 349 | 53±5 | local | |||
| 485 | 47±7 | comparison only | |||
| 569 | 43±3 | local | |||
$ what it's good at
other tests3 not in a task · 93% of its score
| test | result | vs the others in its run | counts |
|---|---|---|---|
| RULER 64k | 56.0% ✎ | ▁▃·▁·▂▃▄█▂·▁ beats 1/22 | 52% |
| Open PT-LLM Leaderboard average (9 Portuguese tasks) | 49.0% ✎ | ▃▁▁▁▁▁▁▃▂█▅▁ beats 66/276 | 27% |
| RULER 128k | 42.0% ✎ | ▄··▃▄▂▆██▄▄▂ beats 2/21 | 13% |
$ where to run it
llama.cpp · recommended
version
- Install llama.cpp · Homebrew and winget installs name the commands llama-cli and llama-server instead.macOS / Linux
curl -LsSf https://llama.app/install.sh | shWindowsirm https://llama.app/install.ps1 | iex - Run ChatGLM3 6B 128K · needs ~4.1 GB · from huggingface.co/mradermacherchat in the terminal
llama cli -hf mradermacher/chatglm3-6b-128k-GGUF:Q4_K_M - Or start a local server and open the address it prints (http://localhost:9931)
llama serve -hf mradermacher/chatglm3-6b-128k-GGUF:Q4_K_M
LM Studio
version
- Install LM Studio · Open the app once before using the lms command.
- Run ChatGLM3 6B 128K · needs ~4.1 GB · from huggingface.co/mradermacher
- Or download it in the terminal
lms get https://huggingface.co/mradermacher/chatglm3-6b-128k-GGUF@Q4_K_M -y - Then run lms ls to see its name, and lms chat followed by that name
Ollama
version
- Install Ollama
download it (macOS / Windows) ↗
Linuxcurl -fsSL https://ollama.com/install.sh | sh - Run ChatGLM3 6B 128K · needs ~4.1 GB · from huggingface.co/mradermacherchat in the terminal
ollama run hf.co/mradermacher/chatglm3-6b-128k-GGUF:Q4_K_M
Other ways to run it
- Run it as published · needs ~12.49 GB · from huggingface.co/zai-org
uv run --with torch --with 'transformers<5' --with accelerate python -c "from transformers import pipeline; print(pipeline('text-generation', model='zai-org/chatglm3-6b-128k', torch_dtype='auto', device_map='auto', trust_remote_code=True)('Once upon a time', max_new_tokens=40)[0]['generated_text'])"
Weights and documentation: huggingface.co/zai-org ↗
$ how the score was worked out · NVIDIA RULER repository READM… 65%, Open Portuguese LLM Leaderboa… 27%
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
| source | results | share of the score |
|---|---|---|
| 2 | 65% | |
| 1 | 27% | |
| prior · pull toward the middle | 7% | |
| weighted average | = 33.6 |
$ 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