dolma3_300B_sample_shuffled
收藏资源简介:
dolma3_300B_sample_shuffled 是一个经过全局行级洗牌的数据集,基于 TheFinAI/dolma3_300B_sample 创建。源数据集通过从 allenai/dolma3_mix-6T-1025-7B 进行每行伯努利采样(概率 p ≈ 0.0506)生成,包含约 3000 亿个 cl100k tokens,并保持了原始 Dolma3 的混合比例。然而,源数据在磁盘上按子源聚类记录,导致小规模训练洗牌缓冲区可能面临非均匀的源混合问题。本数据集通过实施真正的全局洗牌解决了这一问题:每个数据行被均匀随机分配到 200 个输出桶中,然后每个桶在内存中进行洗牌,从而在保持源混合比例不变的同时,确保数据分布的均匀性。数据集规模属于 1 亿到 10 亿级别,具体为约 3000 亿 tokens。数据模式与源相同,包括以下字段:source(来源)、date(日期)、text(文本)、token_count(token 计数)和 category(类别)。该数据集专为文本生成任务设计,适用于大规模语言模型训练,旨在提供更均匀的数据采样以提升模型性能。语言为英语,采用 odc-by 许可证,洗牌过程使用随机种子 42 以确保可复现性。
dolma3_300B_sample_shuffled is a globally row-shuffled dataset based on TheFinAI/dolma3_300B_sample. The source dataset was generated via per-line Bernoulli sampling (probability p ≈ 0.0506) from allenai/dolma3_mix-6T-1025-7B, containing approximately 300 billion cl100k tokens and preserving the original Dolma3 mixing ratios. However, the source data is stored on disk clustered by sub-source, which may cause non-uniform source mixing in small-scale training shuffle buffers. This dataset addresses the issue by implementing true global shuffling: each data row is uniformly randomly assigned to 200 output buckets, and each bucket is shuffled in memory, ensuring uniform data distribution while maintaining source mixing ratios. The dataset size falls within the 100 million to 1 billion range, specifically around 300 billion tokens. The data schema is identical to the source, including fields: source, date, text, token_count, and category. It is designed for text generation tasks, suitable for large-scale language model training, aiming to provide more uniform data sampling to improve model performance. The language is English, licensed under odc-by, with shuffling using random seed 42 to ensure reproducibility.
数据集概述:dolma3_300B_sample_shuffled
该数据集是 TheFinAI/dolma3_300B_sample 的全局行级混洗版本。
基本信息
- 许可证: odc-by
- 语言: 英语 (en)
- 规模: 1亿 < n < 10亿 (100M< n <1B)
- 任务: 文本生成 (text-generation)
- 标签: dolma, shuffled
数据来源与抽样
源数据通过对 allenai/dolma3_mix-6T-1025-7B 进行逐行伯努利抽样(概率 p ≈ 0.0506)产生,保留了原始 Dolma3 混合比例,生成了约 300B 的 cl100k 词元。
数据集特点与动机
源数据的 Parquet 文件在磁盘上按子源聚类存储(每个约 10 万行的 Parquet 文件将同一输入分片的数据连续排列),导致较小的训练混洗缓冲区在每个小批量中会看到非均匀的源混合。该数据集对源数据进行了真正的全局混洗:每一行被均匀随机分配到 200 个输出桶中,然后每个桶在内存中被混洗。源混合比例保持不变。
数据模式
与源数据相同,包含字段:source、date、text、token_count、category。
随机种子
种子值: 42




