File size: 1,230 Bytes
71793e7
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
27741bb
 
 
 
 
 
71793e7
27741bb
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
---
dataset_info:
  features:
  - name: query
    dtype: string
  - name: passage
    dtype: string
  splits:
  - name: train
    num_bytes: 69338889
    num_examples: 87599
  download_size: 11644151
  dataset_size: 69338889
configs:
- config_name: default
  data_files:
  - split: train
    path: data/train-*
language:
- da
task_categories:
- feature-extraction
- question-answering
license: cc-by-sa-4.0
---

# SQuAD question-answer pairs in Danish

## About

This dataset is a version of the [SQuAD question-answer pairs dataset](https://huggingface.co/datasets/sentence-transformers/embedding-training-data) machine-translated from English to Danish ([link to original dataset](https://huggingface.co/datasets/squad)).

Machine translation is performed using the Helsinki NLP [English-to-Danish OPUS-MT model](https://huggingface.co/Helsinki-NLP/opus-mt-en-da).

The dataset contains ~87k question-answer pairs and can be used to train embedding and question-answer models. Each pair consists of one question ('query') and one passage containing the answer ('passage').

## Usage

Using the HuggingFace datasets library:

```python
from datasets import load_dataset

dataset = load_dataset("KennethTM/squad_pairs_danish")
```