Datasets:
Upload README.md with huggingface_hub
Browse files
README.md
CHANGED
|
@@ -1,25 +1,171 @@
|
|
| 1 |
---
|
| 2 |
-
|
| 3 |
-
|
| 4 |
-
|
| 5 |
-
|
| 6 |
-
|
| 7 |
-
|
| 8 |
-
|
| 9 |
-
|
| 10 |
-
|
| 11 |
-
|
| 12 |
-
|
| 13 |
-
|
| 14 |
-
|
| 15 |
-
- name: train
|
| 16 |
-
num_bytes: 21967159
|
| 17 |
-
num_examples: 139457
|
| 18 |
-
download_size: 10476154
|
| 19 |
-
dataset_size: 21967159
|
| 20 |
-
configs:
|
| 21 |
-
- config_name: default
|
| 22 |
-
data_files:
|
| 23 |
-
- split: train
|
| 24 |
-
path: data/train-*
|
| 25 |
---
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
---
|
| 2 |
+
language:
|
| 3 |
+
- multilingual
|
| 4 |
+
license: apache-2.0
|
| 5 |
+
tags:
|
| 6 |
+
- bitext-mining
|
| 7 |
+
- sentence-embeddings
|
| 8 |
+
- mteb
|
| 9 |
+
- multilingual
|
| 10 |
+
task_categories:
|
| 11 |
+
- sentence-similarity
|
| 12 |
+
pretty_name: "MTEB Bit TextMining Aggregated Dataset"
|
| 13 |
+
size_categories:
|
| 14 |
+
- 100K<n<1M
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 15 |
---
|
| 16 |
+
|
| 17 |
+
# MTEB BitextMining Aggregated Dataset
|
| 18 |
+
|
| 19 |
+
This dataset aggregates 8 BitextMining datasets from the MTEB (Massive Text Embedding Benchmark) Multilingual v2 benchmark into a single, unified dataset for easy access and evaluation.
|
| 20 |
+
|
| 21 |
+
## Dataset Summary
|
| 22 |
+
|
| 23 |
+
- **Total Examples**: 139,457 sentence pairs
|
| 24 |
+
- **Source Datasets**: 8 MTEB BitextMining tasks
|
| 25 |
+
- **Languages**: 117+ unique language codes
|
| 26 |
+
- **Task**: Bitext Mining (parallel sentence retrieval)
|
| 27 |
+
- **Format**: Standardized schema across all sources
|
| 28 |
+
|
| 29 |
+
## Schema
|
| 30 |
+
|
| 31 |
+
Each example contains:
|
| 32 |
+
- `sentence1` (string): First sentence of the pair
|
| 33 |
+
- `sentence2` (string): Second sentence of the pair (translation/parallel text)
|
| 34 |
+
- `lang` (string): Language pair code (e.g., "eng-fra", "de-en")
|
| 35 |
+
- `source_dataset` (string): Original MTEB dataset name
|
| 36 |
+
- `split` (string): Original split (train/validation/test)
|
| 37 |
+
|
| 38 |
+
## Source Datasets
|
| 39 |
+
|
| 40 |
+
| Dataset | Examples | Languages | Splits |
|
| 41 |
+
|---------|----------|-----------|--------|
|
| 42 |
+
| **Tatoeba** | 88,877 | 112 | test |
|
| 43 |
+
| **BUCC.v2** | 35,000 | 4 | test |
|
| 44 |
+
| **BornholmBitextMining** | 6,785 | 1 | train, validation, test |
|
| 45 |
+
| **DiaBlaBitextMining** | 5,748 | 1 | test |
|
| 46 |
+
| **NorwegianCourtsBitextMining** | 1,137 | 1 | train, test |
|
| 47 |
+
| **NusaTranslationBitextMining** | 1,000 | 1 | train |
|
| 48 |
+
| **NusaXBitextMining** | 500 | 1 | train |
|
| 49 |
+
| **NollySentiBitextMining** | 410 | 1 | train |
|
| 50 |
+
|
| 51 |
+
**Note**: Some datasets mark language as "unknown" in the lang field but contain multilingual data.
|
| 52 |
+
|
| 53 |
+
## Excluded Datasets
|
| 54 |
+
|
| 55 |
+
The following MTEB BitextMining datasets were excluded due to incompatible schemas:
|
| 56 |
+
|
| 57 |
+
- **BibleNLPBitextMining**: Uses language codes as column names (828 configs with 900+ languages)
|
| 58 |
+
- **FloresBitextMining**: Missing sentence1/sentence2 fields
|
| 59 |
+
- **IN22GenBitextMining**: Schema incompatibility
|
| 60 |
+
- **IndicGenBenchFloresBitextMining**: Schema incompatibility
|
| 61 |
+
- **NTREXBitextMining**: Schema incompatibility
|
| 62 |
+
|
| 63 |
+
## Usage
|
| 64 |
+
|
| 65 |
+
```python
|
| 66 |
+
from datasets import load_dataset
|
| 67 |
+
|
| 68 |
+
# Load the entire dataset
|
| 69 |
+
dataset = load_dataset("SaylorTwift/mteb-bitext-mining-aggregated")
|
| 70 |
+
|
| 71 |
+
# Access examples
|
| 72 |
+
for example in dataset['train']:
|
| 73 |
+
print(f"Sentence 1: {example['sentence1']}")
|
| 74 |
+
print(f"Sentence 2: {example['sentence2']}")
|
| 75 |
+
print(f"Language: {example['lang']}")
|
| 76 |
+
print(f"Source: {example['source_dataset']}")
|
| 77 |
+
print(f"Split: {example['split']}")
|
| 78 |
+
print()
|
| 79 |
+
```
|
| 80 |
+
|
| 81 |
+
### Filter by Source Dataset
|
| 82 |
+
|
| 83 |
+
```python
|
| 84 |
+
# Get only Tatoeba examples
|
| 85 |
+
tatoeba_data = dataset['train'].filter(lambda x: x['source_dataset'] == 'Tatoeba')
|
| 86 |
+
|
| 87 |
+
# Get only BUCC examples
|
| 88 |
+
bucc_data = dataset['train'].filter(lambda x: x['source_dataset'] == 'BUCC.v2')
|
| 89 |
+
```
|
| 90 |
+
|
| 91 |
+
### Filter by Language
|
| 92 |
+
|
| 93 |
+
```python
|
| 94 |
+
# Get German-English pairs from BUCC
|
| 95 |
+
de_en = dataset['train'].filter(lambda x: x['lang'] == 'de-en')
|
| 96 |
+
|
| 97 |
+
# Get specific language pairs from Tatoeba
|
| 98 |
+
fra_eng = dataset['train'].filter(lambda x: x['lang'] == 'fra-eng')
|
| 99 |
+
```
|
| 100 |
+
|
| 101 |
+
## Citation
|
| 102 |
+
|
| 103 |
+
If you use this dataset, please cite the MTEB benchmark:
|
| 104 |
+
|
| 105 |
+
```bibtex
|
| 106 |
+
@article{muennighoff2022mteb,
|
| 107 |
+
title={MTEB: Massive Text Embedding Benchmark},
|
| 108 |
+
author={Muennighoff, Niklas and Tazi, Nouamane and Magne, Lo{\"\i}c and Reimers, Nils},
|
| 109 |
+
journal={arXiv preprint arXiv:2210.07316},
|
| 110 |
+
year={2022}
|
| 111 |
+
}
|
| 112 |
+
```
|
| 113 |
+
|
| 114 |
+
## Individual Dataset Citations
|
| 115 |
+
|
| 116 |
+
Please also cite the individual datasets you use:
|
| 117 |
+
|
| 118 |
+
### Tatoeba
|
| 119 |
+
```bibtex
|
| 120 |
+
@inproceedings{artetxe2019massively,
|
| 121 |
+
title={Massively multilingual sentence embeddings for zero-shot cross-lingual transfer and beyond},
|
| 122 |
+
author={Artetxe, Mikel and Schwenk, Holger},
|
| 123 |
+
booktitle={Transactions of the Association for Computational Linguistics},
|
| 124 |
+
year={2019}
|
| 125 |
+
}
|
| 126 |
+
```
|
| 127 |
+
|
| 128 |
+
### BUCC
|
| 129 |
+
```bibtex
|
| 130 |
+
@inproceedings{zweigenbaum2017overview,
|
| 131 |
+
title={Overview of the second BUCC shared task: Spotting parallel sentences in comparable corpora},
|
| 132 |
+
author={Zweigenbaum, Pierre and Sharoff, Serge and Rapp, Reinhard},
|
| 133 |
+
booktitle={Proceedings of the 10th workshop on building and using comparable corpora},
|
| 134 |
+
year={2017}
|
| 135 |
+
}
|
| 136 |
+
```
|
| 137 |
+
|
| 138 |
+
*Additional citations available in the original MTEB task metadata.*
|
| 139 |
+
|
| 140 |
+
## Dataset Statistics
|
| 141 |
+
|
| 142 |
+
### Language Coverage
|
| 143 |
+
- **Total unique language codes**: 117
|
| 144 |
+
- **Most represented**: English (eng) appears in most pairs
|
| 145 |
+
- **Coverage**: Includes high-resource, mid-resource, and low-resource languages
|
| 146 |
+
|
| 147 |
+
### Split Distribution
|
| 148 |
+
- **test**: 136,548 examples (primarily from Tatoeba and BUCC)
|
| 149 |
+
- **train**: 9,480 examples
|
| 150 |
+
- **validation**: 500 examples
|
| 151 |
+
|
| 152 |
+
## License
|
| 153 |
+
|
| 154 |
+
This aggregated dataset inherits the licenses from its source datasets. Most MTEB datasets are released under permissive licenses (Apache 2.0, MIT, CC-BY, etc.). Please refer to the original dataset pages for specific licensing information.
|
| 155 |
+
|
| 156 |
+
## Acknowledgments
|
| 157 |
+
|
| 158 |
+
- **MTEB Team**: For creating and maintaining the benchmark
|
| 159 |
+
- **Original Dataset Creators**: For providing high-quality bitext mining datasets
|
| 160 |
+
- **Hugging Face**: For dataset hosting and infrastructure
|
| 161 |
+
|
| 162 |
+
## Version History
|
| 163 |
+
|
| 164 |
+
- **v1.0 (2026-04-02)**: Initial release
|
| 165 |
+
- 8 source datasets aggregated
|
| 166 |
+
- 139,457 sentence pairs
|
| 167 |
+
- 117 language codes
|
| 168 |
+
|
| 169 |
+
## Contact
|
| 170 |
+
|
| 171 |
+
For questions or issues with this aggregated dataset, please open an issue on the repository or contact the dataset creator.
|