holylovenia
commited on
Upload README.md with huggingface_hub
Browse files
README.md
CHANGED
@@ -11,9 +11,9 @@ tags:
|
|
11 |
|
12 |
Dataset contains articles from Wikipedia Bahasa Indonesia which fulfill these conditions:
|
13 |
- The pages contain many noun phrases, which the authors subjectively pick: (i) fictional plots, e.g., subtitles for films,
|
14 |
-
|
15 |
- The pages contain significant variation of pronoun and named-entity. We count the number of first, second, third person pronouns,
|
16 |
-
|
17 |
of named-entity using the Stanford CoreNLP
|
18 |
NER Tagger (Manning et al., 2014) with a
|
19 |
model trained from the Indonesian corpus
|
@@ -36,25 +36,25 @@ ind
|
|
36 |
## Supported Tasks
|
37 |
|
38 |
Coreference Resolution
|
39 |
-
|
40 |
## Dataset Usage
|
41 |
### Using `datasets` library
|
42 |
```
|
43 |
-
|
44 |
-
|
45 |
```
|
46 |
### Using `seacrowd` library
|
47 |
```import seacrowd as sc
|
48 |
# Load the dataset using the default config
|
49 |
-
|
50 |
# Check all available subsets (config names) of the dataset
|
51 |
-
|
52 |
# Load the dataset using a specific config
|
53 |
-
|
54 |
```
|
55 |
-
|
56 |
-
|
57 |
-
|
58 |
|
59 |
## Dataset Homepage
|
60 |
|
|
|
11 |
|
12 |
Dataset contains articles from Wikipedia Bahasa Indonesia which fulfill these conditions:
|
13 |
- The pages contain many noun phrases, which the authors subjectively pick: (i) fictional plots, e.g., subtitles for films,
|
14 |
+
TV show episodes, and novel stories; (ii) biographies (incl. fictional characters); and (iii) historical events or important events.
|
15 |
- The pages contain significant variation of pronoun and named-entity. We count the number of first, second, third person pronouns,
|
16 |
+
and clitic pronouns in the document by applying string matching.We examine the number
|
17 |
of named-entity using the Stanford CoreNLP
|
18 |
NER Tagger (Manning et al., 2014) with a
|
19 |
model trained from the Indonesian corpus
|
|
|
36 |
## Supported Tasks
|
37 |
|
38 |
Coreference Resolution
|
39 |
+
|
40 |
## Dataset Usage
|
41 |
### Using `datasets` library
|
42 |
```
|
43 |
+
from datasets import load_dataset
|
44 |
+
dset = datasets.load_dataset("SEACrowd/indocoref", trust_remote_code=True)
|
45 |
```
|
46 |
### Using `seacrowd` library
|
47 |
```import seacrowd as sc
|
48 |
# Load the dataset using the default config
|
49 |
+
dset = sc.load_dataset("indocoref", schema="seacrowd")
|
50 |
# Check all available subsets (config names) of the dataset
|
51 |
+
print(sc.available_config_names("indocoref"))
|
52 |
# Load the dataset using a specific config
|
53 |
+
dset = sc.load_dataset_by_config_name(config_name="<config_name>")
|
54 |
```
|
55 |
+
|
56 |
+
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).
|
57 |
+
|
58 |
|
59 |
## Dataset Homepage
|
60 |
|