Datasets:
Update README.md
Browse files
README.md
CHANGED
@@ -172,6 +172,21 @@ Further, we release gold standard codemix dev and test set manually translated b
|
|
172 |
- Dev Set consists of 280 examples
|
173 |
- Test set consists of 2507 examples
|
174 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
175 |
## Dataset Details
|
176 |
|
177 |
### Dataset Description
|
|
|
172 |
- Dev Set consists of 280 examples
|
173 |
- Test set consists of 2507 examples
|
174 |
|
175 |
+
To load the dataset:
|
176 |
+
```
|
177 |
+
!pip install datasets
|
178 |
+
from datasets import load_dataset
|
179 |
+
hinmix_ds = load_dataset("kartikagg98/HINMIX_hi-en","lcsalign-hicmrom") #choose one from lcsalign-en, lcsalign-hicm, lcsalign-hi, lcsalign-hicmrom, lcsalign-noisyhicmrom, lcsalign-hicmdvg
|
180 |
+
print ([hinmix_ds[i][10]['text'] for i in ['train','valid','test']])
|
181 |
+
```
|
182 |
+
Output:
|
183 |
+
```
|
184 |
+
>>> ['events hi samay men kahin south malabar men ghati hai.',
|
185 |
+
'beherhaal, pulis ne body ko sector-16 ke hospital ki mortuary men rakhva diya hai.',
|
186 |
+
'yah hamare country ke liye reality men mandatory thing hai.']
|
187 |
+
|
188 |
+
```
|
189 |
+
|
190 |
## Dataset Details
|
191 |
|
192 |
### Dataset Description
|