Datasets:

ArXiv:
License:
holylovenia commited on
Commit
6fbea1a
1 Parent(s): 4a1b345

Upload README.md with huggingface_hub

Browse files
Files changed (1) hide show
  1. README.md +9 -9
README.md CHANGED
@@ -35,25 +35,25 @@ ceb, fil, ind, jav, zlm, mya, tha, vie, war
35
  ## Supported Tasks
36
 
37
  Image Captioning
38
-
39
  ## Dataset Usage
40
  ### Using `datasets` library
41
  ```
42
- from datasets import load_dataset
43
- dset = datasets.load_dataset("SEACrowd/wit", trust_remote_code=True)
44
  ```
45
  ### Using `seacrowd` library
46
  ```import seacrowd as sc
47
  # Load the dataset using the default config
48
- dset = sc.load_dataset("wit", schema="seacrowd")
49
  # Check all available subsets (config names) of the dataset
50
- print(sc.available_config_names("wit"))
51
  # Load the dataset using a specific config
52
- dset = sc.load_dataset_by_config_name(config_name="<config_name>")
53
  ```
54
-
55
- 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).
56
-
57
 
58
  ## Dataset Homepage
59
 
 
35
  ## Supported Tasks
36
 
37
  Image Captioning
38
+
39
  ## Dataset Usage
40
  ### Using `datasets` library
41
  ```
42
+ from datasets import load_dataset
43
+ dset = datasets.load_dataset("SEACrowd/wit", trust_remote_code=True)
44
  ```
45
  ### Using `seacrowd` library
46
  ```import seacrowd as sc
47
  # Load the dataset using the default config
48
+ dset = sc.load_dataset("wit", schema="seacrowd")
49
  # Check all available subsets (config names) of the dataset
50
+ print(sc.available_config_names("wit"))
51
  # Load the dataset using a specific config
52
+ dset = sc.load_dataset_by_config_name(config_name="<config_name>")
53
  ```
54
+
55
+ 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).
56
+
57
 
58
  ## Dataset Homepage
59