slm-tokenized-1.8M
收藏资源简介:
该数据集包含用于训练机器学习模型的序列数据,共有145.8万个训练样本,总大小约为1.84 GB。每个样本包含两个关键字段:input_ids,这是一个表示输入标记序列的int32整数列表;attention_mask,这是一个指示模型应关注哪些位置的int8整数列表。数据集仅提供训练集划分,适用于需要处理序列输入的任务,例如自然语言处理中的文本分类、语言建模或序列标注。数据以预处理的张量格式存储,便于直接加载到深度学习框架中进行模型训练。
This dataset contains sequence data for training machine learning models, with 1.458 million training samples and a total size of approximately 1.84 GB. Each sample includes two key fields: input_ids, which is a list of int32 integers representing the input token sequence, and attention_mask, which is a list of int8 integers indicating which positions the model should focus on. The dataset only provides a training set split and is suitable for tasks requiring sequence input, such as text classification, language modeling, or sequence labeling in natural language processing. The data is stored in a preprocessed tensor format, facilitating direct loading into deep learning frameworks for model training.
数据集概述
- 数据集名称:
matosdata/slm-tokenized-1.8M - 数据集大小: 下载大小约 815.96 MB,总数据集大小约 1.83 GB
- 数据集分割: 仅包含训练集
- 训练集样本数: 1,452,000 条
- 训练集大小: 约 1.83 GB
数据特征
该数据集包含以下两个特征字段:
- input_ids (
list[int32]): 输入 token 的 ID 序列,每个 ID 为 32 位整数类型。 - attention_mask (
list[int8]): 注意力掩码序列,每个元素为 8 位整数类型,用于指示模型关注哪些 token。
数据配置
- 配置名称:
default - 数据文件路径: 训练数据存放在
data/train-*路径下,支持通配符匹配多个文件。
可能用途
该数据集为已预处理的 tokenized 形式,适用于直接用于训练小型语言模型(SLM),无需额外分词或数据清洗步骤。



