Datasets:

Modalities:
Text
Formats:
json
Languages:
Slovak
DOI:
Libraries:
Datasets
pandas
License:
query-id
stringlengths
7
7
corpus-id
stringlengths
2
6
score
float64
0
5
1000005
598395
5
1000005
146843
4
1000005
578472
2
1000005
520490
2
1000005
576721
0
1000005
574728
0
1000005
517004
0
1000005
271618
0
1000005
208360
0
1000005
146848
0
1000005
146851
0
1000006
598395
5
1000006
574740
0
1000006
487131
0
1000006
578414
0
1000006
258709
0
1000006
580232
0
1000006
578472
0
1000006
264886
0
1000006
588153
0
1000006
301148
0
1000006
593690
0
1000007
598395
5
1000007
539643
0
1000007
580231
0
1000007
593414
0
1000007
532240
0
1000007
592577
0
1000007
590705
0
1000007
307901
0
1000007
487591
0
1000007
566894
0
1000007
307770
0
1000008
598395
5
1000008
580293
4
1000008
487267
2
1000008
513580
0
1000008
509234
0
1000008
487263
0
1000008
487264
0
1000008
487265
0
1000008
541743
0
1000008
64696
0
1000008
548041
0
1000009
598395
5
1000009
577747
4
1000009
536986
4
1000009
487374
2
1000009
145895
0
1000009
563736
0
1000009
510563
0
1000009
541219
0
1000009
593581
0
1000009
581891
0
1000009
487371
0
1000010
598400
5
1000010
153501
0
1000010
93387
0
1000010
447577
0
1000010
501701
0
1000010
501703
0
1000010
423120
0
1000010
593079
0
1000010
296600
0
1000010
425858
0
1000010
447545
0
1000011
598400
5
1000011
451269
0
1000011
24802
0
1000011
117576
0
1000011
279990
0
1000011
223472
0
1000011
95911
0
1000011
225069
0
1000011
163686
0
1000011
283706
0
1000011
223473
0
1000012
598400
5
1000012
87881
0
1000012
447565
0
1000012
542495
0
1000012
572528
0
1000012
510945
0
1000012
444826
0
1000012
444925
0
1000012
447601
0
1000012
296600
0
1000012
564624
0
1000013
598403
5
1000013
41488
2
1000013
8316
0
1000013
228305
0
1000013
2835
0
1000013
159626
0
1000013
159627
0
1000013
224974
0
1000013
159597
0
1000013
190508
0
1000013
124495
0
1000014
598403
5

Dataset Card for retrieval-skquad

Dataset Summary

STS SK-QuAD Retrieval is a unique dataset designed to evaluate Slovak search performance using metrics like MRR, MAP, and NDCG, derived from the SK-QuAD dataset. It features questions and answers sourced from a search engine before annotation. The annotated data assigns categories to the best answers for each question, enhancing Slovak language search evaluation. This dataset is a significant step forward in the development of Slovak language search evaluation and provides a valuable resource for further research and development in this area.

Languages

Slovak

Dataset Structure

The dataset follows strucure recommended by BEIR toolkit.

corpus.jsonl : contains a list of dictionaries, each with three fields _id with unique document identifier, title of document and text of a paragraph.

For example:

{"_id": "598395",
 "title": "Vysoký grúň (Laborecká vrchovina)",
 "text": "Cez vrch Vysoký grúň vedie hlavná  červená turistická značka, ktorá zároveň vedie po hlavnom karpatskom hrebeni cez najvýchodnejší bod Slovenska – trojmedzie (1207.7 Mnm) na vrchu Kremenec (1221.0 Mnm) a prechádza po slovensko-poľskej štátnej hranici cez viacero vrchov s viacerými panoramatickými vyhliadkami, ako napr. Kamenná lúka (1200.9 Mnm), Jarabá skala (1199.0 Mnm), Ďurkovec (1188.7 Mnm), Pľaša (1162.8 Mnm), ďalej cez Ruské sedlo (801.0 Mnm), vrchy Rypy (1002.7 Mnm), Strop, (1011.2 Mnm), Černiny (929.4 Mnm), Laborecký priesmyk (684.0 Mnm) až k Duklianskemu priesmyku (502.0 Mnm)."}

queries.jsonl : contains a list of dictionaries, each with two fields _id with unique query identifier and text with query text. For example: {"_id": "q1", "text": "Who developed the mass-energy equivalence formula?"}

For example:

{"_id": "1000005",
 "text": "Akú nadmorskú výšku má vrch Kremenec ?"
}

qrels/test.tsv : a .tsv file (tab-seperated) that contains three columns, the query-id, corpus-id and score in this order.

For example:

# query-id corpus-id score
1000005 598395 5
1000005 576721 0
1000005 576728 0
1000005 146843 4
1000005 520490 2

Scores of the answers are based on the annotators decisions:

  • 5 and 4: paragraph contains relevant answer
  • 2 : paragraph is partially relevant
  • 0 : paragraphs is no relevant

Evaluation of an embedding model

For evaluation of an embedding model with this dataset, you can use HF datasets and BEIR toolit:

Example of evaluation of a model:

from beir import util, LoggingHandler
from beir.retrieval import models
from beir.datasets.data_loader import GenericDataLoader
from beir.retrieval.evaluation import EvaluateRetrieval
from beir.retrieval.search.dense import DenseRetrievalExactSearch as DRES
from huggingface_hub import snapshot_download
import logging
import pathlib, os

#### Just some code to print debug information to stdout
logging.basicConfig(format='%(asctime)s - %(message)s',
                    datefmt='%Y-%m-%d %H:%M:%S',
                    level=logging.INFO,
                    handlers=[LoggingHandler()])
#
data_path  = snapshot_download(repo_id="TUKE-KEMT/retrieval-skquad",repo_type="dataset")
model_path = "TUKE-DeutscheTelekom/slovakbert-skquad-mnlr"

model = DRES(models.SentenceBERT(model_path), batch_size=16)

corpus, queries, qrels = GenericDataLoader(data_folder=data_path).load(split="test")

#### Load the SBERT model and retrieve using cosine-similarity
retriever = EvaluateRetrieval(model, score_function="dot") # or "cos_sim" for cosine similarity
results = retriever.retrieve(corpus, queries)

#### Evaluate your model with NDCG@k, MAP@K, Recall@K and Precision@K  where k = [1,3,5,10,100,1000]
ndcg, _map, recall, precision = retriever.evaluate(qrels, results, retriever.k_values)

Database Content

Number of Questions Total Answers
945 19845
Correct Answers Count of Questions
2 466
3 250
4 119
5 60
6 20
7 12
8 11
9 4
14 1
19 1
20 1
Total 945

Dataset Creation

Curation Rationale

The curation rationale for this dataset stemmed from the necessity to evaluate search performance in the Slovak language context. By selecting questions from the SK-QuAD dataset and annotating them with relevant answers obtained from a search engine, the dataset aims to provide a standardized benchmark for assessing Slovak language search effectiveness.

Source Data

Initial Data Collection and Normalization

Initial data collection and normalization involved selecting questions from the first manually annotated dataset, SK-QuAD. Only corresponding questions were chosen to ensure relevance and consistency in the dataset. This process useful to maintain the quality of the data for subsequent evaluation.

Who are the source language producers?

The creator is a student from the Department of Electronics and Multimedia Telecommunications (KEMT) on Faculty of Electrical Engineering and Informatics (FEI TUKE) of the Technical University of Košice (TUKE). The dataset was developed as part of the student's master's thesis titled Semantic Search in Slovak Text.

Annotations

Annotation process

The annotation process involved sourcing questions and their corresponding answers from the SK-QuAD dataset. Before annotation, answers to each question were obtained using a semantic search with model slovakbert-skquad-mnlr. During annotation, the best answers were identified and categorized based on relevance.

There are relevant categories:

  • Category 0: Answers in this category were deemed irrelevant or overlooked during the annotation process, indicating a lack of alignment with the query or inadequacy in addressing the question's intent.
  • Category 1: Representing the highest level of relevance, answers categorized under this label were sourced directly from the SK-QuAD dataset and were verified to be accurate and comprehensive responses to the questions.
  • Category 2: Answers classified as Category 2 exhibited direct relevance to the posed questions, providing informative and pertinent information that effectively addressed the query's scope.
  • Category 3: Answers falling into Category 3 demonstrated a degree of relevance to the questions but were considered weakly relevant. These responses may contain some relevant information but might lack precision or comprehensiveness in addressing the query.
  • Category 4: In contrast, Category 4 encompassed answers marked by evaluators as not relevant to the questions. These responses failed to provide meaningful or accurate information, indicating a disconnect from the query's intent or context.

By categorizing answers based on their relevancy levels, the annotation process aimed to ensure the dataset's quality and utility for evaluating search performance accurately in the Slovak language context. These relevancy categories facilitate nuanced analysis and interpretation of search results, enabling comprehensive assessments of search effectiveness and providing valuable insights for further research and development in the field of information retrieval and natural language processing.

Who are the annotators?

Students from Faculty of Electrical Engineering and Informatics Technical University of Košice.

Personal and Sensitive Information

Considerations for Using the Data

In the dataset, Slovak Wikipedia includes a wealth of information about various individuals, including famous personalities, as well as groups or organizations. It's important to handle this information with care, ensuring compliance with ethical standards and privacy regulations when analyzing or processing data related to individuals or groups.

Social Impact of Dataset

This dataset will contribute significantly to enhancing Slovakian search engines by providing valuable insights and data for evaluation purposes. It has the potential to improve the efficiency and relevance of search results in Slovak or multilanguage texts.

Additional Information

Dataset Curators

Technical University of Košice

Licensing Information

license: cc-by-nc-sa-4.0

Citation Information

[Needs More Information]

Downloads last month
78