Dataset Viewer
Auto-converted to Parquet Duplicate
Search is not available for this dataset
The dataset viewer is not available for this split.
Couldn't cast array of type list<element: int32> to int32
Error code:   UnexpectedError

Need help to make the dataset viewer work? Make sure to review how to configure the dataset viewer, and open a discussion for direct support.

slm-packed-exp-01

Dataset Summary

Pre-tokenized, packed, and shuffled dataset for Small Language Model (SLM) training. Designed for zero-overhead training with no runtime tokenization or masking required.

Dataset Details

  • Tokenizer: gpt2
  • Vocabulary Size: 50257
  • Sequence Length: 2048 tokens
  • Total Tokens: ~99,987,456
  • Train Sequences: 48,359
  • Validation Sequences: 463
  • Train/Val Split: 99.1% / 0.9%
  • Shuffle Seed: 42
  • Packing Strategy: EOS-aware concatenation (multiple documents per sequence)
  • Masking: None required (standard causal LM with labels=input_ids)

Source Datasets

Dataset Subset Weight Text Column
HuggingFaceFW/fineweb sample-10BT 60.0% text
roneneldan/TinyStories default 40.0% text

Creation Date

2026-04-16 17:36:52 UTC

Training Usage

This dataset is designed for direct use with Hugging Face Trainer without any preprocessing:

from datasets import load_dataset
from transformers import Trainer, TrainingArguments

dataset = load_dataset("cion-ai/slm-packed-exp-01")

training_args = TrainingArguments(
    output_dir="./output",
    per_device_train_batch_size=32,
    remove_unused_columns=False,  # Keep input_ids and labels
)

trainer = Trainer(
    model=model,
    args=training_args,
    train_dataset=dataset["train"],
    eval_dataset=dataset["validation"],
)

Notes

  • No attention_mask needed: All sequences are fully packed (no padding)
  • No loss_mask needed: Standard causal LM loss works directly
  • EOS tokens: Present at document boundaries for context separation
  • Shuffled: Both splits shuffled with seed=42 for reproducibility

License

Inherited from source datasets. Please verify individual source licenses.

Citation

If you use this dataset, please cite the source datasets appropriately.

Downloads last month
15