five

stackexchange_filtered

收藏
魔搭社区2025-12-05 更新2025-06-14 收录
下载链接:
https://modelscope.cn/datasets/common-pile/stackexchange_filtered
下载链接
链接失效反馈
官方服务:
资源简介:
# Stack Exchange ## Description [StackExchange](https://stackexchange.com) is a collection of Q&A communities spanning a wide variety of topics. While StackExchange formerly provided structured dumps of all of their content, since July of 2024, StackExchange has stopped publishing XML dumps to the Internet Archive. Instead, each site can provide a logged-in user with a custom URL to download the dump for that site. This means that dumps for defunct sites like [windowsphone.stackexchange.com](https://windowsphone.stackexchange.com/) are inaccessible. Additionally, in dumps produced by the new export tool, many questions that are available in past dumps (and accessible on the site) are not present. For this reason, we extract all questions and answers from community-uploaded dumps from December of 2024 from the Internet Archive and additionally extract missing questions and answers from the last official dumps in July of 2024 to account for the deficiencies listed above. We use a question, its comments, its answers, and the comments on each answer as a single document. Following the display order on StackExchange, answers are ordered by the number of votes they received, with the exception that the “accepted answer” always appears first. PyMarkdown was used to convert each comment into plain text. 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,987,814 | 89.7 | ## License Issues While 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 Versions This is the "filtered" version of the Stack Exchange dataset. If you are looking for the raw version, you can find it [here](https://huggingface.co/datasets/common-pile/stackexchange_raw). ## Citation If you use this dataset, please cite: ```bibtex @article{kandpal2025common, title={{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} } ```

# Stack Exchange 数据集 ## 数据集描述 [Stack Exchange](https://stackexchange.com) 是覆盖各类主题的问答社区集合。 此前Stack Exchange 曾对外发布其全量内容的结构化导出文件,但自2024年7月起,该平台已停止向互联网档案馆(Internet Archive)上传XML格式的导出文件。 取而代之的是,各子社区仅可为已登录用户提供专属下载链接,用于获取对应社区的导出文件。 这导致诸如[windowsphone.stackexchange.com](https://windowsphone.stackexchange.com/)这类已关停的子社区的导出文件无法获取。 此外,新版导出工具生成的导出文件中,存在大量过往导出文件中收录(且当前社区站点仍可访问)的问答内容缺失的问题。 基于上述原因,我们从互联网档案馆获取2024年12月由社区上传的导出文件,从中提取全部问答内容;同时还从2024年7月发布的最后一批官方导出文件中补全缺失的问答内容,以弥补前述缺陷。 我们将单个问题、其附带评论、该问题的所有回答以及每条回答的评论整合为单篇文档。 按照Stack Exchange平台的展示规则,回答将按获票数排序,但“已采纳回答”始终置于首位。 我们使用PyMarkdown工具将所有评论转换为纯文本格式。 每篇文档的授权信息可在每条数据样本的`metadata`字段下的`license`条目内获取。 本数据集的采集、处理与预处理代码可在[common-pile GitHub仓库](https://github.com/r-three/common-pile)中获取。 ## 数据集统计 | 文档总数 | UTF-8 大小(GB) | |-------------|----------| | 30,987,814 | 89.7 | ## 授权相关问题 尽管我们致力于确保数据集的授权信息完全准确,但授权洗白(license laundering)与元数据不准确的问题可能导致我们为部分文档错误分配授权协议。关于此局限性的进一步讨论,请参阅[我们的论文](https://huggingface.co/papers/2506.05209)。 若您发现本数据集存在授权信息错误的情况,请在本仓库发起[讨论](https://github.com/r-three/common-pile/discussions/new)。 ## 其他版本 本文件为Stack Exchange数据集的“过滤版”。 若您需要原始版本,可前往[此处](https://huggingface.co/datasets/common-pile/stackexchange_raw)获取。 ## 引用方式 若您使用本数据集,请引用如下文献: bibtex @article{kandpal2025common, title={{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} }
提供机构:
maas
创建时间:
2025-06-11
5,000+
优质数据集
54 个
任务类型
进入经典数据集
二维码
社区交流群

面向社区/商业的数据集话题

二维码
科研交流群

面向高校/科研机构的开源数据集话题

数据驱动未来

携手共赢发展

商业合作