holylovenia commited on
Commit
5843621
1 Parent(s): 106a806

Upload README.md with huggingface_hub

Browse files
Files changed (1) hide show
  1. README.md +9 -9
README.md CHANGED
@@ -97,25 +97,25 @@ abc, ahk, bfn, bjn, bkx, brb, brv, bya, bzi, ceb, cgc, cmo, ddg, dmg, dnw, dtp,
97
  ## Supported Tasks
98
 
99
  Image Captioning
100
-
101
  ## Dataset Usage
102
  ### Using `datasets` library
103
  ```
104
- from datasets import load_dataset
105
- dset = datasets.load_dataset("SEACrowd/bloom_captioning", trust_remote_code=True)
106
  ```
107
  ### Using `seacrowd` library
108
  ```import seacrowd as sc
109
  # Load the dataset using the default config
110
- dset = sc.load_dataset("bloom_captioning", schema="seacrowd")
111
  # Check all available subsets (config names) of the dataset
112
- print(sc.available_config_names("bloom_captioning"))
113
  # Load the dataset using a specific config
114
- dset = sc.load_dataset_by_config_name(config_name="<config_name>")
115
  ```
116
-
117
- 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).
118
-
119
 
120
  ## Dataset Homepage
121
 
 
97
  ## Supported Tasks
98
 
99
  Image Captioning
100
+
101
  ## Dataset Usage
102
  ### Using `datasets` library
103
  ```
104
+ from datasets import load_dataset
105
+ dset = datasets.load_dataset("SEACrowd/bloom_captioning", trust_remote_code=True)
106
  ```
107
  ### Using `seacrowd` library
108
  ```import seacrowd as sc
109
  # Load the dataset using the default config
110
+ dset = sc.load_dataset("bloom_captioning", schema="seacrowd")
111
  # Check all available subsets (config names) of the dataset
112
+ print(sc.available_config_names("bloom_captioning"))
113
  # Load the dataset using a specific config
114
+ dset = sc.load_dataset_by_config_name(config_name="<config_name>")
115
  ```
116
+
117
+ 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).
118
+
119
 
120
  ## Dataset Homepage
121