whatmodel.sh / Falcon 40B (base)
Falcon 40B (base)
↗ share
+ contribute
Falcon 40B (base) is an open-weights language model from TII, released May 2023. Its published size is 41.8B parameters and a 2k-token context window. Licence: apache-2.0.
Catalogue identity notes
Pretrained Falcon-40B (not falcon-40b-instruct).
Score within the LMArena (text) comparison set only.
$ how it compares
The LLMs ranked either side of Falcon 40B (base), out of 897 with a score, then more from TII.
| # | model | score | where | ||
|---|---|---|---|---|---|
| 740 | 36±2 | local | |||
| 741 | 36±2 | local | |||
| 742 | 36±1 | local | |||
| 743 | 36±1 | local | |||
| 744 | 36±2 | local | |||
| more from TII | |||||
| 261 | 59±1 | local | |||
| 349 | 55±3 | local | |||
| 516 | 47±3 | local | |||
$ what it's good at
coding▁▁▁▃▆▇█▆▆▃▃▁ #448 of 474 * · 17% of its score · 2 tests
Beats Qwen3.5 2B, Molmo 7B-D (0924), Tulu 2 7B here, though they rank higher overall. Trails Granite 3.0 1B-A400M Instruct, Llama 3.2 1B Instruct, SmolLM2 1.7B Instruct here, though they rank lower overall.
math▁▁▃▅█▆▅█▄▁▁▁ #334 of 440 * · 10% of its score · 1 test
Beats GPT-4 (0613), Athene-70B, Gemma 2 27B IT here, though they rank higher overall. Trails Stable Code 3B here, though they rank lower overall.
other tests13 not in a task · 72% of its score
| test | result | vs the others in its run | counts |
|---|---|---|---|
| BIG-Bench Hard | 36.2% ✎ | ▁▁▁▁▂▄▅▆█▃▃▁ beats 26/155 | 15% |
| Natural Questions (closed book) | 32.0% ✎ | ▁·▁·▁▂▁▂·▅▂█ beats 27/28 | 12% |
| ARC Challenge | 57.7% ✎ | ▄▁▁▂▁▄█▇▃▂▃▂ beats 102/140 | 9.1% |
| ImageNetVC visual commonsense, text-only LLM average (0/5-shot) | 61.7% ✎ | ▂·▄·▂█▄▄█▄▂▆ beats 20/21 | 9.0% |
| MMLU | 53.5% ✎ | ▁▁▁▁▁▂▂▅██▆▄ beats 62/215 | 8.3% |
| Factual knowledge recall, Premium2k exact match (zero-shot) | 26.6% ✎ | ▅····▃▅·██·█ beats 8/13 | 6.6% |
| Factual knowledge recall, Premium2k exact match (10-shot) | 42.3% ✎ | ▃▅▃··▅▃·█▃▃▅ beats 9/13 | 3.9% |
| Open PT-LLM Leaderboard average (9 Portuguese tasks) | 60.3% ✎ | ▃▁▁▁▁▁▁▁▃█▅▁ beats 91/276 | 2.6% |
5 more tests
| test | result | vs the others in its run | counts |
|---|---|---|---|
| C-Eval | 40.3% ✎ | ▁···▁▁▃▁▂▂▃█ beats 3/33 | 2.5% |
| This is not a Dataset (negation), zero-shot accuracy | 49.7% ✎ | █▁····▃▁·▁·▁ beats 0/14 | 2.3% |
| COPA | 84.4% ✎ | ▅·▃·▃··█▃··▃ beats 5/8 | 0.6% |
| TruthfulQA MC2 | 41.6% ✎ | ▅▃█▆▁▂▅···▁▁ beats 12/31 | 0.4% |
| IndoMMLU (zero-shot) | 32.1% ✎ | ▅▃▅··▃···▃▃█ beats 6/10 | 0.3% |
$ 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 Falcon 40B (base) · needs 28.3 GB memory, 25.5 GB download · from huggingface.co/mradermacherchat in the terminal
llama cli -hf mradermacher/falcon-40b-GGUF:Q4_K_M - Or start a local server and open the address it prints (http://localhost:9931)
llama serve -hf mradermacher/falcon-40b-GGUF:Q4_K_M
LM Studio
version
- Install LM Studio · Open the app once before using the lms command.
- Run Falcon 40B (base) · needs 28.3 GB memory, 25.5 GB download · from huggingface.co/mradermacher
- Or download it in the terminal
lms get https://huggingface.co/mradermacher/falcon-40b-GGUF@Q4_K_M -y - Then run lms ls to see its name, and lms chat followed by that name
Ollama
- Install Ollama
download it (macOS / Windows) ↗
Linuxcurl -fsSL https://ollama.com/install.sh | sh - Run Falcon 40B (base) · needs 26.5 GB memory, 23.8 GB download · from ollama.comchat in the terminal
ollama run falcon:40b-text
Other ways to run it
- Run it as published · needs 89.4 GB memory, 83.7 GB download · from huggingface.co/tiiuae (official)
uv run --with torch --with 'transformers<5' --with accelerate python -c "from transformers import pipeline; print(pipeline('text-generation', model='tiiuae/falcon-40b', torch_dtype='auto', device_map='auto')('Once upon a time', max_new_tokens=40)[0]['generated_text'])"
Model repository and documentation: huggingface.co/tiiuae ↗
$ how the score was worked out · MiniCPM: Unveiling the Potent… 62%, Hallucinations Leaderboard re… 12%, Towards a Holistic Evaluation… 10% and 5 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