Update README.md
Browse files
README.md
CHANGED
@@ -11,7 +11,7 @@ tags:
|
|
11 |
- text
|
12 |
size_categories:
|
13 |
- 10K<n<100K
|
14 |
-
license: other
|
15 |
---
|
16 |
|
17 |
# Constitution of India Dataset
|
@@ -26,4 +26,32 @@ This dataset contains the full text of the **Constitution of India**, a legal an
|
|
26 |
- **Content:** The dataset contains the full text of the Indian Constitution, organized in its original structure.
|
27 |
|
28 |
## Dataset Details
|
29 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
11 |
- text
|
12 |
size_categories:
|
13 |
- 10K<n<100K
|
14 |
+
license: other # Specify 'other' if it's public domain, or provide the correct license
|
15 |
---
|
16 |
|
17 |
# Constitution of India Dataset
|
|
|
26 |
- **Content:** The dataset contains the full text of the Indian Constitution, organized in its original structure.
|
27 |
|
28 |
## Dataset Details
|
29 |
+
|
30 |
+
### Dataset Structure
|
31 |
+
|
32 |
+
- **File Name:** `constitution-of-india.txt`
|
33 |
+
- **Structure:** The dataset is presented as a plain text file with no additional formatting or annotations. It includes:
|
34 |
+
- The **Preamble** of the Constitution.
|
35 |
+
- **Parts, Articles, and Schedules** as per the original document.
|
36 |
+
|
37 |
+
### Intended Use
|
38 |
+
|
39 |
+
This dataset can be used for:
|
40 |
+
- Fine-tuning language models for legal or domain-specific text generation.
|
41 |
+
- Educational and research purposes related to the Indian Constitution.
|
42 |
+
- Analyzing the linguistic style and structure of legal texts.
|
43 |
+
|
44 |
+
---
|
45 |
+
|
46 |
+
## How to Load the Dataset
|
47 |
+
|
48 |
+
To load the dataset directly from the Hugging Face Hub:
|
49 |
+
|
50 |
+
```python
|
51 |
+
from datasets import load_dataset
|
52 |
+
|
53 |
+
# Load the dataset
|
54 |
+
dataset = load_dataset("username/constitution-of-india-dataset", split="train")
|
55 |
+
|
56 |
+
# View the first few entries
|
57 |
+
print(dataset[:5])
|