← Datasets

Compare

Falcon RefinedWeb
#311 · remove
KStack
#280 · remove
Kinddatasetdataset
Published20232024
Licenseodc-byother (permissively licensed Kotlin code, varies per file; Apache 2.0 common)
License familyPermissiveOther
Accessfreefree
Language codesencode
Modalitiestexttext
Size100M to 1B rows1M to 10M rows
Downloads (last month)82,9771,686
Likes96614
Last updated2023-06-202025-04-22
Taskstext-generationtext-generation
Formatsparquetparquet
ScalePaper: full RefinedWeb ~5,000GT / ~10B docs; this public extract ~600GT (card 500–650GT by tokenizer). HF: 968,000,015 train rows. YAML download_size 466,888,198,663 (~466.9 GB) vs datasets-server parquet 1,676,959,676,382 (~1.677 TB) / usedStorage 1,686,267,111,390 (~1.686 TB) — YAML download_size is stale vs converted parquet. YAML uncompressed dataset_size 2,766,953,721,769 (~2.767 TB); datasets-server num_bytes_memory 3,654,261,040,625 (~3.654 TB). 5,534 parquet shards (~285–340 MB). ~620 tok/doc at 600GT. Hub tag size_categories 100M<n<1B (docs) vs YAML 100B<n<1T (tokens). gated=false. Hub 1.2M downloads / 947 likes at check. DOI 10.57967/hf/0737.Card comparison table: 4M files / 168,902 repos / 292M lines / 3.1B tokens vs Stack v2 Kotlin 2M / 109,457 / 162M / 1.7B. dataset_info train: 5,517,601 examples; 16,332,255,331 bytes (~16.33 GB) uncompressed / download_size 5,891,399,337 (~5.89 GB parquet). usedStorage 14,463,919,198 bytes (~14.46 GB). 33 parquet shards (~176–182 MB). YAML size_categories 100M<n<1B conflicts with Hub tags 1M<n<10M and the 5.52M-row split — tags/split used here. gated=false. HF 326 downloads / 14 likes at check.
Formatparquet (5,534 shards under data/). Fields: content, url, timestamp, dump, segment, image_urls (list of [image_url, alt_text]).parquet (33 shards). Fields: path, owner, repo_id, is_fork, languages_distribution, content, issues, main_language, forks, stars, commit_sha, size, name, license.
TypePretraining corpus / filtered+deduplicated English webPretraining corpus / permissively licensed Kotlin files
CostFreeFree
LanguagesEnglish 100% (card language:en). fastText CCNet LID, keep if top language score ≥0.65. Public extract is English-only; paper Appendix D notes a multilingual MDR path not released here.Kotlin source (card language:code). Files .kt / .kts / .gradle.kts via go-enry. Comments mixed-language; repos may list other languages in languages_distribution. Not natural-language English text.
ModalityText-only in content; image_urls hold links+alt text ("multimodal-friendly" but images are not shipped).Text (Kotlin source)
DomainEnglish web pretraining; CommonCrawl; Falcon LLMKotlin source-code pretraining; permissively licensed GitHub
Time periodCommonCrawl dumps 2008–2023-06 (datasheet: all dumps until the 2023-06 crawl). Sample preview timestamps 2013-05-18 (CC-MAIN-2013-20). HF createdAt 2023-05-07; lastModified 2023-06-20T12:38:07Z. Paper arXiv 2306.01116 (2023-06-01). Discord posted 2026-04-06.GitHub Kotlin snapshot as of February 2024 plus The Stack v1.2 Kotlin files. HF createdAt 2024-05-13; lastModified 2025-04-22. Paper Kotlin ML Pack arXiv 2405.19250 (2024-05-29). Discord posted 2026-03-23.
PurposePublic 600B-token extract of TII's 5T-token filtered+deduplicated English web corpus for LLM pretraining (web data only, no curated mix)Largest public permissively licensed Kotlin file collection for code LM pretrain/finetune, denser than The Stack v2 Kotlin slice
Used forFalcon-7B/40B (with a curated mix) and Falcon-RW-1B/7B (350GT of RefinedWeb alone). Hub 1.2M downloads / 947 likes at check. Discord posted the HF pointer.Kotlin ML Pack (arXiv 2405.19250): CodeLlama/DeepSeek Kotlin finetunes; KStack-clean (25k) and KExercises are the high-quality/synth siblings (paper: up to +16 HumanEval-Kotlin pass). Hub 326 downloads / 14 likes at check. JetBrains Kotlin ML collection.
AuthorsPublic-web authors via CommonCrawl. Curators TII / LightOn Falcon LLM team (Penedo, Malartic, Hesslow, Cojocaru, Cappelli, Alobeidli, Pannier, Almazrouei, Launay). Adult/spam URLs blocked; Wikipedia/arXiv/GitHub/StackOverflow/Reddit and other Pile-style HQ sources also URL-blocked so this dump is not a hidden curated mix.GitHub Kotlin repo owners (main-language Kotlin, or any Kotlin file with ≥10 stars as of Feb 2024, plus Stack v1.2). JetBrains Research (Sergey Titov, Mikhail Evtikhiev, Anton Shapkin et al.). PII stripped with star-pii.
BiasEnglish CommonCrawl web only. Neutral-filtering philosophy (no ML quality filter beyond LID; URL blocklist for adult/spam). Toxic-content rate similar to The Pile (paper Fig. 4, Perspective API). Top domains: Blogspot/WordPress/Tumblr, news (CNN/NYT), some technical (BMC/Springer). Residual porn/hate/PII possible. Exact+fuzzy dedup removed ~50% after filtering; URL-across-dump dedup. Not a FineWeb-Edu educational slice.Open GitHub only (paper: private Kotlin unseen). Permissive-license filter (MIT/Apache-2.0/BSD/CC-BY/Unlicense/…; full list licenses.json). Star≥10 auxiliary crawl plus main-language-Kotlin repos; popularity skew. Near-dedup keeps the highest-star file per cluster. Forks flagged via is_fork. YAML pretty_name is wrongly KExercises (copy-paste); this repo is the large file dump, not the 25k clean set.
Text qualitytrafilatura WARC extract + MassiveWeb document heuristics + line-wise nav/social-counter strip + MinHash (9k hashes / 5-grams) + 50-token exact-substring suffix-array. Paper: ~90% of CC docs dropped (LID 50% / quality 24% / dup 12%). Residual boilerplate, SEO, and spam remain (preview: TV-recap pages). Card: toxicity similar to The Pile. No canonical val split.Exact hash dedup + Stack v1.2-style near-dedup; star-pii PII rewrite. Permissive-license detector (GitHub then go-license-detector). Residual noisy/generated Kotlin, build scripts (.kts/.gradle.kts), and incomplete files remain. Paper treats KStack as the broad corpus and KStack-clean as the algorithmic-quality subset.
Sample sizeSingle train split 968,000,015. No val/test. Public extract is a random ~1/10 of the 5T private corpus (datasheet). Falcon-RW used 350GT of this extract, not the full 600GT.Single train split (5,517,601 rows / 33 parquet parts). No val/test. Sister JetBrains/KStack-clean is 25,000 rows (~23M CodeLlama-7B tokens), not a config here.
Long contextMixed (full web pages; mean ~620 tok/doc at 600GT). Not a dedicated long-doc corpus. Dedup span-cutting reintroduces shorter docs (paper Fig. 5).Mixed (per-file; mean ~3.0 KB / file from dataset_size/n). Not repo-level packing.
Intermediate stepsYes (Macrodata Refinement: URL blocklist+score → trafilatura → fastText LID → MassiveWeb doc filters + line-wise corrections → URL-across-dump dedup → MinHash fuzzy → exact substring). Pipeline code is not public.Yes (GitHub + Stack v1.2 Kotlin harvest → exact/near dedup → permissive license filter → star-pii). Paper also builds KStack-clean (Mistral pairwise edu rank → CodeT5p classifier) and KExercises; those are separate repos.
Idea qualityHighHigh
NoveltyHigh (first public ~600GT web-only dump shown to match curated mixes; Falcon-RW trained on it alone)High (public Kotlin dump ~2× Stack v2 Kotlin files/tokens, fully permissive)
Text conversionReady parquet; load_dataset('tiiuae/falcon-refinedweb'). Streaming required (~1.69 TB usedStorage / 5.5k shards). Card unpack note 2.8TB local once decompressed (YAML uncompressed).Ready parquet. load_dataset('JetBrains/KStack'). Full dump is small vs web corpora (~5.9 GB download).
Collection methodDownloadDownload
StaticUnknown (HF lastModified 2023-06-20; one-shot public extract; full 5T not released)Unknown (HF lastModified 2025-04-22; Feb 2024 GitHub snapshot)
ProcessedUnknownUnknown
SummaryFalcon RefinedWeb is a large-scale English web corpus extracted from Common Crawl and rigorously filtered and deduplicated, used to train the Falcon LLM family. The accompanying paper (arXiv:2306.01116) demonstrates that properly filtered web data alone can match or exceed curated sources for pretraining. This HuggingFace release contains 968M documents in parquet format.KStack is the largest collection of permissively licensed Kotlin source code, containing 5.52 million files scraped from GitHub repositories with metadata like owner, repo ID, language distribution, license, and commit SHA. It is part of JetBrains' Kotlin ML Pack (alongside the curated KStack-clean and KExercises datasets) and is intended for pretraining and fine-tuning code generation models for Kotlin, demonstrating that even small high-quality subsets can yield up to a 16-point increase in HumanEval pass rate.