CoolFace
Datasetpublic

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.

sourceHugging Facemitupdated 8mo agoView on Hugging Face
3likes22downloads
Dataset Card

LAMUS: Legal Argument Mining from U.S. Supreme Court

<div align="center">

![Dataset](https://huggingface.co/datasets/LavanyaPobbathi/lamus-scotus-legal-arguments) ![License](https://opensource.org/licenses/MIT) ![Task](https://huggingface.co/tasks/text-classification)

</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

MetricValue
Total Sentences2,900,083
Supreme Court Eras8 (1921-2025)
Label Categories6
Labeling Model Accuracy85.16%
File Size~987 MB

πŸ›οΈ Supreme Court Eras Covered

Court EraChief JusticeYearsSentences% of Dataset
Burger CourtWarren Burger1969-1986809,40927.9%
Rehnquist CourtWilliam Rehnquist1986-2005673,56423.2%
Warren CourtEarl Warren1953-1969377,64513.0%
Roberts CourtJohn Roberts2005-2025362,89112.5%
Hughes CourtCharles E. Hughes1930-1941213,1227.4%
Vinson CourtFred Vinson1946-1953170,9755.9%
Taft CourtWilliam H. Taft1921-1930155,0665.3%
Stone CourtHarlan F. Stone1941-1946137,4114.7%

🏷️ Label Categories

LabelDescriptionCountPercentage
AnalysisLegal reasoning, interpretation, argumentation799,92127.6%
Rule/Law/HoldingLegal rules, statutes, precedents, holdings799,32427.6%
FactsBackground details, case history, evidence763,10626.3%
OthersProcedural text, citations, headers354,78412.2%
ConclusionFinal decisions, judgments, outcomes123,1374.2%
IssueLegal questions being addressed59,8112.1%

πŸ“ Dataset Structure

Data Fields

FieldTypeDescription
row_idint64Unique identifier
sentencestringThe legal sentence text
case_titlestringName of the case
citationstringLegal citation (e.g., "410 U.S. 113")
docket_numberstringCourt docket number
source_fieldstringPart of opinion (syllabus, opinion, etc.)
courtstringSupreme Court era
yearint64Year of decision
source_filestringOriginal source file
Predicted_LabelstringML-predicted argument label
sourcestringData source
date_decidedstringDecision date
urlstringLink to original opinion

Example Entry

json
{
  "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

python
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

python
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

python
# 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:

ParameterValue
Base ModelMeta-Llama-3-8B-Instruct
MethodQLoRA (4-bit quantization)
Learning Rate2e-4
LoRA Rank16
Epochs3
Test Accuracy85.16%

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

  1. 1.Fine-tuning dramatically outperforms prompting (+9.27% accuracy)
  2. 2.General-domain LLMs outperform legal-specific models (surprising finding)
  3. 3.Few-shot prompting decreases accuracy (important negative result)
  4. 4.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:

bibtex
@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.