# GitHub Code 2025

- **ID:** 101
- **Kind:** dataset
- **URL:** https://huggingface.co/datasets/nick007x/github-code-2025
- **Authors:** Nick Saga (nick007x)
- **Venue:** Hugging Face
- **Published:** 2025
- **Source:** huggingface
- **Language:** multiple programming languages
- **Access:** free
- **License:** Unknown (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.
- **License family:** Not stated (auto-classified)
- **Topics:** Code
- **Added:** 2026-07-17
- **Verified:** 2026-07-17
- **Research status:** done
- **Page:** https://papers.projxon.ai/entries/101

## Summary

A 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.

## Attributes

- **Purpose:** Training code generation and code analysis models; provides a large-scale corpus of source code files from GitHub repositories
- **Scale:** 148M rows, ~1 TB
- **Used for:** Code generation and code analysis model training; 17 models trained on HuggingFace
- **Time period:** 2025
- **Author type:** human

## From the source (fetched 2026-10-03)

- **Repository:** nick007x/github-code-2025 (Hugging Face)
- **Created:** Oct 7, 2025 (Hugging Face)
- **Last updated:** Apr 1, 2026 (Hugging Face)
- **Downloads (last month):** 2,509 (Hugging Face)
- **Likes:** 121 (Hugging Face)
- **Size:** 100M to 1B rows (Hugging Face)
- **Modalities:** text (Hugging Face)
- **Formats:** parquet (Hugging Face)

## Dataset profile

- **Scale:** HF 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.
- **Format:** parquet 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.
- **Type:** Pretraining corpus / unofficial GitHub file dump
- **License:** Unknown (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.
- **Cost:** Free
- **Languages:** Mixed 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.
- **Modality:** Text (source + markdown). No images.
- **Domain:** source-code pretraining; GitHub files; mixed programming languages
- **Time period:** HF 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).
- **Purpose:** Unofficial public GitHub file dump with actual file contents (star-split), usable as a code-pretrain corpus where gated The-Stack-v2 / StarCoderData are inaccessible
- **Used for:** Hub 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.
- **Authors:** GitHub 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.
- **Bias:** GitHub 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.
- **Text quality:** Raw 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).
- **Sample size:** Single 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.
- **Long context:** Mixed (per-file; mean ~16.7 KB uncompressed). Not repo-level packing. Unknown max file size.
- **Intermediate steps:** Unknown (no dataset card). Star-split directory names are the only documented processing. Collection method otherwise Unknown.
- **Idea quality:** Medium
- **Novelty:** Medium (public content-bearing GitHub dump vs gated Stack; no paper/card; lower novelty than FineWeb-style pipelines)
- **Text conversion:** Ready parquet; load_dataset('nick007x/github-code-2025'). Streaming required (~882 GB). Empty README on the Hub.
- **Collection method:** Download
- **Static:** Unknown (HF lastModified 2026-04-01; one-shot unofficial scrape; empty card)
- **Processed:** Unknown

## Links

- Dataset: https://huggingface.co/datasets/nick007x/github-code-2025
- Related: https://huggingface.co/datasets/nick007x/github-code-2025
- Related: https://huggingface.co/datasets/bigcode/the-stack-v2
- Related: https://huggingface.co/datasets/HuggingFaceTB/stack-edu
- Related: https://huggingface.co/datasets/bigcode/starcoderdata

## Research notes

- Published by Nick Saga (nick007x) on HuggingFace. Dataset viewer and parquet conversion available.
- Discord posted only the HF URL. No paper. gated=false; public; CuratorBote can read content (unlike gated bigcode/the-stack, bigcode/the-stack-v2, bigcode/starcoderdata). HuggingFaceTB/stack-edu was considered as the code-pretrain pick but its Hub schema is metadata-only (no content; blob_id against gated Stack v2), so this dump was used instead. nvidia/Nemotron-Pretraining-Code-v1 remains gated. Distinct from already-cataloged SwallowCode-v2 / KStack / OpenCoder FineWeb Code Corpus (those have cards/licenses). Not in papers_local.csv. Not on the Aug 13 live Datasets sheet export.

## Related entries

- Related: [github-top-code](https://papers.projxon.ai/entries/229) (dataset, #229)
- Related: [The Stack v2](https://papers.projxon.ai/entries/232) (dataset, #232)
- Related: [GitHub Code Clean](https://papers.projxon.ai/entries/1168) (dataset, #1168)
- Related: [The Stack v2](https://papers.projxon.ai/entries/1179) (dataset, #1179)

## Similar entries

- [UltraData-Code (OpenBMB L0–L3 tiered code pretrain: L2 algorithmic + L3 synthesis)](https://papers.projxon.ai/entries/1035) (dataset, #1035)
- [BigO(Bench): Can LLMs Generate Code with Controlled Time and Space Complexity?](https://papers.projxon.ai/entries/777) (paper, #777)
- [Cross-Benchmark Transfer from RL on Agentic Coding Tasks](https://papers.projxon.ai/entries/1245) (paper, #1245)
- [facebookresearch/RLCD (official reproduction code)](https://papers.projxon.ai/entries/990) (code, #990)
- [CodeGenLink: A Tool to Find the Likely Origin and License of Automatically Generated Code](https://papers.projxon.ai/entries/966) (paper, #966)
- [Regression Language Models for Code](https://papers.projxon.ai/entries/943) (paper, #943)
