Model reference · open weights
falcon-rw is an open-weight language model from tiiuae. falcon-rw-1b (BF16) weighs 2.6 GB; the smallest configuration that runs it is RTX 3060 12 GB.
Summary of the tiiuae/falcon-rw-1b model card, 2026-10-01
What it is
| Released by | tiiuae |
|---|---|
| Released | 2023-04-26 |
| VRAM | 2.6 GB for the weights |
What it runs on
| Card | Requests at once | Context max | Memory | |
|---|---|---|---|---|
| 8K each | 32K each | |||
| RTX 3060 12 GB | 5 | 1 | 41K | 11.6 GB |
| RTX 4060 Ti 16 GB | 7 | 1 | 60K | 15.4 GB |
| RTX 3090 24 GB | 12 | 3 | 100K | 23.4 GB |
| RTX 4090 24 GB | 12 | 3 | 100K | 23.4 GB |
| RTX 5090 32 GB | 17 | 4 | 128K | 31.0 GB |
| L40S 48 GB | 25 | 6 | 128K | 44.0 GB |
| A100 80 GB | 46 | 11 | 128K | 78.2 GB |
| H100 80 GB | 44 | 11 | 128K | 78.1 GB |
| RTX PRO 6000 Blackwell 96 GB | 54 | 13 | 128K | 93.8 GB |
| DGX Spark (GB10) 128 GB unified | 62 | 15 | 128K | 107 GB |
| H200 141 GB | 81 | 20 | 128K | 138 GB |
| B200 180 GB | 105 | 26 | 128K | 176 GB |
| 2× RTX 3060 12 GB tensor parallel | 12 | 3 | 96K | 11.6 GB a card |
| 2× RTX 4060 Ti 16 GB tensor parallel | 16 | 4 | 128K | 15.4 GB a card |
| Requests at once | 8K tokens each | 32K tokens each |
|---|---|---|
| 1 | 4.8 GB | 9.6 GB |
| 5 | 11.3 GB | 35.4 GB |
| 8 | 16.1 GB | 54.7 GB |
| 16 | 29.0 GB | 106 GB |
| 32 | 54.7 GB | 209 GB |
| 64 | 106 GB | 416 GB |
One card, with vLLM's small-card settings.
From the model card
Falcon-RW-1B is a 1B parameters causal decoder-only model built by TII and trained on 350B tokens of RefinedWeb. It is made available under the Apache 2.0 license.
See the 📓 paper on arXiv for more details.
RefinedWeb is a high-quality web dataset built by leveraging stringent filtering and large-scale deduplication. Falcon-RW-1B, trained on RefinedWeb only, matches or outperforms comparable models trained on curated data.
⚠️ Falcon is now available as a core model in the transformers library! To use the in-library version, please install the latest version of transformers with pip install git+https://github.com/huggingface/transformers.git, then simply remove the trust_remote_code=True argument from from_pretrained().
⚠️ This model is intended for use as a research artifact, to study the influence of training on web data alone. If you are interested in state-of-the-art models, we recommend using Falcon-7B/40B, both trained on >1,000 billion tokens.
from transformers import AutoTokenizer, AutoModelForCausalLM
import transformers
import torch
model = "tiiuae/falcon-rw-1b"
tokenizer = AutoTokenizer.from_pretrained(model)
pipeline = transformers.pipeline(
"text-generation",
model=model,
tokenizer=tokenizer,
torch_dtype=torch.bfloat16,
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!
Research on large language models, specifically the influence of adequately filtered and deduplicated web data on the properties of large language models (fairness, safety, limitations, capabilities, etc.).
Production use without adequate assessment of risks and mitigation; any use cases which may be considered irresponsible or harmful.
Broadly speaking, we would recommend Falcon-7B/40B for any use not directly related to research on web data pipelines.
Falcon-RW-1B is trained on English 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-RW-1B 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-rw-1b"
tokenizer = AutoTokenizer.from_pretrained(model)
pipeline = transformers.pipeline(
"text-generation",
model=model,
tokenizer=tokenizer,
torch_dtype=torch.bfloat16,
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-RW-1B was trained on 350B tokens of RefinedWeb, a high-quality filtered and deduplicated web dataset. The data was tokenized with the GPT-2 tokenizer.
Falcon-RW-1B was trained on 32 A100 40GB GPUs, using only data parallelism with ZeRO.
Hyperparameters were adapted from the GPT-3 paper (Brown et al., 2020).
| Hyperparameter | Value | Comment |
|---|---|---|
| Precision | bfloat16 | |
| Optimizer | AdamW | |
| Learning rate | 2e-4 | 500M tokens warm-up, cosine decay to 2e-5 |
| Weight decay | 1e-1 | |
| Batch size | 512 | 4B tokens ramp-up |
Training happened in early December 2022 and took about six days.
See the 📓 paper on arXiv for in-depth evaluation.
Falcon-RW-1B is a causal decoder-only model trained on a causal language modeling task (i.e., predict the next token).
The architecture is adapted from the GPT-3 paper (Brown et al., 2020), but uses ALiBi (Ofir et al., 2021) and FlashAttention ([Dao
Quoted from the model card on Hugging Face. The full card is behind the Hugging Face link above.