Skip to content

Dataset · vaquill

Large US legislation corpus in English

vaquill/open-us-law

Over 5 million sections of US laws, regulations, and prosecutor opinions for search and analysis.

What's inside

Contains 5,081,709 sections of legal texts in English, split into 308 files and presented in tabular-text format (27 columns). The set includes the active Code of Federal Regulations, laws from 40 jurisdictions, and 104,540 attorney general opinions from 42 jurisdictions. Data is current as of September 2026.

What you can do with it

  • Training and testing RAG systems for legal document search
  • SFT fine-tuning of language models for answering legal questions
  • Classification of regulations and analysis of their status
Tasks
Text retrieval, Question answering, Text classification
Languages
English
Size
1M–10M rows
Downloads this month
1.4K
Likes
34
Access
on request on Hugging Face

How to load it

from datasets import load_dataset

ds = load_dataset("vaquill/open-us-law")