holylovenia
commited on
Commit
•
36962c6
1
Parent(s):
2eb76a0
Upload README.md with huggingface_hub
Browse files
README.md
CHANGED
@@ -33,25 +33,25 @@ ind
|
|
33 |
## Supported Tasks
|
34 |
|
35 |
Aspect Based Sentiment Analysis
|
36 |
-
|
37 |
## Dataset Usage
|
38 |
### Using `datasets` library
|
39 |
```
|
40 |
-
|
41 |
-
|
42 |
```
|
43 |
### Using `seacrowd` library
|
44 |
```import seacrowd as sc
|
45 |
# Load the dataset using the default config
|
46 |
-
|
47 |
# Check all available subsets (config names) of the dataset
|
48 |
-
|
49 |
# Load the dataset using a specific config
|
50 |
-
|
51 |
```
|
52 |
-
|
53 |
-
|
54 |
-
|
55 |
|
56 |
## Dataset Homepage
|
57 |
|
|
|
33 |
## Supported Tasks
|
34 |
|
35 |
Aspect Based Sentiment Analysis
|
36 |
+
|
37 |
## Dataset Usage
|
38 |
### Using `datasets` library
|
39 |
```
|
40 |
+
from datasets import load_dataset
|
41 |
+
dset = datasets.load_dataset("SEACrowd/id_multilabel_hs", trust_remote_code=True)
|
42 |
```
|
43 |
### Using `seacrowd` library
|
44 |
```import seacrowd as sc
|
45 |
# Load the dataset using the default config
|
46 |
+
dset = sc.load_dataset("id_multilabel_hs", schema="seacrowd")
|
47 |
# Check all available subsets (config names) of the dataset
|
48 |
+
print(sc.available_config_names("id_multilabel_hs"))
|
49 |
# Load the dataset using a specific config
|
50 |
+
dset = sc.load_dataset_by_config_name(config_name="<config_name>")
|
51 |
```
|
52 |
+
|
53 |
+
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).
|
54 |
+
|
55 |
|
56 |
## Dataset Homepage
|
57 |
|