Datasets:

Modalities:
Text
Formats:
text
ArXiv:
Libraries:
Datasets
License:
text
stringlengths
0
33
Pappy B-DRINK
Van I-DRINK
Winkle I-DRINK
Family I-DRINK
Reserve I-DRINK
is O
the O
flagship O
brand O
of O
bourbon B-DRINK
whiskey I-DRINK
owned O
by O
the O
Old B-ORG
Rip I-ORG
Van I-ORG
Winkle I-ORG
Distillery I-ORG
company O
. O
Pappy B-DRINK
Van I-DRINK
Winkle I-DRINK
Family I-DRINK
Reserve I-DRINK
is O
distilled O
and O
bottled O
by O
the O
Sazerac B-ORG
Company I-ORG
at O
its O
Buffalo B-ORG
Trace I-ORG
Distillery I-ORG
in O
Frankfort O
Kentucky O
. O
Soda B-DRINK
sữa I-DRINK
hột I-DRINK
gà I-DRINK
or O
egg B-DRINK
soda I-DRINK
is O
a O
sweet O
drink O
made O
from O
egg O
yolk O
sweetened O
condensed O
milk B-DRINK
and O
club B-DRINK
soda I-DRINK
from O
Mainland O
Southeast O
Asia O
. O
In O
addition O
to O
Clix B-DRINK
Malt I-DRINK
Liquor I-DRINK
the O
Grand B-ORG
Valley I-ORG
Brewing I-ORG
Company I-ORG
created O
a O
Stout B-DRINK
beer I-DRINK
using O
the O
same O
process O
. O
Biała B-DRINK
Dama I-DRINK
is O
an O
unflavored O
vodka B-DRINK

NERsocial: Efficient Named Entity Recognition Dataset Construction for Human-Robot Interaction Utilizing RapidNER.

arXiv

The Dataset

We leverage the RapidNER framework to create NERsocial, a new dataset containing 153K tokens, 134K entities, and 99.4K sentences across six entity types: drinks, foods, hobbies, jobs, pets, sports

We augmented the six entity types above with three more types (by re-annotating the CoNLL2003 with PEOPLENAME, COUNTRY, ORGANIZATION).

NERsocial is a new named entity recognition dataset specifically designed for human-robot interaction (HRI) applications. It contains 99,448 sentences, 153,102 entity tokens, and 134,074 entities across six entity types that are crucial for social interaction: drinks, foods, hobbies, jobs, pets, and sports. The dataset was constructed using RapidNER, an efficient framework that combines knowledge graph extraction from Wikidata with text collection from multiple sources including Wikipedia, Reddit, and Stack Exchange.

The dataset's construction process was innovative and efficient, utilizing Elasticsearch for rapid annotation that reduced the time per sentence from 1 minute to 0.9 milliseconds. The texts were carefully selected from diverse sources: Wikipedia provided formal definitional content, while Reddit and Stack Exchange contributed conversational and interactive language patterns. The annotation quality was validated by human annotators, achieving a high inter-annotator agreement with a Fleiss Kappa score of 90.6% and Cohen's Kappa scores ranging from 88.3% to 92.9% between pairs of annotators.

When evaluated using state-of-the-art transformer models (BERT-base, RoBERTa-base, and DeBERTa-v3-base), NERsocial demonstrated strong performance with F1-scores above 95% across all models. The dataset particularly excels in robustness across different text domains, with models fine-tuned on NERsocial showing better transferability compared to those trained on similar datasets like WNUT. This makes NERsocial particularly valuable for developing NER systems that can handle both formal and informal communication in HRI applications.


Data Format

{ 
'tokens': {"0": ["Poco", "Bueno", "was", "a", "American", "Quarter", "Horse", "stallion", "foaled", "April", "10", ",", "1944", "."], "1": ["Formal", "breeds", "often", "considered", "to", "be", "of", "the", "pit", "bull", "type", "include", "the", "American", "Pit", "Bull", "Terrier", ",", "American", "Staffordshire", "Terrier", ",", "American", "Bully", ",", "and", "Staffordshire", "Bull", "Terrier", "."], ... },
 'tags': {"0": ["O", "O", "O", "O", "B-PET", "I-PET", "I-PET", "O", "O", "O", "O", "O", "O", "O"], "1": ["O", "O", "O", "O", "O", "O", "O", "O", "B-PET", "I-PET", "O", "O", "O", "O", "B-PET", "I-PET", "I-PET", "O", "B-PET", "I-PET", "I-PET", "O", "B-PET", "I-PET", "O", "O", "B-PET", "I-PET", "I-PET", "O"], ...}
 }

The two dictionaries label2id and id2label are shown below:

Dictionary One: label2id

labels_to_ids = {
    'B-DRINK': 0,
    'B-FOOD': 1,
    'B-HOBBY': 2,
    'B-JOB': 3,
    'B-SPORT': 4,
    'I-DRINK': 5,
    'I-FOOD': 6,
    'I-HOBBY': 7,
    'I-JOB': 8,
    'I-SPORT': 9,
    'O': 10
}

Dictionary Two: id2label

ids_to_labels = {v: k for k, v in labels_to_ids.items()}

Usage and License Notices

The data is provided under an MIT license, so feel free to use it outside of research purposes.

To download the dataset, please use:

>>> from datasets import load_dataset

>>> dataset = load_dataset("atamiles/NERsocial")

Citation

If you use this dataset, please cite as follows:

@misc{atuhurra2024nersocialefficientnamedentity,
  title={NERsocial: Efficient Named Entity Recognition Dataset Construction for Human-Robot Interaction Utilizing RapidNER}, 
  author={Jesse Atuhurra and Hidetaka Kamigaito and Hiroki Ouchi and Hiroyuki Shindo and Taro Watanabe},
  year={2024},
  eprint={2412.09634},
  archivePrefix={arXiv},
  primaryClass={cs.CL},
  url={https://arxiv.org/abs/2412.09634}, 
}
Downloads last month
47