datasets
Training and evaluation data, with the modality, task and licence stated up front. Listed live from the Hugging Face Hub.
open-australian-legal-corpus
Open Australian Legal Corpus ⚖️
The Open Australian Legal Corpus by Isaacus, a foundational legal AI research company, is the first and only multijurisdictional open corpus of Australian legislative and judicial documents.
Comprised of 229,122 texts totalling over 60 million lines and 1.4 billion tokens, the Corpus includes every in force statute and regulation in the Commonwealth, New South Wales, Queensland, Western Australia, South Australia, Tasmania and Norfolk Island, in… See the full description on the dataset page: https://huggingface.co/datasets/isaacus/open-australian-legal-corpus.Legal_Corpus_QA_SynDeepThink
🧠 Legal Corpus QA SynDeepThink Dataset
This repository contains a high-intelligence Legal Question-and-Answer dataset, generated through an advanced Iterative and Recursive Thinking process. It bridges the gap between static legal corpora and the dynamic "check-and-recheck" nature of human legal expertise. 🏛️
💡 The Concept: Iterative & Recursive Legal Logic
While standard synthetic datasets are often generated in a single pass, Legal_Corpus_QA_SynDeepThink mimics the… See the full description on the dataset page: https://huggingface.co/datasets/Azzindani/Legal_Corpus_QA_SynDeepThink.legal-corpus-raw-batches
Legal Corpus Raw Batches
This repository stores raw, source-preserving legal-domain corpus batches collected for legal language model pretraining, retrieval, embedding, and corpus analysis work. It is intentionally batch-oriented: each folder corresponds to one source slice, shard, or non-overlapping range, with source metadata and upload verification artifacts kept alongside the raw files.
Last draft card update: 2026-06-30 09:54 UTC.
Current Build Status… See the full description on the dataset page: https://huggingface.co/datasets/TryDotAtwo/legal-corpus-raw-batches.ID_Legal_QA_SynDeepThink
🧠 Indonesian Legal QA SynDeepThink Dataset
This repository hosts a specialized Indonesian Legal QA dataset that incorporates a Deep Thinking Phase. It is engineered for researchers and developers focusing on high-level judicial reasoning and complex regulatory analysis. 🏛️
💡 The Concept: Deep Thinking vs. Standard QA
While standard models often provide "System 1" (snap) judgments, the SynDeepThink approach simulates "System 2" (slow, deliberate) thinking. This dataset… See the full description on the dataset page: https://huggingface.co/datasets/Azzindani/ID_Legal_QA_SynDeepThink.ID_Legal_QA_SynThink
🧠 Indonesian Legal QA Synthetic Think Dataset (ID_Legal_QA_SynThink)
This repository features an advanced Synthetic Question-and-Answer dataset for the Indonesian legal domain, distinguished by the inclusion of an explicit Thinking Phase (Chain-of-Thought). 🏛️
💡 The Concept: Transparent Legal Reasoning
Standard QA datasets often provide just the "final answer." This dataset goes deeper by capturing the internal reasoning process of the model before it arrives at a… See the full description on the dataset page: https://huggingface.co/datasets/Azzindani/ID_Legal_QA_SynThink.LegalPT
LegalPT
LegalPT aggregates the maximum amount of publicly available legal data in Portuguese, drawing from varied sources including legislation, jurisprudence, legal articles, and government documents.
This is the raw version. Deduplicated version is available here.
Dataset Details
Dataset is composed by six corpora:
Ulysses-Tesemõ, MultiLegalPile (PT), ParlamentoPT,
Iudicium Textum, Acordãos TCU, and
DataSTF.
MultiLegalPile (Paper): a multilingual corpus of legal… See the full description on the dataset page: https://huggingface.co/datasets/eduagarcia/LegalPT.vietnamese-legal-documents
Vietnamese Legal Documents
A comprehensive collection of Vietnamese legal documents — laws, decrees, circulars, decisions, and other normative acts — sourced from vbpl.vn, the official Government Legal Document Portal operated by the Ministry of Justice. The dataset includes structured metadata for every document, raw HTML full-text content, and a rich graph of cross-document legal relationships (amendments, citations, repeals, etc.).
Curated by: Thịnh Ngô
Source: vbpl.vn… See the full description on the dataset page: https://huggingface.co/datasets/th1nhng0/vietnamese-legal-documents.Nemotron-Pretraining-Legal-v1
Nemotron-Pretraining-Legal-v1
Dataset Description:
The Nemotron-Pretraining-Legal-v1 dataset is part of the Nemotron Pretraining Data collection of pretraining datasets. Designed for the NVIDIA Nemotron 3 family of LLMs, this dataset contains a collection of synthetic datasets intended to improve the legal capabilities of LLMs. In one ablation, adding these datasets to Nemotron 3 Nano pretraining boosted a proxy LegalBench average accuracy from 64.6 to 74.7.
This… See the full description on the dataset page: https://huggingface.co/datasets/nvidia/Nemotron-Pretraining-Legal-v1.courtlistener-legal-corpus
CourtListener Legal Corpus (CPT + SFT)
Training corpus used to fine-tune the Legal-Qwen model family
(27B,
9B).
All content is derived from public-domain United States court opinions via
CourtListener (Free Law Project).
Files
File
Records
Purpose
cpt.jsonl
21,421
Continued pre-training documents: full opinion texts, quality-filtered
sft_cap20k.jsonl
20,000
Instruction pairs: opinion excerpt -> one-sentence holding (legal parenthetical), built from… See the full description on the dataset page: https://huggingface.co/datasets/scottyjmp5/courtlistener-legal-corpus.open-australian-legal-qa
Open Australian Legal QA ⚖️
Open Australian Legal QA by Isaacus is the first open dataset of Australian legal questions and answers.
Comprised of 2,124 questions and answers synthesised by gpt-4 from the Open Australian Legal Corpus, the largest open database of Australian law, the dataset is intended to facilitate the development of legal AI assistants in Australia.
To ensure its accessibility to as wide an audience as possible, the dataset is distributed under the same licence… See the full description on the dataset page: https://huggingface.co/datasets/isaacus/open-australian-legal-qa.us-legal-code
Dataset Card for United States Code (Cornell LII) — Hierarchical Sections
Dataset Summary
This dataset is purpose-built for the Prime Intellect U.S. legal evaluation environment.
This dataset contains the text of the United States Code scraped from the Legal Information Institute at Cornell Law School. Each record corresponds to a navigable section (“U.S. Code” tab only) together with its hierarchy path—title, subtitle, division, part, subpart, chapter, subchapter, and so… See the full description on the dataset page: https://huggingface.co/datasets/emre570/us-legal-code.swedish-legal-decisions-raw-v1
Swedish Court Decisions — Svenska Domstolsavgöranden
55,096 court decisions spanning 45 years of Swedish case law, purpose-built for LLM training.
The most comprehensive open dataset of Swedish appellate court decisions available for AI development. Sourced directly from the official Swedish Courts case law database via their public REST API and preprocessed into three ready-to-use training configurations.
Why This Dataset
Scale and depth: 55,096 decisions covering… See the full description on the dataset page: https://huggingface.co/datasets/nexoneAB/swedish-legal-decisions-raw-v1.legal-llm-benchmark
Legal LLM Benchmark Dataset
Safety-Utility Trade-offs in Legal AI: An LLM Evaluation Across 12 Models
Quick Start
from datasets import load_dataset
# Core datasets
questions = load_dataset("marvintong/legal-llm-benchmark", "questions")
phase1_evals = load_dataset("marvintong/legal-llm-benchmark", "phase1_evaluations")
phase3_evals = load_dataset("marvintong/legal-llm-benchmark", "phase3_evaluations")
# Additional helpful datasets
contracts =… See the full description on the dataset page: https://huggingface.co/datasets/marvintong/legal-llm-benchmark.indian-legal-documents
Indian Legal Documents
Open Indian statutory and legal-document data for AI, search, and legal research.
This dataset is part of the KanoonGPT Open Legal Data Initiative — an effort to make Indian legal data easier to access, structure, and build on for open-source research, legal tech, and production AI systems.
KanoonGPT is building structured Indian legal datasets and data infrastructure for open-source, research, and enterprise AI applications. Learn more at kanoongpt.in.… See the full description on the dataset page: https://huggingface.co/datasets/KanoonGPT/indian-legal-documents.legalbench
LegalBench: A Collaboratively Built Benchmark for Measuring Legal Reasoning in Large Language Models
Dataset Description
LegalBench is an open science effort to collaboratively curate tasks for evaluating legal reasoning in English large language models (LLMs). The benchmark consists of 162 tasks gathered from 40 contributors, covering a wide range of legal domains, task structures, and difficulty levels.
Homepage
Website:… See the full description on the dataset page: https://huggingface.co/datasets/sarthak-wiz01/legalbench.vietnamese-legal-documents
Vietnamese Legal Documents
A comprehensive dataset of 518,255 Vietnamese legal documents sourced from
thuvienphapluat.vn — the largest Vietnamese legal
document repository. The dataset covers laws, decrees, circulars, decisions, and
other official documents issued by Vietnamese government bodies, spanning from
1924 to 2026.
At a Glance
🗂️ Total documents
518,255
📅 Date range
1924 – 2026
🏛️ Issuing authorities
2,393 unique bodies
📋 Document types
36… See the full description on the dataset page: https://huggingface.co/datasets/vohuutridung/vietnamese-legal-documents.veritas-fdpo-v0-canadian-legal
Veritas F-DPO v0 — Canadian Legal Hallucination Preference Dataset
STATUS: PROCESS NOT COMPLETE. The 16-check verification spec returns FAIL on both splits
(5 failing checks: 4_length_ratio, 6_corruption_distribution, 8_court_coverage,
13_jaccard_similarity, 15_ne_count_balance). See FINAL_REPORT.md for absolute per-check
failure counts and analysis. The failing checks are assessed as spec-calibration drift rather
than data corruption, but per the specification the pipeline has… See the full description on the dataset page: https://huggingface.co/datasets/PeppX/veritas-fdpo-v0-canadian-legal.italian-legal-corpus
Italian Legal Corpus
A comprehensive corpus of Italian legal texts from 4 open-data sources,
designed for training and evaluating legal NLP models.
Sources
Source
Description
Documents
Normattiva
All Italian national legislation (1861-2026)
~300K
Corte Costituzionale
Constitutional Court decisions (1956-2026)
~18K
OpenGA
Administrative justice metadata
~100K
EUR-Lex
EU legislation in Italian
~50K
Schema
Each record contains:… See the full description on the dataset page: https://huggingface.co/datasets/dossier-legal/italian-legal-corpus.WangchanX-Legal-ThaiCCL-RAG
🏛️ WangchanX-Legal-ThaiCCL-RAG
[Technical Report]
The WangchanX-Legal-ThaiCCL-RAG dataset supports the development Retrieval-Augmented Generation (RAG) for Thai Legal question answering. This dataset is allows developers to finetune both retrieval model - to better retrieve relevant law section, and Large Language Model (LLM) - for instruction tuning. Our dataset supports Corporate and Commercial Law (thus ThaiCCL name). See legislation section for more details on supported… See the full description on the dataset page: https://huggingface.co/datasets/airesearch/WangchanX-Legal-ThaiCCL-RAG.ID_Legal_QA_Syn
🤖 Indonesian Legal QA Synthetic Dataset (ID_Legal_QA_Syn)
This repository contains a high-quality, synthetic Question-and-Answer dataset focused on Indonesian Law and Regulations. It was generated to bridge the gap between raw legal text and conversational AI requirements. 🏛️
💡 The Concept: Synthetic Legal Intelligence
Legal documents are often dense and difficult for general-purpose models to navigate. This dataset uses a Synthetic Data Generation (SDG) approach to… See the full description on the dataset page: https://huggingface.co/datasets/Azzindani/ID_Legal_QA_Syn.corpus_dominio_legal_administrativo_tmp
Corpus de dominio legal-administrativo
Descripción general
El corpus de dominio administrativo-legal reúne textos oficiales procedentes de boletines y diarios institucionales de Galicia, representativos del uso formal, normativo y administrativo del lenguaje jurídico-administrativo.
Los textos incluidos corresponden a documentos completos, estructurados y con metadatos asociados. Esta es una versión temporal actualizada del corpus, que incorpora una ampliación… See the full description on the dataset page: https://huggingface.co/datasets/proxectonos/corpus_dominio_legal_administrativo_tmp.vietnamese-legal-instruct
Vietnamese Legal Instruction Dataset
Dataset: huggingface.co/datasets/duyet/vietnamese-legal-instruct | Source code: github.com/duyet/vietnamese-legal-documents-dataset
Instruction-following dataset built from th1nhng0/vietnamese-legal-documents — 127K Vietnamese legal documents from vbpl.vn (Government Legal Document Portal, Ministry of Justice).
467,732 training pairs across 14 QA types with deep Vietnamese legal hierarchy knowledge. Every document has a full_text pair for content… See the full description on the dataset page: https://huggingface.co/datasets/duyet/vietnamese-legal-instruct.egypt-legal-corpus
Egyptian Legal Corpus
A comprehensive collection of Egyptian legal texts, meticulously extracted and tokenized for Natural Language Processing (NLP) applications, legal research, and AI model training. This corpus provides high-quality Arabic legal content with structured metadata for efficient processing.
Dataset Statistics
This release provides a foundational legal corpus with strict quality controls:
Token Count: 25M+ tokens (25,054,372 tokens) using cl100k_base… See the full description on the dataset page: https://huggingface.co/datasets/dataflare/egypt-legal-corpus.legalbenchLegalBench is a collection of benchmark tasks for evaluating legal reasoning in large language models.Vietnamese-Legal-Documents
Vietnamese Legal Documents Dataset
1. Dataset Summary
Raw data: tmnam20/BKAI-Legal-Retrieval
The Vietnamese Legal Documents Dataset is a benchmark dataset designed for legal information retrieval in the Vietnamese language. It consists of:
A corpus of legal documents.
Train/test splits containing natural language queries and their corresponding relevant documents.
This dataset is intended to support research and development in:
Information Retrieval (IR)… See the full description on the dataset page: https://huggingface.co/datasets/YuITC/Vietnamese-Legal-Documents.instruct-legal-refugiados-es
Dataset Card for AsistenciaRefugiados
README in Spanish
Spain is the third country with the highest number of asylum applications, receiving each year approximately more than 100,000 applications, and the third with the lowest number of approvals within the EU.
The main objective of this project is to facilitate the tasks of NGOs in this field and other institutions and help them to obtain answers to questions (QA) related to refugee legislation in Spanish. With its… See the full description on the dataset page: https://huggingface.co/datasets/somosnlp/instruct-legal-refugiados-es.Argimi-Legal-French-Jurisprudence
The ArGiMi French Jurisprudence Dataset
This dataset contains a comprehensive collection of French case law, sourced from the official archives of French jurisprudence. It is divided into three distinct subdivisions: Constitutional ("constit"), Administrative ("cetat"), and Judiciary ("juri").
This dataset was created for the ArGiMi project, an open-source initiative dedicated to promoting open data and knowledge sharing. The project is a collaborative effort between Giskard… See the full description on the dataset page: https://huggingface.co/datasets/artefactory/Argimi-Legal-French-Jurisprudence.Indian-Legal-QA-BNS-BNSS-BSA
Indian Legal QA — BNS + BNSS + BSA 2023
6,354 structured question-answer pairs covering all 1,059 sections across India's three criminal justice acts of 2023
Overview
This dataset contains 6,354 instruction-format question-answer pairs in JSONL format, covering every section of India's three criminal justice reform acts enacted in 2023. Each section has exactly 6 questions approaching the same legal provision from different angles… See the full description on the dataset page: https://huggingface.co/datasets/GSMS-B/Indian-Legal-QA-BNS-BNSS-BSA.bangladesh-legal-qa-dataset
Bangladesh Legal QA Dataset: Bangla-English Law and Fine-Tuning
The Bangladesh Legal QA Dataset is a bilingual Bangla-English dataset for
Bangladesh law question answering, legal NLP, LLM fine-tuning, instruction
tuning, and retrieval-augmented generation (RAG). It provides 2,165
context-grounded legal QA records, direct-answer and IRAC chat-format training
data, and structured statutory text from six Bangladesh Acts and three
schedules.
This is the 2,165-record paper-aligned… See the full description on the dataset page: https://huggingface.co/datasets/momahadi/bangladesh-legal-qa-dataset.legal_lamaLegalLAMA: Legal LAnguage Model Analysis (LAMA) (LAMA) dataset.
