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).
$ how it compares
The LLMs ranked either side of Falcon 40B (base), out of 828 with a score, then more from TII.
| # | model | score | where | ||
|---|---|---|---|---|---|
| 695 | 35±1 | local | |||
| 696 | 35±3 | local | |||
| 697 | 35±1 | local | |||
| 698 | 35±1 | local | |||
| 699 | 35±1 | local | |||
| more from TII | |||||
| 233 | 60±1 | local | |||
| 332 | 54±3 | local | |||
| 494 | 46±3 | local | |||
$ what it's good at
coding▁▁▁▃▆██▇▆▄▃▁ #434 of 458 * · 17% of its score · 2 tests
Beats Qwen3.5 2B, Molmo 7B-D (0924), DeepSeek R1 Distill Qwen 1.5B 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▁▂▃▅▆▅▄█▄▁▁▁ #372 of 398 * · 7.2% of its score · 1 test
Beats Command R (03-2024), Molmo 7B-D (0924), Mistral 7B Instruct v0.3 here, though they rank higher overall. Trails SmolLM2 1.7B Instruct, LFM2 350M, Gemma 3 1B here, though they rank lower overall.
other tests10 not in a task · 75% of its score
| test | result | vs the others in its run | counts |
|---|---|---|---|
| Natural Questions (closed book) | 32.0% ✎ | ▁·▁·▁▂▁▂·▅▂█ beats 27/28 | 18% |
| BIG-Bench Hard | 36.2% ✎ | ▁▁▁▁▂▄▅▅█▃▄▁ beats 17/129 | 16% |
| ARC Challenge | 57.7% ✎ | ▆▁▁▂▂▅▇█▄▃▃▂ beats 68/97 | 11% |
| Factual knowledge recall, Premium2k exact match (zero-shot) | 26.6% ✎ | ▅····▃▅·██·█ beats 8/13 | 9.0% |
| MMLU | 53.5% ✎ | ▁▁▁▁▁▂▃▅█▃▆▃ beats 47/183 | 7.6% |
| Factual knowledge recall, Premium2k exact match (10-shot) | 42.3% ✎ | ▃▅▃··▅▃·█▃▃▅ beats 9/13 | 6.4% |
| C-Eval | 40.3% ✎ | ▁···▁▁▃▁▂▂▃█ beats 3/33 | 2.8% |
| Open PT-LLM Leaderboard average (9 Portuguese tasks) | 60.3% ✎ | ▃▁▁▁▁▁▁▁▃█▅▁ beats 91/276 | 2.3% |
2 more tests
| test | result | vs the others in its run | counts |
|---|---|---|---|
| TruthfulQA MC2 | 41.6% ✎ | ▅▃█▆▁▂▅···▁▁ beats 12/31 | 1.0% |
| COPA | 84.4% ✎ | ▅·▃·▃··█▃··▃ beats 5/8 | 0.7% |
$ 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 Falcon 40B (base) · needs ~25.5 GB · 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 ~25.5 GB · 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 ~24 GB · from ollama.comchat in the terminal
ollama run falcon:40b-text
Other ways to run it
- Run it as published · needs ~83.67 GB · 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'])"
Official weights and documentation: huggingface.co/tiiuae ↗
$ how the score was worked out · MiniCPM: Unveiling the Potent… 62%, Hallucinations Leaderboard re… 19%, Towards a Holistic Evaluation… 15% 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 |
|---|---|---|
| 7 | 62% | |
| 2 | 19% | |
| 2 | 15% | |
| 1 | 2% | |
| 1 | 1% | |
| prior · pull toward the middle | 1% | |
| weighted average | = 34.8 |
$ 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