whatmodel.sh / InternLM2 Chat 20B
InternLM2 Chat 20B
↗ share
+ contribute
InternLM2 Chat 20B is an open-weights language model from Shanghai AI Laboratory (InternLM), released January 2024. Its published size is 19.86B parameters. Licence: other.
Catalogue identity notes
Maker repo internlm/internlm2-chat-20b @d606d41: licence tag other. 19,861,149,696 parameters from the Hugging Face safetensors metadata (dense, so active = total). Released 2024-01: month the maker's Hugging Face repo was created (createdAt 2024-01-10).
Score within the LMArena (text) comparison set only.
$ how it compares
The LLMs ranked either side of InternLM2 Chat 20B, out of 897 with a score, then more from Shanghai AI Laboratory (InternLM).
| # | model | score | where | ||
|---|---|---|---|---|---|
| 644 | 42±1 | local | |||
| 645 | 42±2 | local | |||
| 646 | 42±1 | local | |||
| 647 | 42±1 | local | |||
| 648 | 42±0 | local | |||
| more from Shanghai AI Laboratory (InternLM) | |||||
| 466 | 49±2 | local | |||
| 515 | 47±4 | local | |||
| 537 | 47±2 | local | |||
$ what it's good at
chat & writing▁▁▁▃▅▄▆█▇▇▇▃ #321 of 405 * · 71% of its score · 2 tests
Beats Gemma 4 E4B, OpenThinker3 7B, Code Llama 70B Instruct here, though they rank higher overall. Trails LFM2 350M, Gemma 3 1B, Qwen3 0.6B here, though they rank lower overall.
| test | result | vs the others in its run | counts |
|---|---|---|---|
| AlpacaEval 2 length-controlled | 18.8% ✎ | ▁▂▂▃▆▆█▆▄▄▁▁ beats 49/122 | 45% |
| Arena-Hard (v0.1, GPT-4-1106 judge) | 24.4% ✎ | ▂▁▁▅█▅▄▃▃▅▃▁ beats 23/60 | 25% |
other tests3 not in a task · 29% of its score
| test | result | vs the others in its run | counts |
|---|---|---|---|
| CPTUB average (SpeakLeash, 0-5 judge scale) | 43.0% ✎ | ▁▂▃▂▃█▃▆▅▄▂▃ beats 10/95 | 14% |
| Polish EQ-Bench v2 (SpeakLeash) | 36.5% ✎ | ▁··▁▁▂▃▆▅▆█▆ beats 10/70 | 11% |
| Open PT-LLM Leaderboard average (9 Portuguese tasks) | 70.6% ✎ | ▃▁▁▁▁▁▁▁▂█▅▁ beats 169/276 | 4.0% |
$ 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.
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 InternLM2 Chat 20B · needs 14.1 GB memory, 12 GB download · from huggingface.co/mradermacherchat in the terminal
llama cli -hf mradermacher/internlm2-chat-20b-GGUF:Q4_K_M - Or start a local server and open the address it prints (http://localhost:9931)
llama serve -hf mradermacher/internlm2-chat-20b-GGUF:Q4_K_M
LM Studio
version
- Install LM Studio · Open the app once before using the lms command.
- Run InternLM2 Chat 20B · needs 14.1 GB memory, 12 GB download · from huggingface.co/mradermacher
- Or download it in the terminal
lms get https://huggingface.co/mradermacher/internlm2-chat-20b-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 InternLM2 Chat 20B · needs 14.1 GB memory, 12 GB download · from huggingface.co/mradermacherchat in the terminal
ollama run hf.co/mradermacher/internlm2-chat-20b-GGUF:Q4_K_M
Other ways to run it
- Run it as published · needs 43.2 GB memory, 39.7 GB download · from huggingface.co/internlm (official)
uv run --with torch --with 'transformers<5' --with accelerate python -c "from transformers import pipeline; print(pipeline('text-generation', model='internlm/internlm2-chat-20b', torch_dtype='auto', device_map='auto', trust_remote_code=True)('Once upon a time', max_new_tokens=40)[0]['generated_text'])"
Model repository and documentation: huggingface.co/internlm ↗
$ how the score was worked out · AlpacaEval 1.0 and 2.0 leader… 45%, Arena-Hard-Auto v0.1 leaderbo… 25%, SpeakLeash CPTUB (Complex Pol… 14% and 2 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
| source | results | share of the score |
|---|---|---|
| 1 | 45% | |
| 1 | 25% | |
| 1 | 14% | |
| 1 | 11% | |
| 1 | 4% | |
| prior · pull toward the middle | 1% | |
| weighted average | = 42.3 |
$ 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