holylovenia commited on
Commit
a2f66b3
1 Parent(s): 1971955

Upload README.md with huggingface_hub

Browse files
Files changed (1) hide show
  1. README.md +9 -9
README.md CHANGED
@@ -30,25 +30,25 @@ jav, sun
30
  ## Supported Tasks
31
 
32
  Aspect Based Sentiment Analysis
33
-
34
  ## Dataset Usage
35
  ### Using `datasets` library
36
  ```
37
- from datasets import load_dataset
38
- dset = datasets.load_dataset("SEACrowd/local_id_abusive", trust_remote_code=True)
39
  ```
40
  ### Using `seacrowd` library
41
  ```import seacrowd as sc
42
  # Load the dataset using the default config
43
- dset = sc.load_dataset("local_id_abusive", schema="seacrowd")
44
  # Check all available subsets (config names) of the dataset
45
- print(sc.available_config_names("local_id_abusive"))
46
  # Load the dataset using a specific config
47
- dset = sc.load_dataset_by_config_name(config_name="<config_name>")
48
  ```
49
-
50
- 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).
51
-
52
 
53
  ## Dataset Homepage
54
 
 
30
  ## Supported Tasks
31
 
32
  Aspect Based Sentiment Analysis
33
+
34
  ## Dataset Usage
35
  ### Using `datasets` library
36
  ```
37
+ from datasets import load_dataset
38
+ dset = datasets.load_dataset("SEACrowd/local_id_abusive", trust_remote_code=True)
39
  ```
40
  ### Using `seacrowd` library
41
  ```import seacrowd as sc
42
  # Load the dataset using the default config
43
+ dset = sc.load_dataset("local_id_abusive", schema="seacrowd")
44
  # Check all available subsets (config names) of the dataset
45
+ print(sc.available_config_names("local_id_abusive"))
46
  # Load the dataset using a specific config
47
+ dset = sc.load_dataset_by_config_name(config_name="<config_name>")
48
  ```
49
+
50
+ 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).
51
+
52
 
53
  ## Dataset Homepage
54