holylovenia commited on
Commit
27ff263
1 Parent(s): ae4fa56

Upload README.md with huggingface_hub

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