Upload README.md with huggingface_hub
Browse files
README.md
CHANGED
|
@@ -34,20 +34,20 @@ ind
|
|
| 34 |
Sentiment Analysis.
|
| 35 |
|
| 36 |
## Dataset Usage
|
| 37 |
-
|
| 38 |
-
|
| 39 |
from datasets import load_dataset
|
| 40 |
dset = datasets.load_dataset("SEACrowd/indolem_sentiment", trust_remote_code=True)
|
| 41 |
-
|
| 42 |
-
|
| 43 |
-
|
| 44 |
-
|
| 45 |
dset = sc.load_dataset("indolem_sentiment", schema="seacrowd")
|
| 46 |
-
|
| 47 |
print(sc.available_config_names("indolem_sentiment"))
|
| 48 |
-
|
| 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 |
|
|
@@ -64,27 +64,27 @@ SEACrowd: 2024.06.20
|
|
| 64 |
## Dataset License
|
| 65 |
|
| 66 |
Creative Commons Attribution Share-Alike 4.0 International
|
|
|
|
| 67 |
|
| 68 |
-
|
| 69 |
-
## Citation
|
| 70 |
If you are using the **Indolem Sentiment** dataloader in your work, please cite the following:
|
| 71 |
-
|
| 72 |
@article{DBLP:journals/corr/abs-2011-00677,
|
| 73 |
-
|
| 74 |
-
|
| 75 |
-
|
| 76 |
-
|
| 77 |
-
|
| 78 |
-
|
| 79 |
-
|
| 80 |
-
|
| 81 |
-
|
| 82 |
-
|
| 83 |
-
|
| 84 |
-
|
| 85 |
-
|
| 86 |
-
|
| 87 |
-
|
| 88 |
}
|
| 89 |
|
| 90 |
|
|
@@ -96,5 +96,5 @@ Creative Commons Attribution Share-Alike 4.0 International
|
|
| 96 |
journal={arXiv preprint arXiv: 2406.10118}
|
| 97 |
}
|
| 98 |
|
| 99 |
-
|
| 100 |
|
|
|
|
| 34 |
Sentiment Analysis.
|
| 35 |
|
| 36 |
## Dataset Usage
|
| 37 |
+
### Using `datasets` library
|
| 38 |
+
```
|
| 39 |
from datasets import load_dataset
|
| 40 |
dset = datasets.load_dataset("SEACrowd/indolem_sentiment", 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("indolem_sentiment", schema="seacrowd")
|
| 46 |
+
# Check all available subsets (config names) of the dataset
|
| 47 |
print(sc.available_config_names("indolem_sentiment"))
|
| 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 |
|
|
|
|
| 64 |
## Dataset License
|
| 65 |
|
| 66 |
Creative Commons Attribution Share-Alike 4.0 International
|
| 67 |
+
|
| 68 |
|
| 69 |
+
## Citation
|
|
|
|
| 70 |
If you are using the **Indolem Sentiment** dataloader in your work, please cite the following:
|
| 71 |
+
```
|
| 72 |
@article{DBLP:journals/corr/abs-2011-00677,
|
| 73 |
+
author = {Fajri Koto and
|
| 74 |
+
Afshin Rahimi and
|
| 75 |
+
Jey Han Lau and
|
| 76 |
+
Timothy Baldwin},
|
| 77 |
+
title = {IndoLEM and IndoBERT: {A} Benchmark Dataset and Pre-trained Language
|
| 78 |
+
Model for Indonesian {NLP}},
|
| 79 |
+
journal = {CoRR},
|
| 80 |
+
volume = {abs/2011.00677},
|
| 81 |
+
year = {2020},
|
| 82 |
+
url = {https://arxiv.org/abs/2011.00677},
|
| 83 |
+
eprinttype = {arXiv},
|
| 84 |
+
eprint = {2011.00677},
|
| 85 |
+
timestamp = {Fri, 06 Nov 2020 15:32:47 +0100},
|
| 86 |
+
biburl = {https://dblp.org/rec/journals/corr/abs-2011-00677.bib},
|
| 87 |
+
bibsource = {dblp computer science bibliography, https://dblp.org}
|
| 88 |
}
|
| 89 |
|
| 90 |
|
|
|
|
| 96 |
journal={arXiv preprint arXiv: 2406.10118}
|
| 97 |
}
|
| 98 |
|
| 99 |
+
```
|
| 100 |
|