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).
$ how it compares
The LLMs ranked either side of InternLM2 Chat 20B, out of 828 with a score, then more from Shanghai AI Laboratory (InternLM).
| # | model | score | where | ||
|---|---|---|---|---|---|
| 607 | 41±1 | local | |||
| 608 | 41±1 | local | |||
| 609 | 41±1 | local | |||
| 610 | 41±1 | local | |||
| 611 | 41±1 | local | |||
| more from Shanghai AI Laboratory (InternLM) | |||||
| 446 | 49±2 | local | |||
| 486 | 47±4 | local | |||
| 520 | 46±2 | local | |||
$ what it's good at
chat & writing▁▁▁▃▅▄▅█▆▆▇▃ #310 of 393 * · 73% of its score · 2 tests
Beats Gemma 4 E4B, OpenThinker3 7B, Gemma 4 E2B here, though they rank higher overall. Trails LFM2 350M, Gemma 3 1B, Flan-T5 XXL 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 | 28% |
other tests3 not in a task · 26% of its score
| test | result | vs the others in its run | counts |
|---|---|---|---|
| CPTUB average (SpeakLeash, 0-5 judge scale) | 43.0% ✎ | ▁▂▃▂▃█▃▆▅▄▂▃ beats 10/95 | 13% |
| Polish EQ-Bench v2 (SpeakLeash) | 36.5% ✎ | ▁··▁▁▂▃▆▅▆█▆ beats 10/70 | 10% |
| Open PT-LLM Leaderboard average (9 Portuguese tasks) | 70.6% ✎ | ▃▁▁▁▁▁▁▁▂█▅▁ beats 169/276 | 3.6% |
$ 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 InternLM2 Chat 20B · needs ~12 GB · 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 ~12 GB · 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 ~12 GB · 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 ~39.72 GB · 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'])"
Official weights 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… 28%, SpeakLeash CPTUB (Complex Pol… 13% 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 | 28% | |
| 1 | 13% | |
| 1 | 10% | |
| 1 | 4% | |
| prior · pull toward the middle | 1% | |
| weighted average | = 40.9 |
$ 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