Dataset Viewer

The dataset viewer is not available because its heuristics could not detect any supported data files. You can try uploading some data files, or configuring the data files location manually.

Data-Constrained Language Model Pretraining

This repository contains dataset snapshots used in the paper "Data-Constrained Language Model Pretraining: Improved Regularization and Scaling Laws".

The dataset consists of pre-tokenized .pt files containing packed GPT-2-tokenized sequences derived from the DCLM corpus. These snapshots were curated to study language model pretraining in data-constrained, compute-rich regimes, specifically focusing on Masked-Input Regularization (MIR) and scaling laws.

Project Resources

Sample Usage

You can download the dataset snapshots using the huggingface-cli:

huggingface-cli download zhiwei555/dclm_data_200m \
  --repo-type dataset \
  --local-dir dclm_data_200m

The training scripts in the associated GitHub repository expect the following directory structure:

  • dclm_data_200m/dclm_train.pt
  • dclm_data_200m/dclm_val.pt

Related Snapshots

The following snapshots were used for the experiments in the paper:

  • 100M: zhiwei555/dclm_data_100m
  • 200M: zhiwei555/dclm_data_200m
  • 300M: zhiwei555/dclm_data_300m
  • 400M: zhiwei555/dclm_data_400m
Downloads last month
33

Paper for zhiwei555/dclm_data_300m