Datasets:

Modalities:
Text
Formats:
parquet
Languages:
Polish
ArXiv:
Libraries:
Datasets
pandas
License:
PUGG_IR / README.md
kwojtasik's picture
Add 'qrels' config data files
1d8c064 verified
|
raw
history blame
3.72 kB
metadata
annotations_creators:
  - expert-generated
language_creators: []
language:
  - pl
license:
  - cc-by-sa-4.0
multilinguality:
  - monolingual
size_categories:
  - 10K<n<100K
source_datasets:
  - original
task_categories:
  - text-retrieval
task_ids:
  - document-retrieval
pretty_name: 'PUGG: IR dataset for Polish'
tags:
  - wikipedia
dataset_info:
  - config_name: corpus
    features:
      - name: _id
        dtype: string
      - name: title
        dtype: string
      - name: text
        dtype: string
    splits:
      - name: test
        num_bytes: 287988378
        num_examples: 309621
    download_size: 200782749
    dataset_size: 287988378
  - config_name: qrels
    features:
      - name: query-id
        dtype: string
      - name: corpus-id
        dtype: string
      - name: score
        dtype: int32
    splits:
      - name: test
        num_bytes: 320317
        num_examples: 10751
    download_size: 132578
    dataset_size: 320317
  - config_name: queries
    features:
      - name: _id
        dtype: string
      - name: text
        dtype: string
    splits:
      - name: test
        num_bytes: 582811
        num_examples: 10751
    download_size: 365953
    dataset_size: 582811
configs:
  - config_name: corpus
    data_files:
      - split: test
        path: corpus/test-*
  - config_name: qrels
    data_files:
      - split: test
        path: qrels/test-*
  - config_name: queries
    data_files:
      - split: test
        path: queries/test-*

PUGG: KBQA, MRC, IR Dataset for Polish

Description

This repository contains the PUGG dataset designed for three NLP tasks in the Polish language:

  • KBQA (Knowledge Base Question Answering)
  • MRC (Machine Reading Comprehension)
  • IR (Information Retrieval)

Paper

For more detailed information, please refer to our research paper titled:

"Developing PUGG for Polish: A Modern Approach to KBQA, MRC, and IR Dataset Construction"

Authored by:

  • Albert Sawczyn
  • Katsiaryna Viarenich
  • Konrad Wojtasik
  • Aleksandra Domogała
  • Marcin Oleksy
  • Maciej Piasecki
  • Tomasz Kajdanowicz

The paper was accepted for ACL 2024 (findings).

Repositories

The dataset is available in the following repositories:

  • General - contains all tasks (KBQA, MRC, IR*)

For more straightforward usage, the tasks are also available in separate repositories:

The knowledge graph for KBQA task is available in the following repository:

Note: If you want to utilize the IR task in the BEIR format (qrels in .tsv format), please download the IR repository.

Links

Citation

@misc{sawczyn2024developingpuggpolishmodern,
      title={Developing PUGG for Polish: A Modern Approach to KBQA, MRC, and IR Dataset Construction}, 
      author={Albert Sawczyn and Katsiaryna Viarenich and Konrad Wojtasik and Aleksandra Domogała and Marcin Oleksy and Maciej Piasecki and Tomasz Kajdanowicz},
      year={2024},
      eprint={2408.02337},
      archivePrefix={arXiv},
      primaryClass={cs.AI},
      url={https://arxiv.org/abs/2408.02337}, 
}

Contact

[email protected]

Usage

from datasets import load_dataset

dataset_corpus = load_dataset("clarin-pl/PUGG_IR", "corpus")
print(dataset)

dataset_queries = load_dataset("clarin-pl/PUGG_IR", "queries")
print(dataset)

dataset_qrels = load_dataset("clarin-pl/PUGG_IR", "qrels")
print(dataset)