Datasets:

ArXiv:
License:
holylovenia commited on
Commit
b968d47
1 Parent(s): 4120cda

Upload README.md with huggingface_hub

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