CoolFace
Modelpublic

Data-Selection/PDS-1B

sourceHugging Faceapache-2.0updated 1y agoView on Hugging Face
0likes161downloads
Model Card

PDS-1B

paper | code

PDS-1B is a 1B model with Mistral achitecture pre-trained from scratch on the data selected from the CC split of Redpajama, using the PDS framework.

The PDS framework is based on the Pontryagin's maximum principle for optimal pre-training data selection, which not only enjoy strong theoretical support but is also scalable for training large language models.

Please refer to our paper for more details.

Overview of the theory:

<p align='left'> <img src="https://cdn-uploads.huggingface.co/production/uploads/624ac662102fcdff87be51b9/Hdw83Vsb305GRlsqB7c34.png" width="700"> </p>

Overview of the PDS framework:

<p align='left'> <img src="https://cdn-uploads.huggingface.co/production/uploads/624ac662102fcdff87be51b9/YPwluLyZGK7DACH1WqDUN.png" width="700"> </p>

Evaluation

PDS-selected data improves the performance of language models pre-trained from scratch and saves pre-training comptation. The improvement scales up to large model sizes.

<p align='left'> <img src="https://cdn-uploads.huggingface.co/production/uploads/624ac662102fcdff87be51b9/6undIr37d10qD73TDiPDK.png" width="600"> </p>

Baseline

Conventional Pre-training

Citation

bibtex
@article{gu2024data,
  title={Data Selection via Optimal Control for Language Models},
  author={Gu, Yuxian and Dong, Li and Wang, Hongning and Hao, Yaru and Dong, Qingxiu and Wei, Furu and Huang, Minlie},
  journal={arXiv preprint arXiv:2410.07064},
  year={2024}
}