HuggingFaceTB/smollm-corpus
收藏资源简介:
SmolLM-Corpus数据集是一个精心策划的高质量教育和合成数据集合,专为训练小型语言模型而设计。该数据集包含三个子集:Cosmopedia v2、Python-Edu和FineWeb-Edu (deduplicated)。Cosmopedia v2是最大的合成数据集,包含超过3900万条生成的教科书、博客文章和故事,主要用于预训练。Python-Edu包含评分较高的Python教育代码文件,这些文件从stack-v2-train数据集中提取。FineWeb-Edu (deduplicated)是一个去重后的教育网页数据集,包含2200亿个令牌的高质量教育内容。
This dataset is a curated collection of high-quality educational and synthetic data designed for training small language models. It includes three subsets: Cosmopedia v2, Python-Edu, and FineWeb-Edu (deduplicated). Cosmopedia v2 is the largest synthetic dataset for pre-training, consisting of over 39 million textbooks, blog posts, and stories. The Python-Edu subset contains Python files scored 4 or more by an educational code model. FineWeb-Edu (deduplicated) is a deduplicated subset of educational web pages, containing 220 billion tokens.
SmolLM-Corpus 数据集概述
数据集子集
Cosmopedia v2
- 特征:
prompt (string): 用于生成文本的输入提示。text (string): 生成的文本内容。token_length (int64): 文本的token长度(使用Mistral-7B tokenizer)。audience (string): 内容的预期受众。format (string): 内容的格式(例如,教科书、故事)。seed_data (string): 用于生成文本的种子样本。
- 数据分割:
train: 包含39,134,000个样本,总大小为212,503,640,747字节。
- 下载大小: 122,361,137,711字节。
- 数据集大小: 212,503,640,747字节。
Python-Edu
- 特征:
blob_id (string): 文件在AWS S3上的Software Heritage (SWH) ID。repo_name (string): GitHub上的仓库名称。path (string): 仓库内的文件路径。length_bytes (int64): 文件内容的UTF-8字节长度。score (float32): 教育评分模型的输出。int_score (uint8): 四舍五入的教育评分。
- 数据分割:
train: 包含7,678,448个样本,总大小为989,334,135字节。
- 下载大小: 643,903,049字节。
- 数据集大小: 989,334,135字节。
FineWeb-Edu (deduplicated)
- 特征:
text (string): 网页的文本内容。id (string): 网页的唯一ID。metadata (struct): 网页的元数据,包括:dump (string): 源CommonCrawl dump。url (string): 网页的URL。date (timestamp[s]): 网页被捕获的日期。file_path (string): commoncrawl快照的文件路径。language (string): 网页的语言。language_score (float64): 语言概率。token_count (int64): 网页的token数量(使用gpt2 tokenizer)。score (float64): 教育质量评分。int_score (int64): 四舍五入的教育质量评分。
- 数据分割:
train: 包含190,168,005个样本,总大小为957,570,164,451字节。
- 下载大小: 550,069,279,849字节。
- 数据集大小: 957,570,164,451字节。
语言
- 英语 (
en)




