|
|
--- |
|
|
language: |
|
|
- en |
|
|
- hi |
|
|
- pa |
|
|
task_categories: |
|
|
- text-generation |
|
|
- translation |
|
|
pretty_name: "Filtered Multilingual Corpus (EN-HI-PA)" |
|
|
size_categories: |
|
|
- 100K<n<1M |
|
|
license: cc-by-4.0 |
|
|
annotations_creators: |
|
|
- expert-generated |
|
|
source_datasets: |
|
|
- ai4bharat/samanantar |
|
|
tags: |
|
|
- multilingual |
|
|
- indic-languages |
|
|
- parallel-corpus |
|
|
- filtered |
|
|
- cleaned |
|
|
--- |
|
|
|
|
|
# Filtered Multilingual Corpus (EN-HI-PA) |
|
|
|
|
|
## Dataset Description |
|
|
|
|
|
A cleaned and balanced multilingual corpus extracted from the Samanantar dataset, containing parallel sentences in English, Hindi, and Punjabi. |
|
|
|
|
|
## Languages |
|
|
|
|
|
The dataset contains text in three languages: |
|
|
- **English** (`en`) |
|
|
- **Hindi** (`hi`) |
|
|
- **Punjabi** (`pa`) |
|
|
|
|
|
## Dataset Summary |
|
|
|
|
|
This dataset is a filtered subset of the Samanantar parallel corpus, specifically: |
|
|
- **150,000 English sentences** (from EN-HI and EN-PA parallel data) |
|
|
- **150,000 Hindi sentences** (from EN-HI parallel data) |
|
|
- **150,000 Punjabi sentences** (from EN-PA parallel data) |
|
|
|
|
|
All sentences have been cleaned, deduplicated, and quality-filtered for language modeling purposes. |
|
|
|
|
|
## Supported Tasks |
|
|
|
|
|
- Multilingual language model training |
|
|
- Cross-lingual transfer learning |
|
|
- Machine translation fine-tuning |
|
|
- Multilingual text generation |
|
|
|
|
|
## Dataset Structure |
|
|
|
|
|
```python |
|
|
{ |
|
|
"en": ["English sentence 1", "English sentence 2", ...], |
|
|
"hi": ["Hindi sentence 1", "Hindi sentence 2", ...], |
|
|
"pa": ["Punjabi sentence 1", "Punjabi sentence 2", ...] |
|
|
} |
|
|
``` |
|
|
|
|
|
## Source & Thanks |
|
|
|
|
|
This dataset is derived from the Samanantar parallel corpus. Special thanks to AI4Bharat for creating and sharing this valuable resource. |
|
|
|
|
|
## Citation |
|
|
|
|
|
### Original Dataset |
|
|
|
|
|
```bibtex |
|
|
@inproceedings{samanantar_2021, |
|
|
title = {Samanantar: The Largest Publicly Available Parallel Corpora Collection for 11 Indic Languages}, |
|
|
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}, |
|
|
booktitle = {Proceedings of the Neural Information Processing Systems (NeurIPS) Track on Datasets and Benchmarks}, |
|
|
year = {2021}, |
|
|
url = {https://arxiv.org/abs/2104.05596} |
|
|
} |
|
|
``` |
|
|
|
|
|
### This Dataset |
|
|
|
|
|
```bibtex |
|
|
@software{filtered_multilingual_2026, |
|
|
title = {multilingual-corpus}, |
|
|
author = {Manish Tiwari}, |
|
|
year = {2026}, |
|
|
url = {https://huggingface.co/datasets/PredictiveManish/multilingual-corpus}, |
|
|
note = {Cleaned and balanced multilingual corpus for language modeling} |
|
|
} |
|
|
``` |
|
|
|
|
|
## Usage |
|
|
|
|
|
### Direct Loading |
|
|
|
|
|
```python |
|
|
from datasets import load_dataset |
|
|
|
|
|
dataset = load_dataset("PredictiveManish/multilingual-corpus") |
|
|
|
|
|
english_sentences = dataset["train"]["en"] |
|
|
hindi_sentences = dataset["train"]["hi"] |
|
|
punjabi_sentences = dataset["train"]["pa"] |
|
|
``` |
|
|
|
|
|
## License |
|
|
|
|
|
This dataset is licensed under **CC-BY 4.0**. |
|
|
|