Notes

BookCorpus

Before anyone could train on a meaningful slice of the web, somebody had to find a large pile of well-written prose. BookCorpus was that pile: around eleven thousand free novels, and for several years the quiet second ingredient in nearly every landmark language model.

What is in it

It was collected in 2015 from Smashwords, a self-publishing platform, by researchers who wanted to align the text of books with the films made from them. It holds roughly 11,000 unpublished novels and close to a billion words. Unlike an encyclopedia article, a novel runs for tens of thousands of words with consistent characters, voice and plot — exactly the signal a model needs to learn long-range coherence rather than sentence-level plausibility.

Why it turns up everywhere

GPT-1 was trained on BookCorpus alone, and BERT used it together with English Wikipedia. That pairing — books for narrative flow, Wikipedia for factual register — became the default pretraining mix for years, and book-length text is still deliberately included in modern corpora such as The Pile.

The problems nobody hid for long
  • Duplication: thousands of sentences repeat, and some books appear twice under different titles.
  • Skew: romance is heavily over-represented, so the "general English" it teaches is nothing like neutral.
  • Provenance: the original download was withdrawn, and the free-to-read status of some titles was never clear-cut. Replications such as BookCorpusOpen exist, but no two copies are identical.

It reads best as a lesson in how much a model inherits from a dataset that was assembled for an entirely different purpose.

BookCorpus is a pretraining dataset of roughly 11,000 free self-published novels — about a billion words of continuous narrative prose — collected in 2015 and used to train GPT-1 and, alongside Wikipedia, BERT. Book-length text teaches the long-range coherence that short web pages cannot, which is why it anchored the standard pretraining mix for years. Its duplication, genre skew and unclear provenance make it the stock example of inherited dataset bias.

Imagine teaching someone to write by handing them eleven thousand novels. That is roughly what BookCorpus is: a collection of free self-published books, gathered in 2015, that several of the earliest AI writing systems learned from. Books matter here because they run for hundreds of pages while keeping the same characters and style, so a machine reading them picks up how to stay coherent over a long stretch — not just how to finish one sentence. The collection had quirks too: a lot of repeated text, far more romance than anything else, and murky permissions. The models absorbed all of that as well.