Upload README.md with huggingface_hub
Browse files
README.md
CHANGED
|
@@ -25,25 +25,25 @@ vie
|
|
| 25 |
## Supported Tasks
|
| 26 |
|
| 27 |
Question Answering
|
| 28 |
-
|
| 29 |
## Dataset Usage
|
| 30 |
### Using `datasets` library
|
| 31 |
```
|
| 32 |
-
|
| 33 |
-
|
| 34 |
```
|
| 35 |
### Using `seacrowd` library
|
| 36 |
```import seacrowd as sc
|
| 37 |
# Load the dataset using the default config
|
| 38 |
-
|
| 39 |
# Check all available subsets (config names) of the dataset
|
| 40 |
-
|
| 41 |
# Load the dataset using a specific config
|
| 42 |
-
|
| 43 |
```
|
| 44 |
-
|
| 45 |
-
|
| 46 |
-
|
| 47 |
|
| 48 |
## Dataset Homepage
|
| 49 |
|
|
@@ -61,14 +61,14 @@ following terms and conditions:
|
|
| 61 |
1. The dataset is only used for non-profit research for image captioning.
|
| 62 |
2. The dataset is not allowed to be used in commercial systems.
|
| 63 |
3. Do not redistribute the dataset. This dataset may be modified or improved to serve a
|
| 64 |
-
|
| 65 |
4. Summaries, analyses, and interpretations of the properties of the dataset may be
|
| 66 |
-
|
| 67 |
-
|
| 68 |
5. Published research works that use the dataset must cite the following paper: Do,
|
| 69 |
-
|
| 70 |
-
|
| 71 |
-
|
| 72 |
|
| 73 |
|
| 74 |
## Citation
|
|
|
|
| 25 |
## Supported Tasks
|
| 26 |
|
| 27 |
Question Answering
|
| 28 |
+
|
| 29 |
## Dataset Usage
|
| 30 |
### Using `datasets` library
|
| 31 |
```
|
| 32 |
+
from datasets import load_dataset
|
| 33 |
+
dset = datasets.load_dataset("SEACrowd/uit_viwikiqa", trust_remote_code=True)
|
| 34 |
```
|
| 35 |
### Using `seacrowd` library
|
| 36 |
```import seacrowd as sc
|
| 37 |
# Load the dataset using the default config
|
| 38 |
+
dset = sc.load_dataset("uit_viwikiqa", schema="seacrowd")
|
| 39 |
# Check all available subsets (config names) of the dataset
|
| 40 |
+
print(sc.available_config_names("uit_viwikiqa"))
|
| 41 |
# Load the dataset using a specific config
|
| 42 |
+
dset = sc.load_dataset_by_config_name(config_name="<config_name>")
|
| 43 |
```
|
| 44 |
+
|
| 45 |
+
More details on how to load the `seacrowd` library can be found [here](https://github.com/SEACrowd/seacrowd-datahub?tab=readme-ov-file#how-to-use).
|
| 46 |
+
|
| 47 |
|
| 48 |
## Dataset Homepage
|
| 49 |
|
|
|
|
| 61 |
1. The dataset is only used for non-profit research for image captioning.
|
| 62 |
2. The dataset is not allowed to be used in commercial systems.
|
| 63 |
3. Do not redistribute the dataset. This dataset may be modified or improved to serve a
|
| 64 |
+
research purpose better, but the edited dataset may not be distributed.
|
| 65 |
4. Summaries, analyses, and interpretations of the properties of the dataset may be
|
| 66 |
+
derived and published, provided it is not possible to reconstruct the information from
|
| 67 |
+
these summaries.
|
| 68 |
5. Published research works that use the dataset must cite the following paper: Do,
|
| 69 |
+
P.N.T., Nguyen, N.D., Van Huynh, T., Van Nguyen, K., Nguyen, A.G.T. and Nguyen, N.L.T.,
|
| 70 |
+
2021. Sentence Extraction-Based Machine Reading Comprehension for Vietnamese. arXiv
|
| 71 |
+
preprint arXiv:2105.09043.
|
| 72 |
|
| 73 |
|
| 74 |
## Citation
|