Datasets:
Update README.md
Browse files
README.md
CHANGED
|
@@ -1,5 +1,5 @@
|
|
| 1 |
---
|
| 2 |
-
license: cc-by-4.0
|
| 3 |
language:
|
| 4 |
- th
|
| 5 |
tags:
|
|
@@ -50,13 +50,13 @@ dataset_info:
|
|
| 50 |
You can easily load the dataset using the 🤗 `datasets` library. The dataset can be downloaded and prepared with a single command:
|
| 51 |
```python
|
| 52 |
from datasets import load_dataset
|
| 53 |
-
lotus_dis = load_dataset("
|
| 54 |
```
|
| 55 |
|
| 56 |
To iterate through the dataset without downloading it entirely, you can use streaming mode:
|
| 57 |
```python
|
| 58 |
from datasets import load_dataset
|
| 59 |
-
lotus_dis = load_dataset("
|
| 60 |
print(next(iter(lotus_dis)))
|
| 61 |
```
|
| 62 |
|
|
|
|
| 1 |
---
|
| 2 |
+
license: cc-by-sa-4.0
|
| 3 |
language:
|
| 4 |
- th
|
| 5 |
tags:
|
|
|
|
| 50 |
You can easily load the dataset using the 🤗 `datasets` library. The dataset can be downloaded and prepared with a single command:
|
| 51 |
```python
|
| 52 |
from datasets import load_dataset
|
| 53 |
+
lotus_dis = load_dataset("nectec/LOTUSDIS", split="train")
|
| 54 |
```
|
| 55 |
|
| 56 |
To iterate through the dataset without downloading it entirely, you can use streaming mode:
|
| 57 |
```python
|
| 58 |
from datasets import load_dataset
|
| 59 |
+
lotus_dis = load_dataset("nectec/LOTUSDIS", split="train", streaming=True)
|
| 60 |
print(next(iter(lotus_dis)))
|
| 61 |
```
|
| 62 |
|