Dataset · harvard-lil
8.3M US judicial opinions
harvard-lil/cold-cases
A massive corpus of US precedent judicial opinions with metadata for training legal language models.
What's inside
It contains the texts and metadata of 8.3 million US judicial opinions in English. The data is packaged into compressed parquet files, with a JSON Lines sample provided for preview. The project was created to develop open legal tools in the spirit of Pile of Law and LegalBench.
What you can do with it
- Fine-tuning or LoRA for LLMs specialized in US case law analysis
- Creating a RAG system for precedent law search
- Evaluating legal models on fact extraction and case classification tasks
- Languages
- English
- Size
- 100K–1M rows
- Downloads this month
- 6.7K
- Likes
- 43
Models trained on it
How to load it
from datasets import load_dataset
ds = load_dataset("harvard-lil/cold-cases")