Datasets:

ArXiv:
License:
holylovenia commited on
Commit
84ba16e
1 Parent(s): 83dcaba

Upload README.md with huggingface_hub

Browse files
Files changed (1) hide show
  1. README.md +9 -9
README.md CHANGED
@@ -23,25 +23,25 @@ ind, mya
23
  ## Supported Tasks
24
 
25
  Commonsense Reasoning
26
-
27
  ## Dataset Usage
28
  ### Using `datasets` library
29
  ```
30
- from datasets import load_dataset
31
- dset = datasets.load_dataset("SEACrowd/xstorycloze", trust_remote_code=True)
32
  ```
33
  ### Using `seacrowd` library
34
  ```import seacrowd as sc
35
  # Load the dataset using the default config
36
- dset = sc.load_dataset("xstorycloze", schema="seacrowd")
37
  # Check all available subsets (config names) of the dataset
38
- print(sc.available_config_names("xstorycloze"))
39
  # Load the dataset using a specific config
40
- dset = sc.load_dataset_by_config_name(config_name="<config_name>")
41
  ```
42
-
43
- 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).
44
-
45
 
46
  ## Dataset Homepage
47
 
 
23
  ## Supported Tasks
24
 
25
  Commonsense Reasoning
26
+
27
  ## Dataset Usage
28
  ### Using `datasets` library
29
  ```
30
+ from datasets import load_dataset
31
+ dset = datasets.load_dataset("SEACrowd/xstorycloze", trust_remote_code=True)
32
  ```
33
  ### Using `seacrowd` library
34
  ```import seacrowd as sc
35
  # Load the dataset using the default config
36
+ dset = sc.load_dataset("xstorycloze", schema="seacrowd")
37
  # Check all available subsets (config names) of the dataset
38
+ print(sc.available_config_names("xstorycloze"))
39
  # Load the dataset using a specific config
40
+ dset = sc.load_dataset_by_config_name(config_name="<config_name>")
41
  ```
42
+
43
+ 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).
44
+
45
 
46
  ## Dataset Homepage
47