Datasets:
Update README.md
Browse files
README.md
CHANGED
|
@@ -1,27 +1,147 @@
|
|
| 1 |
---
|
| 2 |
-
|
| 3 |
-
|
| 4 |
-
|
| 5 |
-
|
| 6 |
-
|
| 7 |
-
|
| 8 |
-
|
| 9 |
-
|
| 10 |
-
|
| 11 |
-
|
| 12 |
-
|
| 13 |
-
|
| 14 |
-
|
| 15 |
-
|
| 16 |
-
splits:
|
| 17 |
-
- name: train
|
| 18 |
-
num_bytes: 55713554
|
| 19 |
-
num_examples: 131767
|
| 20 |
-
download_size: 27701087
|
| 21 |
-
dataset_size: 55713554
|
| 22 |
-
configs:
|
| 23 |
-
- config_name: default
|
| 24 |
-
data_files:
|
| 25 |
-
- split: train
|
| 26 |
-
path: data/train-*
|
| 27 |
---
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
---
|
| 2 |
+
language:
|
| 3 |
+
- id
|
| 4 |
+
license: apache-2.0
|
| 5 |
+
task_categories:
|
| 6 |
+
- token-classification
|
| 7 |
+
pretty_name: Indo-NER (GLiNER Auto-Tagged)
|
| 8 |
+
size_categories:
|
| 9 |
+
- 100K<n<1M
|
| 10 |
+
tags:
|
| 11 |
+
- ner
|
| 12 |
+
- gliner
|
| 13 |
+
- named-entity-recognition
|
| 14 |
+
- indonesian
|
| 15 |
+
- synthetic
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 16 |
---
|
| 17 |
+
|
| 18 |
+
# Indo-NER: Indonesian Named Entity Recognition Dataset (Silver Standard)
|
| 19 |
+
|
| 20 |
+
## Dataset Summary
|
| 21 |
+
**Indo-NER** is a large-scale Indonesian Named Entity Recognition (NER) dataset automatically annotated using a zero-shot multilingual NER model. The dataset is designed to support research, benchmarking, and experimentation in Indonesian NLP, particularly for entity extraction tasks.
|
| 22 |
+
|
| 23 |
+
This dataset is **silver standard**, meaning annotations are machine-generated and may contain noise. It is suitable for pretraining, bootstrapping, and research use cases, but human validation is recommended for production-critical systems.
|
| 24 |
+
|
| 25 |
+
---
|
| 26 |
+
|
| 27 |
+
## Data Fields
|
| 28 |
+
|
| 29 |
+
Each data sample contains the following fields:
|
| 30 |
+
|
| 31 |
+
- **text**: Indonesian input sentence or paragraph
|
| 32 |
+
- **entities**: List of extracted entity objects, each consisting of:
|
| 33 |
+
- **start**: Start character index of the entity span
|
| 34 |
+
- **end**: End character index of the entity span
|
| 35 |
+
- **label**: Short entity code (e.g., `PER`, `ORG`, `LOC`)
|
| 36 |
+
- **original_english**: Source English sentence (if translated or available)
|
| 37 |
+
|
| 38 |
+
---
|
| 39 |
+
|
| 40 |
+
## Label Scheme (19 Classes)
|
| 41 |
+
|
| 42 |
+
| Code | Description | Examples |
|
| 43 |
+
|-----|------------|----------|
|
| 44 |
+
| PER | Person | Jokowi, Lionel Messi, Einstein |
|
| 45 |
+
| ORG | Organization | Google, OpenAI, PBB |
|
| 46 |
+
| NOR | Political Organization | Partai Golkar, Democrats, Nazi |
|
| 47 |
+
| LOC | Location (Geographical) | Gunung Merapi, Asia, Sungai Musi |
|
| 48 |
+
| GPE | Geopolitical Entity | Indonesia, Jakarta, Jawa Barat |
|
| 49 |
+
| FAC | Facility | Bandara Soetta, Jalan Tol |
|
| 50 |
+
| DAT | Date | 17 Agustus 1945, Tahun 2024 |
|
| 51 |
+
| TIM | Time | Pukul 07.00, Siang hari |
|
| 52 |
+
| CRD | Cardinal Number | Satu, Dua, 100 |
|
| 53 |
+
| ORD | Ordinal Number | Pertama, Ke-10 |
|
| 54 |
+
| QTY | Quantity | 10 kg, 3 liter |
|
| 55 |
+
| PRC | Percent | 50%, Sepuluh persen |
|
| 56 |
+
| MON | Money | Rp 50.000, 100 Dolar AS |
|
| 57 |
+
| EVT | Event | Perang Dunia II, G20 Summit |
|
| 58 |
+
| PRD | Product | iPhone 15, Windows 11 |
|
| 59 |
+
| WOA | Work of Art | Harry Potter, Mona Lisa |
|
| 60 |
+
| LAW | Law | UUD 1945, UU Cipta Kerja |
|
| 61 |
+
| LAN | Language | Bahasa Indonesia, English |
|
| 62 |
+
| REG | Religion | Islam, Kristen, Hindu |
|
| 63 |
+
|
| 64 |
+
---
|
| 65 |
+
|
| 66 |
+
## Creation Methodology
|
| 67 |
+
|
| 68 |
+
### Source Data
|
| 69 |
+
|
| 70 |
+
The text corpus is derived from large-scale Indonesian NER task collections, ensuring diverse sentence structures and real-world contexts.
|
| 71 |
+
|
| 72 |
+
### Annotation Process (Auto-Tagging)
|
| 73 |
+
|
| 74 |
+
- **Model**: GLiNER Large v2.5
|
| 75 |
+
- **Approach**: Zero-shot multilingual NER
|
| 76 |
+
- **Confidence Threshold**: 0.3 (balanced recall and precision)
|
| 77 |
+
- **Processing**: Batch inference on NVIDIA T4 GPU
|
| 78 |
+
- **Label Mapping**: Natural language prompts (e.g., *"political organization"*) mapped to standardized short labels (e.g., `NOR`)
|
| 79 |
+
|
| 80 |
+
---
|
| 81 |
+
|
| 82 |
+
## Usage
|
| 83 |
+
|
| 84 |
+
Load the dataset using the Hugging Face `datasets` library:
|
| 85 |
+
|
| 86 |
+
```python
|
| 87 |
+
from datasets import load_dataset
|
| 88 |
+
|
| 89 |
+
dataset = load_dataset("treamyracle/indo-ner")
|
| 90 |
+
|
| 91 |
+
# View the first training example
|
| 92 |
+
print(dataset["train"][0])
|
| 93 |
+
````
|
| 94 |
+
|
| 95 |
+
---
|
| 96 |
+
|
| 97 |
+
## Limitations
|
| 98 |
+
|
| 99 |
+
This dataset is **silver standard** and auto-generated, which implies:
|
| 100 |
+
|
| 101 |
+
* Possible boundary inaccuracies
|
| 102 |
+
* Potential hallucinated entities
|
| 103 |
+
* Label noise in ambiguous contexts
|
| 104 |
+
|
| 105 |
+
Human validation or post-processing is recommended for downstream or production use.
|
| 106 |
+
|
| 107 |
+
---
|
| 108 |
+
|
| 109 |
+
## Citation
|
| 110 |
+
|
| 111 |
+
If you use this dataset, please cite the GLiNER authors and this repository:
|
| 112 |
+
|
| 113 |
+
```bibtex
|
| 114 |
+
@misc{indo-ner-2024,
|
| 115 |
+
author = {treamyracle},
|
| 116 |
+
title = {Indo-NER: GLiNER Auto-Tagged Dataset},
|
| 117 |
+
year = {2024},
|
| 118 |
+
publisher = {Hugging Face},
|
| 119 |
+
journal = {Hugging Face Repository},
|
| 120 |
+
howpublished = {\url{https://huggingface.co/datasets/treamyracle/indo-ner}}
|
| 121 |
+
}
|
| 122 |
+
```
|
| 123 |
+
|
| 124 |
+
---
|
| 125 |
+
|
| 126 |
+
## Installation on Hugging Face
|
| 127 |
+
|
| 128 |
+
1. Open your dataset repository:
|
| 129 |
+
[https://huggingface.co/datasets/treamyracle/indo-ner](https://huggingface.co/datasets/treamyracle/indo-ner)
|
| 130 |
+
2. Click **Create README.md** (if not present) or open **README.md** and click **Edit**
|
| 131 |
+
3. Delete all existing content
|
| 132 |
+
4. Paste this entire Markdown file
|
| 133 |
+
5. Click **Commit changes**
|
| 134 |
+
|
| 135 |
+
Hugging Face will automatically render metadata, tags, and sections to improve dataset discoverability.
|
| 136 |
+
|
| 137 |
+
---
|
| 138 |
+
|
| 139 |
+
**Optional Variants Available**:
|
| 140 |
+
|
| 141 |
+
* Academic-style README
|
| 142 |
+
* Short / minimal README
|
| 143 |
+
* Paper / thesis / benchmark-ready README
|
| 144 |
+
|
| 145 |
+
Just ask and it will be generated in a single copy-paste block.
|
| 146 |
+
|
| 147 |
+
```
|