Datasets:
Upload Luhya multilingual dataset
Browse files- README.md +134 -2
- dataset_info.json +28 -0
- test.csv +0 -0
- train.csv +0 -0
- val.csv +0 -0
README.md
CHANGED
|
@@ -1,3 +1,135 @@
|
|
| 1 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 2 |
|
| 3 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
language:
|
| 3 |
+
- en
|
| 4 |
+
- sw
|
| 5 |
+
- luy
|
| 6 |
+
multilinguality:
|
| 7 |
+
- multilingual
|
| 8 |
+
task_categories:
|
| 9 |
+
- translation
|
| 10 |
+
task_ids:
|
| 11 |
+
- translation
|
| 12 |
+
tags:
|
| 13 |
+
- luhya
|
| 14 |
+
- african-languages
|
| 15 |
+
- low-resource
|
| 16 |
+
- multilingual-translation
|
| 17 |
+
- kenya
|
| 18 |
+
size_categories:
|
| 19 |
+
- 10K<n<100K
|
| 20 |
+
source_datasets:
|
| 21 |
+
- original
|
| 22 |
+
license: cc-by-4.0
|
| 23 |
+
---
|
| 24 |
|
| 25 |
+
# Luhya Multilingual Translation Dataset
|
| 26 |
+
|
| 27 |
+
## Dataset Description
|
| 28 |
+
|
| 29 |
+
This dataset contains 26,205 translation pairs for Luhya dialects, English, and Swahili. It was created to support machine translation research for Luhya, a Bantu language family spoken in Kenya.
|
| 30 |
+
|
| 31 |
+
### Languages and Dialects
|
| 32 |
+
|
| 33 |
+
**Languages:**
|
| 34 |
+
- en
|
| 35 |
+
- luy
|
| 36 |
+
- sw
|
| 37 |
+
|
| 38 |
+
**Luhya Dialects:**
|
| 39 |
+
- Bukusu
|
| 40 |
+
- Luwanga
|
| 41 |
+
- Marachi
|
| 42 |
+
- Maragoli
|
| 43 |
+
- Tsotso
|
| 44 |
+
|
| 45 |
+
### Dataset Statistics
|
| 46 |
+
|
| 47 |
+
| Split | Examples |
|
| 48 |
+
|-------|----------|
|
| 49 |
+
| Train | 20,963 |
|
| 50 |
+
| Validation | 2,621 |
|
| 51 |
+
| Test | 2,621 |
|
| 52 |
+
| **Total** | **26,205** |
|
| 53 |
+
|
| 54 |
+
### Data Sources
|
| 55 |
+
|
| 56 |
+
- Bible
|
| 57 |
+
- Dictionary
|
| 58 |
+
- Proverbs
|
| 59 |
+
- Translations
|
| 60 |
+
|
| 61 |
+
## Dataset Structure
|
| 62 |
+
|
| 63 |
+
### Data Fields
|
| 64 |
+
|
| 65 |
+
- `source_text`: Source text for translation
|
| 66 |
+
- `target_text`: Target translation (includes dialect tokens)
|
| 67 |
+
- `source_lang`: Source language code
|
| 68 |
+
- `target_lang`: Target language code
|
| 69 |
+
- `dialect`: Specific Luhya dialect (if applicable)
|
| 70 |
+
- `domain`: Source domain (bible, dictionary, proverbs, etc.)
|
| 71 |
+
|
| 72 |
+
### Example
|
| 73 |
+
|
| 74 |
+
```json
|
| 75 |
+
{
|
| 76 |
+
"source_text": "Hello, how are you?",
|
| 77 |
+
"target_text": "<luy_bukusu> Murachi mulahi?",
|
| 78 |
+
"source_lang": "en",
|
| 79 |
+
"target_lang": "luy",
|
| 80 |
+
"dialect": "Bukusu",
|
| 81 |
+
"domain": "greetings"
|
| 82 |
+
}
|
| 83 |
+
```
|
| 84 |
+
|
| 85 |
+
## Usage
|
| 86 |
+
|
| 87 |
+
```python
|
| 88 |
+
from datasets import load_dataset
|
| 89 |
+
|
| 90 |
+
dataset = load_dataset("mamakobe/luhya-multilingual-dataset")
|
| 91 |
+
|
| 92 |
+
# Access splits
|
| 93 |
+
train_data = dataset['train']
|
| 94 |
+
val_data = dataset['validation']
|
| 95 |
+
test_data = dataset['test']
|
| 96 |
+
```
|
| 97 |
+
|
| 98 |
+
## Ethical Considerations
|
| 99 |
+
|
| 100 |
+
### Community Involvement
|
| 101 |
+
- Dataset created in collaboration with Luhya language communities
|
| 102 |
+
- Sources include traditional texts and community contributions
|
| 103 |
+
- Respects cultural and linguistic heritage
|
| 104 |
+
|
| 105 |
+
### Intended Use
|
| 106 |
+
- Machine translation research
|
| 107 |
+
- Language preservation efforts
|
| 108 |
+
- Educational applications
|
| 109 |
+
- Cultural documentation
|
| 110 |
+
|
| 111 |
+
### Limitations
|
| 112 |
+
- May not represent all Luhya dialects equally
|
| 113 |
+
- Translation quality varies by domain
|
| 114 |
+
- Some entries may contain cultural context not captured in direct translation
|
| 115 |
+
|
| 116 |
+
## Citation
|
| 117 |
+
|
| 118 |
+
If you use this dataset, please cite:
|
| 119 |
+
|
| 120 |
+
```bibtex
|
| 121 |
+
@dataset{luhya_multilingual_2024,
|
| 122 |
+
title={Luhya Multilingual Translation Dataset},
|
| 123 |
+
author={mamakobe},
|
| 124 |
+
year={2024},
|
| 125 |
+
url={https://huggingface.co/datasets/mamakobe/luhya-multilingual-dataset}
|
| 126 |
+
}
|
| 127 |
+
```
|
| 128 |
+
|
| 129 |
+
## License
|
| 130 |
+
|
| 131 |
+
This dataset is released under CC-BY-4.0 license. Please respect the cultural heritage of the Luhya communities when using this data.
|
| 132 |
+
|
| 133 |
+
---
|
| 134 |
+
|
| 135 |
+
Dataset created: 2025-08-21
|
dataset_info.json
ADDED
|
@@ -0,0 +1,28 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"created": "2025-08-21T02:31:07.403269",
|
| 3 |
+
"total_examples": 26205,
|
| 4 |
+
"splits": {
|
| 5 |
+
"train": 20963,
|
| 6 |
+
"validation": 2621,
|
| 7 |
+
"test": 2621
|
| 8 |
+
},
|
| 9 |
+
"languages": [
|
| 10 |
+
"en",
|
| 11 |
+
"sw",
|
| 12 |
+
"luy"
|
| 13 |
+
],
|
| 14 |
+
"dialects": [
|
| 15 |
+
"Luwanga",
|
| 16 |
+
"Bukusu",
|
| 17 |
+
"Maragoli",
|
| 18 |
+
"Marachi",
|
| 19 |
+
"Tsotso"
|
| 20 |
+
],
|
| 21 |
+
"domains": [
|
| 22 |
+
"dictionary",
|
| 23 |
+
"translations",
|
| 24 |
+
"proverbs",
|
| 25 |
+
"bible"
|
| 26 |
+
],
|
| 27 |
+
"version": "1.0.0"
|
| 28 |
+
}
|
test.csv
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
train.csv
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
val.csv
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|