Model reference · open weights
falcon is an open-weight language model from tiiuae. falcon-11B (BF16) weighs 22.2 GB; the smallest configuration that runs it is 2× RTX 4060 Ti 16 GB.
Summary of the tiiuae/falcon-7b model card, 2026-10-01. The estimate below is for another build of the family.
What it is
| Released by | tiiuae |
|---|---|
| Released | 2023-04-24 |
| Parameters | 7.2B |
| VRAM | 22.2 GB for the weights |
What it runs on
| Card | Requests at once | Context max | Memory |
|---|---|---|---|
| 8K each | |||
| RTX 3060 12 GB … RTX 4060 Ti 16 GB 2 smaller cards | — | — | |
| RTX 3090 24 GB | — | 1K | 23.4 GB |
| RTX 4090 24 GB | — | 1K | 23.4 GB |
| RTX 5090 32 GB | 4 | all 8K | 31.0 GB |
| L40S 48 GB | 10 | all 8K | 44.0 GB |
| A100 80 GB | 27 | all 8K | 78.2 GB |
| H100 80 GB | 25 | all 8K | 78.1 GB |
| RTX PRO 6000 Blackwell 96 GB | 33 | all 8K | 93.8 GB |
| DGX Spark (GB10) 128 GB unified | 40 | all 8K | 107 GB |
| H200 141 GB | 55 | all 8K | 138 GB |
| B200 180 GB | 74 | all 8K | 176 GB |
| 2× RTX 4060 Ti 16 GB tensor parallel | 3 | all 8K | 15.4 GB a card |
| 2× RTX 4090 24 GB tensor parallel | 11 | all 8K | 23.4 GB a card |
| 2× RTX 3090 24 GB tensor parallel | 11 | all 8K | 23.4 GB a card |
| 2× RTX 5090 32 GB tensor parallel | 19 | all 8K | 31.0 GB a card |
| Requests at once | 8K tokens each |
|---|---|
| 1 | 24.9 GB |
| 5 | 33.0 GB |
| 8 | 39.0 GB |
| 16 | 55.1 GB |
| 32 | 87.3 GB |
| 64 | 152 GB |
One card, with vLLM's small-card settings.
Builds
| Build | Params | Precision | Weights | Smallest setup |
|---|---|---|---|---|
| falcon-7b ↗ | 7.2B | BF16 | 14.4 GB | RTX 4060 Ti 16 GB |
| falcon-40b ↗ | 41.8B | BF16 | 83.7 GB | 4× RTX 4090 24 GB |
| falcon-40b-instruct ↗ | — | BF16 | 83.7 GB | 4× RTX 4090 24 GB |
| falcon-11B (above) ↗ | 11.1B | BF16 | 22.2 GB | 2× RTX 4060 Ti 16 GB |
From the model card
Falcon-7B is a 7B parameters causal decoder-only model built by TII and trained on 1,500B tokens of RefinedWeb enhanced with curated corpora. It is made available under the Apache 2.0 license.
Paper coming soon 😊.
🤗 To get started with Falcon (inference, finetuning, quantization, etc.), we recommend reading this great blogpost fron HF!
⚠️ This is a raw, pretrained model, which should be further finetuned for most usecases. If you are looking for a version better suited to taking generic instructions in a chat format, we recommend taking a look at Falcon-7B-Instruct.
🔥 Looking for an even more powerful model? Falcon-40B is Falcon-7B's big brother!
from transformers import AutoTokenizer, AutoModelForCausalLM
import transformers
import torch
model = "tiiuae/falcon-7b"
tokenizer = AutoTokenizer.from_pretrained(model)
pipeline = transformers.pipeline(
"text-generation",
model=model,
tokenizer=tokenizer,
torch_dtype=torch.bfloat16,
trust_remote_code=True,
device_map="auto",
)
sequences = pipeline(
"Girafatron is obsessed with giraffes, the most glorious animal on the face of this Earth. Giraftron believes all other animals are irrelevant when compared to the glorious majesty of the giraffe.\nDaniel: Hello, Girafatron!\nGirafatron:",
max_length=200,
do_sample=True,
top_k=10,
num_return_sequences=1,
eos_token_id=tokenizer.eos_token_id,
)
for seq in sequences:
print(f"Result: {seq['generated_text']}")
💥 Falcon LLMs require PyTorch 2.0 for use with transformers!
For fast inference with Falcon, check-out Text Generation Inference! Read more in this [blogpost]((https://huggingface.co/blog/falcon).
You will need at least 16GB of memory to swiftly run inference with Falcon-7B.
Research on large language models; as a foundation for further specialization and finetuning for specific usecases (e.g., summarization, text generation, chatbot, etc.)
Production use without adequate assessment of risks and mitigation; any use cases which may be considered irresponsible or harmful.
Falcon-7B is trained on English and French data only, and will not generalize appropriately to other languages. Furthermore, as it is trained on a large-scale corpora representative of the web, it will carry the stereotypes and biases commonly encountered online.
We recommend users of Falcon-7B to consider finetuning it for the specific set of tasks of interest, and for guardrails and appropriate precautions to be taken for any production use.
from transformers import AutoTokenizer, AutoModelForCausalLM
import transformers
import torch
model = "tiiuae/falcon-7b"
tokenizer = AutoTokenizer.from_pretrained(model)
pipeline = transformers.pipeline(
"text-generation",
model=model,
tokenizer=tokenizer,
torch_dtype=torch.bfloat16,
trust_remote_code=True,
device_map="auto",
)
sequences = pipeline(
"Girafatron is obsessed with giraffes, the most glorious animal on the face of this Earth. Giraftron believes all other animals are irrelevant when compared to the glorious majesty of the giraffe.\nDaniel: Hello, Girafatron!\nGirafatron:",
max_length=200,
do_sample=True,
top_k=10,
num_return_sequences=1,
eos_token_id=tokenizer.eos_token_id,
)
for seq in sequences:
print(f"Result: {seq['generated_text']}")
Falcon-7B was trained on 1,500B tokens of RefinedWeb, a high-quality filtered and deduplicated web dataset which we enhanced with curated corpora. Significant components from our curated copora were inspired by The Pile (Gao et al., 2020).
| Data source | Fraction | Tokens | Sources |
|---|---|---|---|
| RefinedWeb-English | 79% | 1,185B | massive web crawl |
| Books | 7% | 110B | |
| Conversations | 6% | 85B | Reddit, StackOverflow, HackerNews |
| Code | 3% | 45B |
Quoted from the model card on Hugging Face. The full card is behind the Hugging Face link above.