Upload README.md with huggingface_hub
Browse files
README.md
CHANGED
|
@@ -11,22 +11,22 @@ tags:
|
|
| 11 |
|
| 12 |
IndQNER is a NER dataset created by manually annotating the Indonesian translation of Quran text.
|
| 13 |
The dataset contains 18 named entity categories as follow:
|
| 14 |
-
|
| 15 |
-
|
| 16 |
-
|
| 17 |
-
|
| 18 |
-
|
| 19 |
-
|
| 20 |
-
|
| 21 |
-
|
| 22 |
-
|
| 23 |
-
|
| 24 |
-
|
| 25 |
-
|
| 26 |
-
|
| 27 |
-
|
| 28 |
-
|
| 29 |
-
|
| 30 |
|
| 31 |
|
| 32 |
## Languages
|
|
@@ -36,25 +36,25 @@ ind
|
|
| 36 |
## Supported Tasks
|
| 37 |
|
| 38 |
Named Entity Recognition
|
| 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 |
IndQNER is a NER dataset created by manually annotating the Indonesian translation of Quran text.
|
| 13 |
The dataset contains 18 named entity categories as follow:
|
| 14 |
+
"Allah": Allah (including synonim of Allah such as Yang maha mengetahui lagi mahabijaksana)
|
| 15 |
+
"Throne": Throne of Allah (such as 'Arasy)
|
| 16 |
+
"Artifact": Artifact (such as Ka'bah, Baitullah)
|
| 17 |
+
"AstronomicalBody": Astronomical body (such as bumi, matahari)
|
| 18 |
+
"Event": Event (such as hari akhir, kiamat)
|
| 19 |
+
"HolyBook": Holy book (such as AlQur'an)
|
| 20 |
+
"Language": Language (such as bahasa Arab
|
| 21 |
+
"Angel": Angel (such as Jibril, Mikail)
|
| 22 |
+
"Person": Person (such as Bani Israil, Fir'aun)
|
| 23 |
+
"Messenger": Messenger (such as Isa, Muhammad, Musa)
|
| 24 |
+
"Prophet": Prophet (such as Adam, Sulaiman)
|
| 25 |
+
"AfterlifeLocation": Afterlife location (such as Jahanam, Jahim, Padang Mahsyar)
|
| 26 |
+
"GeographicalLocation": Geographical location (such as Sinai, negeru Babilonia)
|
| 27 |
+
"Color": Color (such as kuning tua)
|
| 28 |
+
"Religion": Religion (such as Islam, Yahudi, Nasrani)
|
| 29 |
+
"Food": Food (such as manna, salwa)
|
| 30 |
|
| 31 |
|
| 32 |
## Languages
|
|
|
|
| 36 |
## Supported Tasks
|
| 37 |
|
| 38 |
Named Entity Recognition
|
| 39 |
+
|
| 40 |
## Dataset Usage
|
| 41 |
### Using `datasets` library
|
| 42 |
```
|
| 43 |
+
from datasets import load_dataset
|
| 44 |
+
dset = datasets.load_dataset("SEACrowd/IndQNER", 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("IndQNER", schema="seacrowd")
|
| 50 |
# Check all available subsets (config names) of the dataset
|
| 51 |
+
print(sc.available_config_names("IndQNER"))
|
| 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 |
|