Skip to content

Dataset · stanford-cs336

OpenWebText training sample for Stanford course

stanford-cs336/owt-sample

A text split of 2.46 million OpenWebText documents with end-of-text delimiters.

What's inside

This is a text dataset with a size between 10 and 100 million records, created from the well-known Skylion007/openwebtext dataset. A script extracted a training split of 2.4 million examples and a test split of 60 thousand from it, appending the `<|endoftext|>` token to the end of each document.

What you can do with it

  • Educational experiments on pre-training language models from scratch (for example, as part of the CS-336 course)
  • Rapid prototyping of tokenizers and LLM training pipelines on web texts
Size
10M–100M rows
Downloads this month
3.2K
Likes
8

How to load it

from datasets import load_dataset

ds = load_dataset("stanford-cs336/owt-sample")