# XQuAD (Cross-lingual Question Answering Dataset): 1,190 SQuAD Questions Professionally Translated into 11 Languages (Google DeepMind)

## Facts

- Provider: DeepMind (Artetxe, Ruder and Yogatama)
- License: CC-BY-SA-4.0 (https://github.com/google-deepmind/xquad)
- Size: 14 files
- Format: Parquet (in sampled files)
- Stored at: Hugging Face, https://huggingface.co/datasets/google/xquad
- Access: public, readable without an account
- Category: Natural Language Processing
- Source: https://arxiv.org/abs/1910.11856
- Page: https://scigantic.com/archive/8eddd5c6-ee4c-5911-b73b-57409a3912b3
- Keywords: Natural Language Processing, Parquet, Hugging Face

## About

XQuAD (Cross-lingual Question Answering Dataset) evaluates cross-lingual extractive question answering. It takes 240 paragraphs and 1,190 question-answer pairs from the SQuAD v1.1 development set and adds professional human translations into Spanish, German, Greek, Russian, Turkish, Arabic, Vietnamese, Thai, Chinese and Hindi, so the set is fully parallel across 11 languages; a Romanian translation was added later. Each example has a context paragraph, a question and the answer span with its character offset, in SQuAD format. It is the standard zero-shot transfer test for multilingual language models (mBERT, XLM-R, mT5): train on English SQuAD, evaluate in each target language. The repository has one folder per language (xquad.ar, xquad.de, xquad.zh and so on), each with a validation Parquet file. Load with the Hugging Face datasets library (load_dataset('google/xquad', 'xquad.de')). Distributed by DeepMind under CC BY-SA 4.0; cite Artetxe, Ruder and Yogatama, On the Cross-lingual Transferability of Monolingual Representations, ACL 2020.

## Load the data

```python
from datasets import load_dataset
ds = load_dataset("google/xquad")
print(ds)
```

## Data structure

File types in sampled files: Parquet

Example file: `xquad.ar/validation-00000-of-00001.parquet`

## Open it

- In a hosted notebook with the data mounted: https://scigantic.com/archive/8eddd5c6-ee4c-5911-b73b-57409a3912b3
- Full record as JSON (schema card included): https://api.scigantic.com/api/archives/8eddd5c6-ee4c-5911-b73b-57409a3912b3
- Over MCP: `get_schema_card` with id `8eddd5c6-ee4c-5911-b73b-57409a3912b3` at https://api.scigantic.com/mcp

## Related topics

- [Parquet datasets](https://scigantic.com/topics/parquet)
- [Natural Language Processing datasets](https://scigantic.com/topics/natural-language-processing)
