metadata
datasets:
- Susant-Achary/constitution-of-india-dataset
language:
- en
task_categories:
- text-generation
tags:
- constitution
- legal
- text
size_categories:
- 10K<n<100K
license: other
Constitution of India Dataset
This dataset contains the full text of the Constitution of India, a legal and foundational document of the Republic of India. The Constitution is the supreme law of India and serves as the guiding framework for the country’s political, legal, and administrative systems.
Dataset Summary
- Language: English
- File Format: Plain text (
.txt
) - Size: Approximately 80,000 words (~0.08 million tokens)
- Content: The dataset contains the full text of the Indian Constitution, organized in its original structure.
Dataset Details
Dataset Structure
- File Name:
constitution-of-india.txt
- Structure: The dataset is presented as a plain text file with no additional formatting or annotations. It includes:
- The Preamble of the Constitution.
- Parts, Articles, and Schedules as per the original document.
Intended Use
This dataset can be used for:
- Fine-tuning language models for legal or domain-specific text generation.
- Educational and research purposes related to the Indian Constitution.
- Analyzing the linguistic style and structure of legal texts.
How to Load the Dataset
To load the dataset directly from the Hugging Face Hub:
from datasets import load_dataset
# Load the dataset
dataset = load_dataset("username/constitution-of-india-dataset", split="train")
# View the first few entries
print(dataset[:5])