[Paper Review] The Falcon Series of Open Language Models
The Falcon series presents 7B, 40B, and 180B open-decoder LLMs trained on a large, filtered web dataset (RefinedWeb), with Falcon-180B near PaLM-2 Large and competitive with GPT-3.5/4, while releasing models and data to promote open science.
We introduce the Falcon series: 7B, 40B, and 180B parameters causal decoder-only models trained on a diverse high-quality corpora predominantly assembled from web data. The largest model, Falcon-180B, has been trained on over 3.5 trillion tokens of text--the largest openly documented pretraining run. Falcon-180B significantly outperforms models such as PaLM or Chinchilla, and improves upon concurrently developed models such as LLaMA 2 or Inflection-1. It nears the performance of PaLM-2-Large at a reduced pretraining and inference cost, making it, to our knowledge, one of the three best language models in the world along with GPT-4 and PaLM-2-Large. We report detailed evaluations, as well as a deep dive into the methods and custom tooling employed to pretrain Falcon. Notably, we report on our custom distributed training codebase, allowing us to efficiently pretrain these models on up to 4,096 A100s on cloud AWS infrastructure with limited interconnect. We release a 600B tokens extract of our web dataset, as well as the Falcon-7/40/180B models under a permissive license to foster open-science and accelerate the development of an open ecosystem of large language models.
Motivation & Objective
- Demonstrate scalable pretraining of open decoder-only LLMs across 7B, 40B, and 180B parameters.
- Show that large-scale web data, when filtered and deduplicated, can rival curated datasets for natural language zero-shot tasks.
- Explain the design choices and custom hardware/software stack enabling efficient pretraining on large cloud infrastructures.
- Provide open access to models and a substantial web dataset extract to foster open-science and ecosystem growth.
Proposed method
- Train three causal decoder-only models: Falcon-7B, Falcon-40B, Falcon-180B on up to 3,500B tokens (RefinedWeb).
- Use custom distributed training with 3D parallelism and optimizer sharding to run on up to 4,096 A100 GPUs with limited interconnect.
- Adopt architectural tweaks (e.g., multiquery, rotary vs ALiBi, memory-saving techniques) and rigorous hyperparameter validation.
- Pretrain using a data pipeline that emphasizes Web data with filtering and deduplication to maximize quality and coverage.
- Release Falcon-7B/40B/180B and a 600B-token extract of RefinedWeb under permissive licenses to enable reproducibility and Open Science.
Experimental results
Research questions
- RQ1Can highly filtered and deduplicated web data alone match or exceed the zero-shot performance of models trained on curated corpora?
- RQ2What is the impact of curated data, added in addition to a strong web baseline, on natural language zero-shot performance?
- RQ3Do limited multilingual or code data additions degrade English performance, and to what extent?
- RQ4What architectural/data pipeline choices maximize hardware efficiency and scalability for large-scale pretraining?
- RQ5How does open release of models and data affect open research and ecosystem development?
Key findings
- Falcon-180B significantly outperforms PaLM or Chinchilla and nears PaLM-2 Large in 1-shot evaluations on a broad task suite.
- Falcon-180B approaches PaLM-2 Large in performance while offering lower pretraining and inference costs, positioning it among the top open and world-class models.
- RefinedWeb (filtered+deduplicated web data) outperforms curated datasets (e.g., The Pile) and other web datasets (C4, OSCAR) for natural language zero-shot tasks at small scales; filtering and deduplication are crucial.
- Adding curated data in place of a strong web baseline generally does not improve zero-shot performance and can even degrade it, especially for books/technical data, while conversations remain more stable.
- Introducing limited multilingual or code data (5-10%) does not markedly degrade English performance, suggesting robust cross-domain transfer with modest multilingual data.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.