Harvard USPTO Patent Dataset (HUPD)
The Harvard USPTO Patent Dataset (HUPD) is a large, cleanly structured corpus of US patent applications built specifically for machine learning and natural language processing (NLP), the field concerned with teaching computers to work with human language. It draws on filings to the US Patent and Trademark Office and, unlike most patent tools, is shaped for people training and evaluating models rather than for lawyers running prior-art searches.
Its structure is what sets it apart. Each record separates the parts of an application, title, abstract, claims, background, and summary, and, crucially, includes the examination decision, so every patent is labelled by whether it was accepted or rejected. That turns it into a ready-made dataset for the tasks its authors designed it around, such as predicting patentability from the text or studying how language differs between granted and rejected filings.
Getting started is about as easy as it gets. It is hosted on Hugging Face and distributed as `Parquet` and `JSON`, so you can load it with the standard `datasets` library in a couple of lines, stream it rather than downloading it whole, and filter by filing year or decision. That low friction makes it a sensible starting point for a focused US-patent RAG or a quick fine-tuning experiment.
The licence is CC BY 4.0: commercial use is fine as long as you credit HUPD, with no share-alike obligation. The main limits are scope and freshness. It covers US applications only, over a defined range of years rather than updating live, and patent prose is dense and formulaic, so retrieval improves a lot with careful chunking that respects the claim and section structure.
If you need the widest international coverage or live examination events, Google Patents Public Datasets is the broader (if heavier) choice. HUPD is the one to reach for when you want a clean, ML-ready US corpus you can load and start building with the same day.
Related sources
BIGPATENT
A corpus of 1.3 million US utility patents filed between 1971 and 2018, each paired with its human-written abstract as a gold-standard summary and organised by Cooperative Patent Classification code. A large, clean patent text corpus built for abstractive summarisation and other patent NLP work.
EPO Espacenet & Open Patent Services
Free access to over 140M patent documents from the European Patent Office (EPO). Its Open Patent Services text analysis tools have made patent full texts much easier to reach, though the terms are open access rather than an open reuse licence.
Google Patents Public Datasets
A query-based collection of over 120M patent documents from more than 100 patent offices worldwide, including applications, pre-grant publications, and granted patents. Accessible through Google BigQuery, with hundreds of millions of USPTO events also queryable.
PatentsView
A platform from the US Patent and Trademark Office (USPTO) for exploring US patent data, with visualisation and analysis tools. It connects patents, inventors, organisations, and locations in a regularly updated database, and offers both an API and complete bulk data tables.