Datasets:
Update README.md
Browse files
README.md
CHANGED
|
@@ -77,13 +77,13 @@ The `datasets` library allows you to load and pre-process your dataset in pure P
|
|
| 77 |
For example, to download the Hindi config, simply specify the corresponding language config name (i.e., "hi" for Hindi):
|
| 78 |
```python
|
| 79 |
from datasets import load_dataset
|
| 80 |
-
mucs = load_dataset("dianavdavidson/MUCS-Hinglish",
|
| 81 |
```
|
| 82 |
|
| 83 |
Using the datasets library, you can also stream the dataset on-the-fly by adding a `streaming=True` argument to the `load_dataset` function call. Loading a dataset in streaming mode loads individual samples of the dataset at a time, rather than downloading the entire dataset to disk.
|
| 84 |
```python
|
| 85 |
from datasets import load_dataset
|
| 86 |
-
mucs = load_dataset("dianavdavidson/MUCS-Hinglish",
|
| 87 |
print(next(iter(mucs)))
|
| 88 |
```
|
| 89 |
|
|
|
|
| 77 |
For example, to download the Hindi config, simply specify the corresponding language config name (i.e., "hi" for Hindi):
|
| 78 |
```python
|
| 79 |
from datasets import load_dataset
|
| 80 |
+
mucs = load_dataset("dianavdavidson/MUCS-Hinglish", split="train")
|
| 81 |
```
|
| 82 |
|
| 83 |
Using the datasets library, you can also stream the dataset on-the-fly by adding a `streaming=True` argument to the `load_dataset` function call. Loading a dataset in streaming mode loads individual samples of the dataset at a time, rather than downloading the entire dataset to disk.
|
| 84 |
```python
|
| 85 |
from datasets import load_dataset
|
| 86 |
+
mucs = load_dataset("dianavdavidson/MUCS-Hinglish", split="train", streaming=True)
|
| 87 |
print(next(iter(mucs)))
|
| 88 |
```
|
| 89 |
|