holylovenia commited on
Commit
bede299
1 Parent(s): d03fa9a

Upload README.md with huggingface_hub

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