数据集:

adsabs/WIESP2022-NER

语言:

en

许可:

cc-by-4.0

计算机处理:

monolingual

语言创建人:

found

批注创建人:

expert-generated

大小:

1K<n<10K
英文

第一份数据集 Workshop on Information Extraction from Scientific Publications (WIESP/2022) 的数据集。

数据集描述

天文物理学论文中的文本片段数据集,由 NASA Astrophysical Data System 提供,其中包含手动标记的天文设施和其他感兴趣的实体(例如天体对象)。数据集以 JSON Lines 格式提供(每行是一个 JSON 字典)。数据集的格式类似于 CONLL2003 格式。每个词元与一个 NER 标签相关联。标签遵循 IOB2 syntax 中的 "B-" 和 "I-" 约定。

每个条目由一个包含以下键的字典组成:

  • "unique_id" :此数据样本的唯一标识符。必须包含在预测中。
  • "tokens" :形成此样本文本的词元(字符串)列表。必须包含在预测中。
  • "ner_tags" :NER 标签(使用 IOB2 格式)的列表。

参与者不严格需要以下键:

  • "ner_ids" :预先计算的与 ner_tags 中给出的字典对应的 id 列表,由 ner_tags.json 给出
  • "label_studio_id" , "section" , "bibcode" :NASA/ADS 内部使用的引用。

工作坊参与者的说明:

如何使用 Huggingface 库加载数据:

from datasets import load_dataset
dataset = load_dataset("adsabs/WIESP2022-NER")

如果您在本地克隆了存储库,如何加载数据:(假设 ./WIESP2022-NER-DEV.jsonl 位于当前目录中,根据需要进行更改)

  • python(作为字典列表):
import json
with open("./WIESP2022-NER-DEV.jsonl", 'r') as f:
    wiesp_dev_json = [json.loads(l) for l in list(f)]
  • 转换为 Huggingface(作为 Huggingface 数据集):
from datasets import Dataset
wiesp_dev_from_json = Dataset.from_json(path_or_paths="./WIESP2022-NER-DEV.jsonl")

如何在训练数据上计算您的分数:

  • 将预测格式化为字典列表,每个字典具有与数据集中的相同的 "unique_id" 和 "tokens" 键,以及以 "pred_ner_tags" 键为标记的预测 NER 标签列表(参见 WIESP2022-NER-DEV-sample-predictions.jsonl 的示例)。
  • 将引用和预测数据集传递给 compute_MCC() 和 compute_seqeval() 函数(来自具有相同名称的 .py 文件)。
  • 运行评分脚本的要求: NumPy scikit-learn seqeval

    要在验证数据上获取分数,请将您的预测文件(一个单独的 .jsonl 文件,按照上述相同的说明格式化)压缩为 .zip 文件,并将 .zip 文件上传到 Codalabs 竞赛中。

    文件列表

    ├── WIESP2022-NER-TRAINING.jsonl : 1753 samples for training.
    ├── WIESP2022-NER-DEV.jsonl : 20 samples for development.
    ├── WIESP2022-NER-DEV-sample-predictions.jsonl : an example file with properly formatted predictions on the development data.
    ├── WIESP2022-NER-VALIDATION-NO-LABELS.jsonl : 1366 samples for validation without the NER labels. Used for the WIESP2022 workshop.
    ├── WIESP2022-NER-VALIDATION.jsonl : 1366 samples for validation
    ├── WIESP2022-NER-TESTING-NO-LABELS.jsonl : 2505 samples for testing without the NER labels. Used for the WIESP2022 workshop.
    ├── WIESP2022-NER-TESTING.jsonl : 2505 samples for testing
    ├── README.MD : this file.
    ├── tag_definitions.md : short descriptions and examples of the tags used in the task.
    └── scoring-scripts/ : scripts used to evaluate submissions.
        ├── compute_MCC.py : computes the Matthews correlation coefficient between two datasets.
        └── compute_seqeval.py : computes the seqeval scores (precision, recall, f1, overall and for each class) between two datasets.
    

    引用

    Overview of the First Shared Task on Detecting Entities in the Astrophysics Literature (DEAL) (Grezes et al., WIESP 2022)

    @inproceedings{grezes-etal-2022-overview,
        title = "Overview of the First Shared Task on Detecting Entities in the Astrophysics Literature ({DEAL})",
        author = "Grezes, Felix  and
          Blanco-Cuaresma, Sergi  and
          Allen, Thomas  and
          Ghosal, Tirthankar",
        booktitle = "Proceedings of the first Workshop on Information Extraction from Scientific Publications",
        month = "nov",
        year = "2022",
        address = "Online",
        publisher = "Association for Computational Linguistics",
        url = "https://aclanthology.org/2022.wiesp-1.1",
        pages = "1--7",
        abstract = "In this article, we describe the overview of our shared task: Detecting Entities in the Astrophysics Literature (DEAL). The DEAL shared task was part of the Workshop on Information Extraction from Scientific Publications (WIESP) in AACL-IJCNLP 2022. Information extraction from scientific publications is critical in several downstream tasks such as identification of critical entities, article summarization, citation classification, etc. The motivation of this shared task was to develop a community-wide effort for entity extraction from astrophysics literature. Automated entity extraction would help to build knowledge bases, high-quality meta-data for indexing and search, and several other use-cases of interests. Thirty-three teams registered for DEAL, twelve of them participated in the system runs, and finally four teams submitted their system descriptions. We analyze their system and performance and finally discuss the findings of DEAL.",
    }