Team Ai
Datasetpublic

dheerajpabolu/Indian_Laws_Structured_Legal_Dataset

๐Ÿ“š Indian Legal Acts Dataset (Structured Sections) ๐Ÿงพ Overview This dataset provides structured, machine-readable legal text from major Indian statutes, including: Bharatiya Nyaya Sanhita, 2023 (BNS) Code of Criminal Procedure, 1973 (CrPC) Code of Civil Procedure, 1908 (CPC) Indian Evidence Act, 1872 (IEA) Negotiable Instruments Act, 1881 (NIA) Motor Vehicles Act, 1988 (MVA) Indian Divorce Act, 1869 (IDA) Each entry represents a section or chunk of aโ€ฆ See the full description on the dataset page: https://huggingface.co/datasets/dheerajpabolu/Indian_Laws_Structured_Legal_Dataset.

sourceHugging Facemitupdated 6mo agoView on Hugging Face
0likes8downloads
Dataset Card

๐Ÿ“š Indian Legal Acts Dataset (Structured Sections)

๐Ÿงพ Overview

This dataset provides structured, machine-readable legal text from major Indian statutes, including:

  • โ€”Bharatiya Nyaya Sanhita, 2023 (BNS)
  • โ€”Code of Criminal Procedure, 1973 (CrPC)
  • โ€”Code of Civil Procedure, 1908 (CPC)
  • โ€”Indian Evidence Act, 1872 (IEA)
  • โ€”Negotiable Instruments Act, 1881 (NIA)
  • โ€”Motor Vehicles Act, 1988 (MVA)
  • โ€”Indian Divorce Act, 1869 (IDA)

Each entry represents a section or chunk of a section, enriched with metadata for efficient retrieval and NLP applications.


๐ŸŽฏ Intended Use

This dataset is designed for:

  • โ€”Legal question answering systems
  • โ€”Semantic search and document retrieval
  • โ€”Retrieval-Augmented Generation (RAG) pipelines
  • โ€”Legal text classification
  • โ€”Training domain-specific language models

๐Ÿ—๏ธ Data Structure

Each record contains:

  • โ€”Act-level metadata (name, code, effective date)
  • โ€”Structural hierarchy (chapter, section)
  • โ€”Legal content (full section text)
  • โ€”Search-optimized text (search_text)
  • โ€”Chunking support for long sections

๐Ÿง  Key Features

  • โ€”โœ… Structured legal hierarchy
  • โ€”โœ… Chunked for LLM compatibility
  • โ€”โœ… Optimized for vector search
  • โ€”โœ… Multi-domain legal coverage
  • โ€”โœ… High-quality statutory text

๐Ÿš€ Example Use Cases

  • โ€”Build legal chatbots
  • โ€”Create semantic legal search engines
  • โ€”Implement RAG pipelines with LLMs
  • โ€”Perform legal document classification

โš ๏ธ Limitations

  • โ€”Does not include judicial interpretations or case law
  • โ€”Legal language may require domain expertise
  • โ€”Some sections are split into multiple chunks

๐Ÿ“œ License

This dataset contains publicly available legal texts. Users should ensure compliance with applicable laws and data usage policies in their jurisdiction.


๐Ÿค Contributions

Contributions are welcome:

  • โ€”Add more acts
  • โ€”Improve annotations
  • โ€”Include case law or summaries