Datasets:
Add link to paper
#2
by nielsr HF Staff - opened
123456789101112131415161718192021222324252627282930313233343536373839404142432 unmodified lines464748495051---configs:- config_name: defaultdata_files:- split: trainpath:- gharchive/v0/documents/*.jsonl.gztask_categories:- text-generationlanguage:- enpretty_name: GitHub Archive---# GitHub Archive## DescriptionAccording to [GitHub’s terms of service](https://docs.github.com/en/site-policy/github-terms/github-terms-of-service), issues and pull request descriptions—along with the their comments—inherit the license of their associated repository.To collect this data, we used the [GitHub Archive’s](https://www.gharchive.org/) public BigQuery table of events to extracted all issue, pull request, and comment events since 2011 and aggregated them into threads.The table appeared to be missing “edit” events so the text from each comment is the original from when it was first posted.We filtered out comments from bots.This resulted in approximately 177 million threads across 19 million repositories.We then removed threads whose repositories did not have a Blue Oak Council-approved license.License information for each repository comes from either 1) the “public-data:github_repos” BigQuery Table, 2) metadata from the StackV2, or 3) the GitHub API.License filtering left 10 million repositories.PyMarkdown was used to convert from GitHub-flavored markdown to plain text.When parsing failed, the raw markdown was kept.Per-document license information is available in the `license` entry of the `metadata` field of each example.Code for collecting, processing, and preparing this dataset is available in the [common-pile GitHub repo](https://github.com/r-three/common-pile).## Dataset Statistics| Documents | UTF-8 GB ||-----------|----------|| 30,318,774 | 54.7 |## License IssuesWhile we aim to produce datasets with completely accurate licensing information, license laundering and inaccurate metadata can cause us to erroneously assign the incorrect license to some documents (for further discussion of this limitation, please see [our paper](https://huggingface.co/papers/2506.05209)). If you believe you have found an instance of incorrect licensing in this dataset, please [start a discussion](https://github.com/r-three/common-pile/discussions/new) on this repository.## Other VersionsThis is the "raw" version of the GitHub Archive dataset.If you are looking for the filtered version used to train [Comma v0.1](https://huggingface.co/common-pile/comma-v0.1), you can find it [here](https://huggingface.co/datasets/common-pile/github_archive_filtered).## CitationIf you use this dataset, please cite:2 unmodified linestitle={{The Common Pile v0.1: An 8TB Dataset of Public Domain and Openly Licensed Text}},author={Nikhil Kandpal and Brian Lester and Colin Raffel and Sebastian Majstorovic and Stella Biderman and Baber Abbasi and Luca Soldaini and Enrico Shippole and A. Feder Cooper and Aviya Skowron and Shayne Longpre and Lintang Sutawika and Alon Albalak and Zhenlin Xu and Guilherme Penedo and Loubna Ben and Elie Bakouch and John David and Honglu Fan and Dashiell Stander and Guangyu Song and Aaron Gokaslan and John Kirchenbauer and Tom Goldstein and Brian R and Bhavya Kailkhura and Tyler Murray},journal={arXiv preprint},year={2025}}```12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849502 unmodified lines53545556575859---language:- entask_categories:- text-generationpretty_name: News---# News## DescriptionWe scrape the news sites that publish content under CC BY or CC BY-SA according to [opennewswire](https://feed.opennewswire.org/).These include [360info](https://360info.org/), [Africa is a Country](https://africasacountry.com/),[Alt News](https://www.altnews.in/),[Balkan Diskurs](https://balkandiskurs.com/en/),[Factly](https://factly.in/),[Freedom of the Press Foundation](https://freedom.press/),[Agenzia Fides](https://www.fides.org/en),[Global Voices](https://globalvoices.org/),[Meduza](https://meduza.io/en),[Mekong Eye](https://www.mekongeye.com/),[Milwaukee Neighborhood News Service](https://milwaukeenns.org/),[Minority Africa](https://minorityafrica.org/),[New Canadian Media](https://www.newcanadianmedia.ca/),[SciDev.Net](https://www.scidev.net/global/),[The Solutions Journalism Exchange](https://sojoexchange.solutionsjournalism.org/),[Tasnim News Agency](https://www.tasnimnews.com/en),[ZimFact](https://zimfact.org/).[Oxpeckers](https://oxpeckers.org),[Propastop](https://www.propastop.org/en/),and[The Public Record](https://thepublicrecord.ca/).Plain text was extracted from the HTML using a custom pipeline, including extraction of the title and byline to include at the beginning of each article.Per-document license information is available in the `license` entry of the `metadata` field of each example.Code for collecting, processing, and preparing this dataset is available in the [common-pile GitHub repo](https://github.com/r-three/common-pile).## Dataset Statistics| Documents | UTF-8 GB ||-----------|----------|| 172,308 | 0.4 |## License IssuesWhile we aim to produce datasets with completely accurate licensing information, license laundering and inaccurate metadata can cause us to erroneously assign the incorrect license to some documents (for further discussion of this limitation, please see [our paper](https://huggingface.co/papers/2506.05209)). If you believe you have found an instance of incorrect licensing in this dataset, please [start a discussion](https://github.com/r-three/common-pile/discussions/new) on this repository.## Other VersionsThis is the "raw" version of the News dataset.If you are looking for the filtered version used to train [Comma v0.1](https://huggingface.co/common-pile/comma-v0.1), you can find it [here](https://huggingface.co/datasets/common-pile/news_filtered).## CitationIf you use this dataset, please cite:2 unmodified linestitle={{The Common Pile v0.1: An 8TB Dataset of Public Domain and Openly Licensed Text}},author={Nikhil Kandpal and Brian Lester and Colin Raffel and Sebastian Majstorovic and Stella Biderman and Baber Abbasi and Luca Soldaini and Enrico Shippole and A. Feder Cooper and Aviya Skowron and Shayne Longpre and Lintang Sutawika and Alon Albalak and Zhenlin Xu and Guilherme Penedo and Loubna Ben and Elie Bakouch and John David and Honglu Fan and Dashiell Stander and Guangyu Song and Aaron Gokaslan and John Kirchenbauer and Tom Goldstein and Brian R and Bhavya Kailkhura and Tyler Murray},journal={arXiv preprint},year={2025},url={https://huggingface.co/papers/2506.05209}}```
README.md+32-24