holylovenia commited on
Commit
20b8d2b
1 Parent(s): 4b3e38f

Upload README.md with huggingface_hub

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