104 MB
53 files
Updated 13 days ago
Name
Size
dataset
.gitattributes2.5 kB
xet
README.md9.3 kB
xet
README.md

MIRACL Triplets in 51 Languages

Dataset Summary

MIRACL Triplets in 51 Languages is a multilingual retrieval and reranking dataset for training dense retrieval, sentence embedding, reranker, and cross-lingual search models. It contains (query, positive, negative) triplets derived from the English training split of miracl/miracl.

The dataset provides 51 language subsets: the original English data and translations into 50 languages. Each subset contains 2,863 aligned training examples. Rows with the same id represent translations of the same source triplet. The aligned (query, positive, negative) structure supports multilingual retrieval, multilingual reranking, contrastive learning, and hard-negative training.

  • Format: Parquet
  • Subsets: 51 language codes, including en, ko, ja, zh, de, and fr
  • Split: train
  • Rows per subset: 2,863
  • Total rows across subsets: 146,013

Data Structure

Column Type Description
id int64 Alignment identifier shared across language subsets
query string Search query
positive string Passage relevant to the query
negative string Passage not relevant to the query

Data Instances

Example from the English subset:

{
  "id": 232,
  "query": "What is Nigers anthem?",
  "positive": "La Nigérienne\n\"La Nigérienne\" is the national anthem of Niger. The lyrics are by Maurice Albert Thiriet. Robert Jacquet and Nicolas Abel François Frionnet wrote the music. It was adopted as Niger's anthem in 1961.",
  "negative": "Nigeria, We Hail Thee\nThe second national anthem, \"Arise, O Compatriots,\" replaced \"Nigeria, We Hail Thee\" in 1978."
}

How to Use

from datasets import load_dataset

# Load one language subset. Replace "ko" with any supported language code.
dataset = load_dataset("nlpai-lab/miracl-multilingual-triplets", "ko", split="train")

print(dataset.features)
print(dataset[0])

The default subset is English (en).

Source and Translation

The model's original translation prompt template was used without modification or additional instructions. The query, positive, and negative fields were translated independently while preserving their triplet relationship and cross-language id alignment.

Languages

Code Language Code Language
ar Arabic bg Bulgarian
bn Bengali ca Catalan
cs Czech da Danish
de German el Greek
en English (source) es Spanish
et Estonian fa Persian
fi Finnish fil-PH Filipino
fr French gu Gujarati
he Hebrew hi Hindi
hr Croatian hu Hungarian
id Indonesian is Icelandic
it Italian ja Japanese
kn Kannada ko Korean
lt Lithuanian lv Latvian
ml Malayalam mr Marathi
nl Dutch no Norwegian
pa Punjabi pl Polish
pt Portuguese ro Romanian
ru Russian sk Slovak
sl Slovenian sr Serbian
sv Swedish sw Swahili
ta Tamil te Telugu
th Thai tr Turkish
uk Ukrainian ur Urdu
vi Vietnamese zh Chinese
zu Zulu

License

The source MIRACL dataset is released under the Apache License 2.0. This derived dataset is also released under Apache-2.0.

Total size
104 MB
Files
53
Last updated
Jul 19
Pre-warmed CDN
US EU US EU

Contributors