whatmodel.sh / Falcon 40B (base)

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).

36.3±1.1#626 of 743 LLMsfrom 16 benchmark results across 8 sources

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.

#modelscorewhereRAMreleased
740DeepSeek R1 Distill Qwen 1.5B DeepSeek36±2local~1.9GB2025-01
741DeepSeek LLM 7B Chat DeepSeek36±2local~5.7GB2023-11
742Falcon 40B (base) TII36±1local~27GB2023-05
743StarCoder 15.5B BigCode36±1local~11GB2023-04
744Nous-Hermes-13b Nous Research36±2local~9.8GB2023-06
more from TII
261Falcon-H1R 7B TII59±1local~5.2GB2026-01
349Falcon-H1 34B Instruct TII55±3local~23GB2025-05
516Falcon-H1 7B Instruct TII47±3local~6GB2025-05

see all LLMs · find the ones that fit your machine

$ 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.

testresultvs the others in its rundifficultycountswhy
HumanEval24.4% ✎▁▁▁▁▂▃▆▆█▅▂▁ beats 36/205easy · avg 67%▇▇▇▇ 11%sharp · at its level
MBPP36.5% ✎▁▁▁▄▅█▆▅▄▁▂▁ beats 13/86easy · avg 68%▇▇▇ 6.4%at its level
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.

testresultvs the others in its rundifficultycountswhy
GSM8K22.4% ✎▂▂▂▂▃▄▅▇██▆▄ beats 51/206easy · avg 73%▇▇▇▇ 10%sharp · at its level
other tests13 not in a task · 72% of its score
testresultvs the others in its rundifficultycountswhy
BIG-Bench Hard36.2% ✎▁▁▁▁▂▄▅▆█▃▃▁ beats 26/155medium · avg 65%▇▇▇▇▇▇ 15%sharp
Natural Questions (closed book)32.0% ✎▁·▁·▁▂▁▂·▅▂█ beats 27/28medium · avg 49%▇▇▇▇▇ 12%typical
ARC Challenge57.7% ✎▄▁▁▂▁▄█▇▃▂▃▂ beats 102/140easy · avg 85%▇▇▇▇ 9.1%sharp · at its level
ImageNetVC visual commonsense, text-only LLM average (0/5-shot)61.7% ✎▂·▄·▂█▄▄█▄▂▆ beats 20/21easy · avg 74%▇▇▇▇ 9.0%blunt · at its level
MMLU53.5% ✎▁▁▁▁▁▂▂▅██▆▄ beats 62/215easy · avg 80%▇▇▇ 8.3%at its level
Factual knowledge recall, Premium2k exact match (zero-shot)26.6% ✎▅····▃▅·██·█ beats 8/13medium · avg 53%▇▇▇ 6.6%at its level
Factual knowledge recall, Premium2k exact match (10-shot)42.3% ✎▃▅▃··▅▃·█▃▃▅ beats 9/13medium · avg 61%▇▇ 3.9%at its level
Open PT-LLM Leaderboard average (9 Portuguese tasks)60.3% ✎▃▁▁▁▁▁▁▁▃█▅▁ beats 91/276medium · avg 72%▇ 2.6%at its level · noisy
5 more tests
testresultvs the others in its rundifficultycountswhy
C-Eval40.3% ✎▁···▁▁▃▁▂▂▃█ beats 3/33medium · avg 59%▇ 2.5%noisy
This is not a Dataset (negation), zero-shot accuracy49.7% ✎█▁····▃▁·▁·▁ beats 0/14hard · avg 67%▇ 2.3%sharp · too hard for it · noisy
COPA84.4% ✎▅·▃·▃··█▃··▃ beats 5/8easy · avg 92%▇ 0.6%at its level · noisy
TruthfulQA MC241.6% ✎▅▃█▆▁▂▅···▁▁ beats 12/31medium · avg 57%▇ 0.4%blunt · at its level
IndoMMLU (zero-shot)32.1% ✎▅▃▅··▃···▃▃█ beats 6/10hard · avg 37%▇ 0.3%blunt · noisy

$ 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

  1. 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 | sh
    Windows
    irm https://llama.app/install.ps1 | iex

    other ways to install ↗

  2. Run Falcon 40B (base) · needs 28.3 GB memory, 25.5 GB download · from huggingface.co/mradermacher
    chat in the terminal
    llama cli -hf mradermacher/falcon-40b-GGUF:Q4_K_M
  3. 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

  1. Install LM Studio · Open the app once before using the lms command.

    download it (macOS / Windows / Linux) ↗

  2. Run Falcon 40B (base) · needs 28.3 GB memory, 25.5 GB download · from huggingface.co/mradermacher

    open in LM Studio ↗

  3. Or download it in the terminal
    lms get https://huggingface.co/mradermacher/falcon-40b-GGUF@Q4_K_M -y
  4. Then run lms ls to see its name, and lms chat followed by that name

Ollama

  1. Install Ollama

    download it (macOS / Windows) ↗

    Linux
    curl -fsSL https://ollama.com/install.sh | sh
  2. Run Falcon 40B (base) · needs 26.5 GB memory, 23.8 GB download · from ollama.com
    chat in the terminal
    ollama run falcon:40b-text

Other ways to run it

  1. 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