holylovenia
commited on
Commit
•
37bc00c
1
Parent(s):
089d89a
Upload README.md with huggingface_hub
Browse files
README.md
CHANGED
@@ -86,25 +86,25 @@ abc, ahk, bfn, bjn, bkx, brb, brv, bya, bzi, ceb, cgc, cmo, ddg, dmg, dnw, dtp,
|
|
86 |
## Supported Tasks
|
87 |
|
88 |
Image Captioning
|
89 |
-
|
90 |
## Dataset Usage
|
91 |
### Using `datasets` library
|
92 |
```
|
93 |
-
|
94 |
-
|
95 |
```
|
96 |
### Using `seacrowd` library
|
97 |
```import seacrowd as sc
|
98 |
# Load the dataset using the default config
|
99 |
-
|
100 |
# Check all available subsets (config names) of the dataset
|
101 |
-
|
102 |
# Load the dataset using a specific config
|
103 |
-
|
104 |
```
|
105 |
-
|
106 |
-
|
107 |
-
|
108 |
|
109 |
## Dataset Homepage
|
110 |
|
|
|
86 |
## Supported Tasks
|
87 |
|
88 |
Image Captioning
|
89 |
+
|
90 |
## Dataset Usage
|
91 |
### Using `datasets` library
|
92 |
```
|
93 |
+
from datasets import load_dataset
|
94 |
+
dset = datasets.load_dataset("SEACrowd/bloom_vist", trust_remote_code=True)
|
95 |
```
|
96 |
### Using `seacrowd` library
|
97 |
```import seacrowd as sc
|
98 |
# Load the dataset using the default config
|
99 |
+
dset = sc.load_dataset("bloom_vist", schema="seacrowd")
|
100 |
# Check all available subsets (config names) of the dataset
|
101 |
+
print(sc.available_config_names("bloom_vist"))
|
102 |
# Load the dataset using a specific config
|
103 |
+
dset = sc.load_dataset_by_config_name(config_name="<config_name>")
|
104 |
```
|
105 |
+
|
106 |
+
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).
|
107 |
+
|
108 |
|
109 |
## Dataset Homepage
|
110 |
|