fineweb-edu-100K
收藏资源简介:
该数据集是从HuggingFaceFW/fineweb-edu数据集的sample-10BT配置中提取的子集,包含约10万至100万条文本样本。每个样本以JSONL格式存储,包含一个text字段,用于存放经过过滤的非空文本内容。数据集适用于大规模语言模型的预训练任务,特别侧重于教育领域的文本数据。数据遵循Apache 2.0开源协议,便于学术和商业用途。
This dataset is a subset extracted from the sample-10BT configuration of the HuggingFaceFW/fineweb-edu dataset, containing approximately 100,000 to 1,000,000 text samples. Each sample is stored in JSONL format and includes a text field for filtered non-empty text content. The dataset is suitable for pre-training tasks of large-scale language models, with a particular focus on educational text data. It follows the Apache 2.0 open-source license, facilitating academic and commercial use.
数据集名称:mlx-community/fineweb-edu-100K
许可协议:Apache-2.0
数据集规模:10万至100万条样本之间
数据集描述:
该数据集是 HuggingFaceFW/fineweb-edu 数据集的一个子集,通过代码筛选和提取了其中的10万条训练样本。原始数据集配置为 sample-10BT,采用流式加载方式。过滤条件为:仅保留包含有效文本内容(非空字符串)的样本。
数据格式:
输出文件为 JSON Lines 格式(.jsonl),每条记录包含一个 text 字段,存储原始文本内容。
创建方式:
- 使用
datasets库加载HuggingFaceFW/fineweb-edu数据集(配置sample-10BT的train分割)。 - 通过流式读取,遍历前10万条有效样本,过滤掉空文本后写入
pretrain.jsonl文件。 - 使用了
tqdm显示进度条,最终输出的样本数量记录为written。




