Update README.md
Browse files
README.md
CHANGED
|
@@ -1,13 +1,110 @@
|
|
| 1 |
---
|
| 2 |
-
task_categories:
|
| 3 |
-
- text-generation
|
| 4 |
language:
|
| 5 |
- en
|
| 6 |
- hi
|
| 7 |
- pa
|
| 8 |
-
|
|
|
|
|
|
|
|
|
|
| 9 |
size_categories:
|
| 10 |
-
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 11 |
|
|
|
|
| 12 |
|
| 13 |
-
|
|
|
|
| 1 |
---
|
|
|
|
|
|
|
| 2 |
language:
|
| 3 |
- en
|
| 4 |
- hi
|
| 5 |
- pa
|
| 6 |
+
task_categories:
|
| 7 |
+
- text-generation
|
| 8 |
+
- translation
|
| 9 |
+
pretty_name: "Filtered Multilingual Corpus (EN-HI-PA)"
|
| 10 |
size_categories:
|
| 11 |
+
- 100K<n<1M
|
| 12 |
+
license: cc-by-4.0
|
| 13 |
+
annotations_creators:
|
| 14 |
+
- expert-generated
|
| 15 |
+
source_datasets:
|
| 16 |
+
- ai4bharat/samanantar
|
| 17 |
+
tags:
|
| 18 |
+
- multilingual
|
| 19 |
+
- indic-languages
|
| 20 |
+
- parallel-corpus
|
| 21 |
+
- filtered
|
| 22 |
+
- cleaned
|
| 23 |
+
---
|
| 24 |
+
|
| 25 |
+
# Filtered Multilingual Corpus (EN-HI-PA)
|
| 26 |
+
|
| 27 |
+
## Dataset Description
|
| 28 |
+
|
| 29 |
+
A cleaned and balanced multilingual corpus extracted from the Samanantar dataset, containing parallel sentences in English, Hindi, and Punjabi.
|
| 30 |
+
|
| 31 |
+
## Languages
|
| 32 |
+
|
| 33 |
+
The dataset contains text in three languages:
|
| 34 |
+
- **English** (`en`)
|
| 35 |
+
- **Hindi** (`hi`)
|
| 36 |
+
- **Punjabi** (`pa`)
|
| 37 |
+
|
| 38 |
+
## Dataset Summary
|
| 39 |
+
|
| 40 |
+
This dataset is a filtered subset of the Samanantar parallel corpus, specifically:
|
| 41 |
+
- **150,000 English sentences** (from EN-HI and EN-PA parallel data)
|
| 42 |
+
- **150,000 Hindi sentences** (from EN-HI parallel data)
|
| 43 |
+
- **150,000 Punjabi sentences** (from EN-PA parallel data)
|
| 44 |
+
|
| 45 |
+
All sentences have been cleaned, deduplicated, and quality-filtered for language modeling purposes.
|
| 46 |
+
|
| 47 |
+
## Supported Tasks
|
| 48 |
+
|
| 49 |
+
- Multilingual language model training
|
| 50 |
+
- Cross-lingual transfer learning
|
| 51 |
+
- Machine translation fine-tuning
|
| 52 |
+
- Multilingual text generation
|
| 53 |
+
|
| 54 |
+
## Dataset Structure
|
| 55 |
+
|
| 56 |
+
```python
|
| 57 |
+
{
|
| 58 |
+
"en": ["English sentence 1", "English sentence 2", ...],
|
| 59 |
+
"hi": ["Hindi sentence 1", "Hindi sentence 2", ...],
|
| 60 |
+
"pa": ["Punjabi sentence 1", "Punjabi sentence 2", ...]
|
| 61 |
+
}
|
| 62 |
+
```
|
| 63 |
+
|
| 64 |
+
## Source & Thanks
|
| 65 |
+
|
| 66 |
+
This dataset is derived from the Samanantar parallel corpus. Special thanks to AI4Bharat for creating and sharing this valuable resource.
|
| 67 |
+
|
| 68 |
+
## Citation
|
| 69 |
+
|
| 70 |
+
### Original Dataset
|
| 71 |
+
|
| 72 |
+
```bibtex
|
| 73 |
+
@inproceedings{samanantar_2021,
|
| 74 |
+
title = {Samanantar: The Largest Publicly Available Parallel Corpora Collection for 11 Indic Languages},
|
| 75 |
+
author = {Gowtham Ramesh and Sumanth Doddapaneni and Aravinth Bheemaraj and Mayank Jobanputra and Raghavan AK and Ajitesh Sharma and Sujit Sahoo and Harshita Diddee and Mahalakshmi J and Divyanshu Kakwani and Navneet Kumar and Aswin Pradeep and Srihari Nagaraj and Kumar Deepak and Vivek Raghavan and Anoop Kunchukuttan and Pratyush Kumar and Mitesh Shantadevi Khapra},
|
| 76 |
+
booktitle = {Proceedings of the Neural Information Processing Systems (NeurIPS) Track on Datasets and Benchmarks},
|
| 77 |
+
year = {2021},
|
| 78 |
+
url = {https://arxiv.org/abs/2104.05596}
|
| 79 |
+
}
|
| 80 |
+
```
|
| 81 |
+
|
| 82 |
+
### This Dataset
|
| 83 |
+
|
| 84 |
+
```bibtex
|
| 85 |
+
@software{filtered_multilingual_2026,
|
| 86 |
+
title = {multilingual-corpus},
|
| 87 |
+
author = {Manish Tiwari},
|
| 88 |
+
year = {2026},
|
| 89 |
+
url = {https://huggingface.co/datasets/PredictiveManish/multilingual-corpus},
|
| 90 |
+
note = {Cleaned and balanced multilingual corpus for language modeling}
|
| 91 |
+
}
|
| 92 |
+
```
|
| 93 |
+
|
| 94 |
+
## Usage
|
| 95 |
+
|
| 96 |
+
### Direct Loading
|
| 97 |
+
|
| 98 |
+
```python
|
| 99 |
+
from datasets import load_dataset
|
| 100 |
+
|
| 101 |
+
dataset = load_dataset("PredictiveManish/multilingual-corpus")
|
| 102 |
+
|
| 103 |
+
english_sentences = dataset["train"]["en"]
|
| 104 |
+
hindi_sentences = dataset["train"]["hi"]
|
| 105 |
+
punjabi_sentences = dataset["train"]["pa"]
|
| 106 |
+
```
|
| 107 |
|
| 108 |
+
## License
|
| 109 |
|
| 110 |
+
This dataset is licensed under **CC-BY 4.0**.
|