LavanyaPobbathi/lamus-scotus-legal-arguments
LAMUS: Legal Argument Mining from U.S. Supreme Court π Dataset Description This dataset contains 2,900,083 sentences from U.S. Supreme Court opinions spanning 1921-2025, automatically labeled with legal argument categories. This is the largest publicly available labeled dataset for legal argument mining from U.S. caselaw. π― Purpose The dataset enables: Legal Argument Mining research Legal Text Classification model training Temporalβ¦ See the full description on the dataset page: https://huggingface.co/datasets/LavanyaPobbathi/lamus-scotus-legal-arguments.
LAMUS: Legal Argument Mining from U.S. Supreme Court
<div align="center">
  
</div>
π Dataset Description
This dataset contains 2,900,083 sentences from U.S. Supreme Court opinions spanning 1921-2025, automatically labeled with legal argument categories. This is the largest publicly available labeled dataset for legal argument mining from U.S. caselaw.
π― Purpose
The dataset enables:
- Legal Argument Mining research
- Legal Text Classification model training
- Temporal Analysis of judicial writing styles
- Cross-court Comparison studies
π Dataset Statistics
ποΈ Supreme Court Eras Covered
π·οΈ Label Categories
π Dataset Structure
Data Fields
Example Entry
{
"row_id": 0,
"sentence": "The defendant was convicted of first-degree murder.",
"case_title": "Smith v. United States",
"citation": "500 U.S. 123",
"court": "Rehnquist Court",
"year": 1991,
"Predicted_Label": "Facts"
}π Usage
Loading the Dataset
from datasets import load_dataset
# Load the full dataset
dataset = load_dataset("LavanyaPobbathi/lamus-scotus-legal-arguments")
# Access the data
scotus_data = dataset["scotus_all_courts"]
print(f"Total sentences: {len(scotus_data):,}")
# Example: Filter by court era
burger_court = [s for s in scotus_data if s["court"] == "Burger Court"]Loading as Pandas DataFrame
import pandas as pd
from datasets import load_dataset
dataset = load_dataset("LavanyaPobbathi/lamus-scotus-legal-arguments")
df = dataset["scotus_all_courts"].to_pandas()
# Analyze label distribution
print(df["Predicted_Label"].value_counts())Filter by Court Era
# Get only Roberts Court (2005-present)
roberts = df[df["court"] == "Roberts Court"]
print(f"Roberts Court sentences: {len(roberts):,}")π¬ Methodology
Labeling Model
The sentences were labeled using a fine-tuned Llama-3-8B model with the following specifications:
Training Data
The model was trained on 2,585 manually annotated sentences from Texas criminal court cases and validated on 647 test sentences.
Validation
- Stratified train/test split (80/20)
- 6-class classification task
- Macro F1: 0.69, Weighted F1: 0.80
π Key Research Findings
- Fine-tuning dramatically outperforms prompting (+9.27% accuracy)
- General-domain LLMs outperform legal-specific models (surprising finding)
- Few-shot prompting decreases accuracy (important negative result)
- Significant domain shift between trial courts (Facts-heavy) and SCOTUS (Rule/Law-heavy)
π Related Resources
- Training Data: Texas Criminal Cases (available upon request)
- Model: Fine-tuned Llama-3-8B (available upon request)
- Paper: [Coming Soon - ICAIL 2026]
π Citation
If you use this dataset in your research, please cite:
@dataset{lamus2026,
title={LAMUS: Legal Argument Mining from U.S. Supreme Court Using Large Language Models},
author={Pobbathi, Lavanya and Wang, Serene and Chen, Haihua},
year={2026},
publisher={Hugging Face},
url={https://huggingface.co/datasets/LavanyaPobbathi/lamus-scotus-legal-arguments}
}π License
This dataset is released under the MIT License.
The underlying Supreme Court opinions are in the public domain as U.S. government works.
π₯ Authors
- Lavanya Pobbathi - University of North Texas
- Serene Wang - University of North Texas
- Haihua Chen - University of North Texas (Supervisor)
π§ Contact
For questions or feedback, please open an issue on this dataset repository or contact the authors.
