PUGG / README.md
asawczyn's picture
Upload folder using huggingface_hub
3d5bb85 verified
|
raw
history blame
3.35 kB
---
annotations_creators:
- expert-generated
language_creators: []
language:
- pl
license:
- cc-by-sa-4.0
multilinguality:
- monolingual
size_categories:
- 1K<n<10K
- 10K<n<100K
source_datasets:
- original
task_categories:
- question-answering
- text-retrieval
task_ids:
- extractive-qa
- document-retrieval
pretty_name: 'PUGG: KBQA, MRC, IR dataset for Polish'
tags:
- knowledge graph
- KBQA
- wikipedia
- wikidata
configs:
- config_name: kbqa_all
data_files:
- split: train
path: kbqa/*/train.jsonl
- split: test
path: kbqa/*/test.jsonl
- config_name: kbqa_natural
data_files:
- split: train
path: kbqa/natural/train.jsonl
- split: test
path: kbqa/natural/test.jsonl
- config_name: kbqa_template-based
data_files:
- split: train
path: kbqa/template-based/train.jsonl
- split: test
path: kbqa/template-based/test.jsonl
- config_name: mrc
data_files:
- split: train
path: mrc/train.jsonl
- split: test
path: mrc/test.jsonl
- config_name: ir_corpus
data_files:
- split: test
path: ir/corpus.jsonl
- config_name: ir_queries
data_files:
- split: test
path: ir/queries.jsonl
- config_name: ir_qrels
data_files:
- split: test
path: ir/qrels/test.jsonl
---
# 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](https://huggingface.co/datasets/clarin-pl/PUGG_KBQA) (this repository) - contains all tasks (KBQA, MRC, IR)
For more straightforward usage, the tasks are also available in separate repositories:
* [KBQA](https://huggingface.co/datasets/clarin-pl/PUGG_KBQA)
* [MRC](https://huggingface.co/datasets/clarin-pl/PUGG_MRC)
* [IR](https://huggingface.co/datasets/clarin-pl/PUGG_IR)
The knowledge graph for KBQA task is available in the following repository:
* [Knowledge Graph](https://huggingface.co/datasets/clarin-pl/PUGG_KG)
## Links
* Code:
* [Github](https://github.com/CLARIN-PL/PUGG)
* Paper:
* ACL - TBA
* Arxiv - TBA
## Usage
```python
from datasets import load_dataset
# loading KBQA (all)
dataset = load_dataset("clarin-pl/PUGG", "kbqa_all")
print(dataset)
# loading KBQA (natural)
dataset = load_dataset("clarin-pl/PUGG", "kbqa_natural")
print(dataset)
# loading KBQA (template-based)
dataset = load_dataset("clarin-pl/PUGG", "kbqa_template-based")
print(dataset)
# loading MRC
dataset = load_dataset("clarin-pl/PUGG", "mrc")
print(dataset)
# loading IR
## corpus
dataset = load_dataset("clarin-pl/PUGG", "ir_corpus")
print(dataset)
## queries
dataset = load_dataset("clarin-pl/PUGG", "ir_queries")
print(dataset)
## qrels
dataset = load_dataset("clarin-pl/PUGG", "ir_qrels")
print(dataset)
```
## Citation
TBA
## Contact
albert.sawczyn@pwr.edu.pl