whatmodel.sh / Falcon 7B (base)
Falcon 7B (base)
↗ share
+ contribute
Falcon 7B (base) is an open-weights language model from TII, released April 2023. Its published size is 7.22B parameters and a 2k-token context window. Licence: apache-2.0.
Catalogue identity notes
Pretrained Falcon-7B (not falcon-7b-instruct).
$ how it compares
The LLMs ranked either side of Falcon 7B (base), out of 828 with a score, then more from TII.
| # | model | score | where | ||
|---|---|---|---|---|---|
| 738 | 30±1 | local | |||
| 739 | 30±1 | api $0.020/M +local | |||
| 740 | 30±1 | local | |||
| 741 | 30±1 | local | |||
| 742 | 30±1 | local | |||
| more from TII | |||||
| 233 | 60±1 | local | |||
| 332 | 54±3 | local | |||
| 494 | 46±3 | local | |||
$ what it's good at
other tests18 not in a task · 100% of its score
| test | result | vs the others in its run | counts |
|---|---|---|---|
| ARC Challenge +2 | 43.7% ✎ | ▁·▁··▁▁▇▂█▆▃ beats 19/26 | 34% |
| WinoGrande +2 | 67.2% ✎ | ▁····▁··▁▂█▄ beats 17/26 | 13% |
| BoolQ +2 | 73.5% ✎ | ▂▃▂▅▆▂▅▆█▂▂▂ beats 18/26 | 10% |
| HellaSwag +2 | 76.3% ✎ | ▃···▁▇▅█▇▃▁▁ beats 22/26 | 7.2% |
| ARC Easy +2 | 70.8% ✎ | ▁▁·▁▁▄▅▄█▅▁▃ beats 20/26 | 7.1% |
| OpenBookQA +2 | 30.6% ✎ | █·▁▁▃·▁▃▅▇▃▄ beats 17/26 | 6.7% |
| Natural Questions (closed book) | 22.1% ✎ | ▁·▁·▁▂▁▂·▅▃█ beats 17/28 | 4.3% |
| PIQA +2 | 79.5% ✎ | ▁·▁··▁▁▃█▅█▃ beats 25/26 | 4.3% |
10 more tests
| test | result | vs the others in its run | counts |
|---|---|---|---|
| SciQ +1 | 94.0% ✎ | ▁·▁·▁·▃▅▃█▄▁ beats 21/26 | 4.2% |
| Social IQA +1 | 42.1% ✎ | ▁···▁▃█▁▁▁·▁ beats 13/26 | 2.5% |
| Factual knowledge recall, Premium2k exact match (zero-shot) | 23.6% ✎ | ▅····▃▅·██·█ beats 7/13 | 2.1% |
| Factual knowledge recall, Premium2k exact match (10-shot) | 30.4% ✎ | ▃▅▃··▅▃·█▃▃▅ beats 5/13 | 1.8% |
| LAMBADA (OpenAI version), last-word accuracy | 74.6% ✎ | ▁··▂▁▁▁▂▆█▅▃ beats 24/26 | 1.2% |
| TriviaQA | 58.7% ✎ | ▁··▁█▃▃▁▄▅▄█ beats 22/28 | 0.6% |
| Open PT-LLM Leaderboard average (9 Portuguese tasks) | 36.9% ✎ | ▃▁▁▁▃▁▁▁▂█▅▁ beats 46/276 | 0.6% |
| TruthfulQA MC2 | 34.3% ✎ | ▅▃█▆▁▂▅···▁▁ beats 2/31 | 0.3% |
| HaluEval QA hallucination detection (accuracy) | 46.7% ✎ | █▁▁·▁▁·▁▁▁▁▁ beats 2/27 | 0.2% |
| COPA | 53.8% ✎ | ▅·▃·▃··█▃··▃ beats 1/8 | 0.2% |
$ 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 7B (base) · needs ~5 GB · from huggingface.co/mradermacherchat in the terminal
llama cli -hf mradermacher/falcon-7b-GGUF:Q4_K_M - Or start a local server and open the address it prints (http://localhost:9931)
llama serve -hf mradermacher/falcon-7b-GGUF:Q4_K_M
LM Studio
version
- Install LM Studio · Open the app once before using the lms command.
- Run Falcon 7B (base) · needs ~5 GB · from huggingface.co/mradermacher
- Or download it in the terminal
lms get https://huggingface.co/mradermacher/falcon-7b-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 7B (base) · needs ~4.2 GB · from ollama.comchat in the terminal
ollama run falcon:7b-text
Other ways to run it
- Run it as published · needs ~14.43 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-7b', 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 · Stability AI — original Stabl… 48%, OLMo: Accelerating the Scienc… 23%, Textbooks Are All You Need II… 19% and 4 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