Datasets:
Update README.md
Browse files
README.md
CHANGED
|
@@ -116,6 +116,37 @@ Each data sample includes:
|
|
| 116 |
|
| 117 |
---
|
| 118 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 119 |
## License
|
| 120 |
|
| 121 |
This dataset is released under the **CC BY 4.0** license. For more information, see [Creative Commons Attribution 4.0 International](https://creativecommons.org/licenses/by/4.0/).
|
|
|
|
| 116 |
|
| 117 |
---
|
| 118 |
|
| 119 |
+
# Getting Started
|
| 120 |
+
|
| 121 |
+
You can use the following commands to download and explore the dataset:
|
| 122 |
+
|
| 123 |
+
## Downloading the Entire Dataset
|
| 124 |
+
|
| 125 |
+
```python
|
| 126 |
+
from datasets import load_dataset
|
| 127 |
+
|
| 128 |
+
dataset = load_dataset("ai4bharat/pralekha")
|
| 129 |
+
```
|
| 130 |
+
## Downloading a Specific Split (aligned or unaligned)
|
| 131 |
+
|
| 132 |
+
``` python
|
| 133 |
+
|
| 134 |
+
from datasets import load_dataset
|
| 135 |
+
|
| 136 |
+
dataset = load_dataset("ai4bharat/pralekha", split="<split_name>")
|
| 137 |
+
# For example: dataset = load_dataset("ai4bharat/pralekha", split="aligned")
|
| 138 |
+
```
|
| 139 |
+
## Downloading a Specific Language from a Split
|
| 140 |
+
|
| 141 |
+
```python
|
| 142 |
+
|
| 143 |
+
from datasets import load_dataset
|
| 144 |
+
|
| 145 |
+
dataset = load_dataset("ai4bharat/pralekha", split="<split_name>/<lang_code>")
|
| 146 |
+
# For example: dataset = load_dataset("ai4bharat/pralekha", split="aligned/ben")
|
| 147 |
+
```
|
| 148 |
+
---
|
| 149 |
+
|
| 150 |
## License
|
| 151 |
|
| 152 |
This dataset is released under the **CC BY 4.0** license. For more information, see [Creative Commons Attribution 4.0 International](https://creativecommons.org/licenses/by/4.0/).
|