← Datasets

Compare

GitHub Code 2025
#101 · remove
The Stack
#92 · remove
Kinddatasetdataset
Published20252022
LicenseUnknown (no card license tag). Per-file GitHub licenses are not a column. Upstream GitHub ToS still apply. Unknown used because the Hub card does not declare a dataset license.Various permissive open-source licenses (193 in v1.1); each file's original license must be respected; opt-out supported
License familyNot statedPermissive
Accessfreerestricted
Language codescodecode
Modalitiestextcode, text
Size100M to 1B rows100M to 1B rows
Downloads (last month)2,5099,409
Likes1211,082
Last updated2026-04-012026-08-03
Tasks—text-generation
Formatsparquetparquet
ScaleHF viewer/datasets-server: 147,977,624 train rows / 4 columns. usedStorage = parquet 881,977,246,516 bytes (~882.0 GB / 821.4 GiB); uncompressed dataset_size 2,475,933,573,515 (~2.476 TB / ~16.7 KB/file). 229 parquet shards: above-2-stars 130 files (train_000–131 with gaps 086/089/090 and a jump to 166) + below-2-stars 99 (train_000–099, gap 064). Hub tag size_categories 100M<n<1B. gated=false. Hub 81.0K downloads / 119 likes at check. Mean parquet ~3.85 GB/shard.Paper: 3.1 TB / 30 langs; v1.0 near-dedup ~3 TB. Hub tags 100M<n<1B; parquet shards per language (e.g. large c/c++/html/css/go configs). Exact total rows not re-counted (gated 401).
Formatparquet in above-2-stars/ and below-2-stars/ (not HF configs). Fields: repo_id, size, file_path, content. Default viewer concatenates both dirs into one train split.Parquet shards under data/<language>/; gated Hub dataset
TypePretraining corpus / unofficial GitHub file dumpraw multilingual source-code pretraining corpus
CostFreeFree gated download; very large storage/bandwidth
LanguagesMixed source + markup (preview: README.md and C++ .hpp from the same Arduino repo). Card has no language tag or LID table. Unknown language mix; not English natural-language text.Programming languages (Hub: 300+ language configs; paper v1.0 highlighted 30). Natural-language comments embedded in code.
ModalityText (source + markdown). No images.Text (source code)
Domainsource-code pretraining; GitHub files; mixed programming languagesmultilingual source code / code LLM pretraining
Time periodHF createdAt 2025-10-07; lastModified 2026-04-01T05:10:39Z. Discord posted 2025-10-12. Snapshot year implied by the repo name (2025 GitHub files); no dump/commit dates on the empty card. Preview README mentions GPT-4o / ArduinoJson 7 (2024-era libraries).GitHub-sourced code through BigCode Stack releases (paper 2022-11); Hub lastModified 2026-08-03; Discord 1422597711273656371 (2025-09-30)
PurposeUnofficial public GitHub file dump with actual file contents (star-split), usable as a code-pretrain corpus where gated The-Stack-v2 / StarCoderData are inaccessibleProvide a large permissively licensed, governance-aware code corpus for open code LLM research
Used forHub lists 17 downstream models at check (including 173B/106B text-generation finetunes). Hub 81.0K downloads / 119 likes at check. Discord posted only the HF URL.Code LLM pretraining (StarCoder lineage et al.); per-language code modeling; responsible data research
AuthorsGitHub repo owners/committers. Packaged by HF user nick007x (no org card, no paper). Star-split dirs imply a popularity cut (above-2-stars vs below-2-stars) but no license/PII/dedup documentation.BigCode (Kocetkov, Li, Ben Allal, von Werra, et al.). Code authors = original GitHub contributors per provenance.
BiasGitHub popularity skew via the 2-star split (both dirs are concatenated in the default viewer — do not treat the 148M as above-2-stars only). Includes README/docs not just compilable code (preview). No license filter documented, so copyleft/proprietary files may be present. Unofficial scrape; unknown dedup, so forks/boilerplate likely duplicated. Residual secrets/PII possible.GitHub popularity / language skew; English-heavy comments; license-filter bias toward permissive projects; possible personal/secret leakage historically addressed via opt-out governance
Text qualityRaw file contents. No card describing extraction, encoding, max-file-size, binary skip, or near-dedup. Preview rows look like ordinary GitHub text files. Quality is Unknown beyond that. Contrast HuggingFaceTB/stack-edu (educational classifier on Stack v2) which is metadata-only here (blob_id/path/score; no content column; needs gated The-Stack-v2).Raw source files with provenance; near-dedup in releases; quality varies by repo. Card emphasizes license compliance over heavy cleaning.
Sample sizeSingle default train split 147,977,624 (both star dirs concatenated). No val/test. Star dirs are folders, not configs — cannot load above-2-stars alone via a named config without a path filter. Shard index gaps (086/089/090/132–165 above; 064 below) mean the dump is incomplete vs a dense 000–N sequence.Highly skewed by language popularity (HTML/C/C++/CSS etc. dominate shard counts)
Long contextMixed (per-file; mean ~16.7 KB uncompressed). Not repo-level packing. Unknown max file size.No (file-level; some files long)
Intermediate stepsUnknown (no dataset card). Star-split directory names are the only documented processing. Collection method otherwise Unknown.N/A (pretraining raw code; not CoT)
Idea qualityMediumHigh
NoveltyMedium (public content-bearing GitHub dump vs gated Stack; no paper/card; lower novelty than FineWeb-style pipelines)High at release (largest open permissive multi-lang code set with governance)
Text conversionReady parquet; load_dataset('nick007x/github-code-2025'). Streaming required (~882 GB). Empty README on the Hub.Hub datasets loaders / Dask/Polars after gate accept; multi-TB download
Collection methodDownloadAccept HF gate/ToU; download desired language configs; honor opt-out/version notices
StaticUnknown (HF lastModified 2026-04-01; one-shot unofficial scrape; empty card)No (maintainers push removal updates; ToU requires refreshing)
ProcessedUnknownPartially (license filter, near-dedup, language packing; not instruction-formatted)
SummaryA large-scale code dataset containing 148 million source code files harvested from GitHub's top 1 million repositories with 2+ stars, totaling approximately 1 TB. Each row includes the repository ID, file size, file path, and full file content, making it suitable for training code generation models and performing code analysis tasks. At least 17 models have been trained or fine-tuned on this dataset.The Stack is a collection of over 6TB of permissively-licensed source code files covering 358 programming languages, created as part of the BigCode Project (an open scientific collaboration for responsible Code LLM development). It serves as a pretraining dataset for code-generating LLMs and provides per-file provenance metadata (repository name, licenses, stars/forks/issues counts, git hashes) to support attribution and license compliance. The dataset has an opt-out mechanism and is regularly updated to enact validated data-removal requests.