Datasets:
File size: 5,531 Bytes
64f07e3 c08fb43 64f07e3 2a88495 64f07e3 c08fb43 2a88495 64f07e3 2a88495 64f07e3 2a88495 64f07e3 2a88495 c08fb43 2a88495 c08fb43 2a88495 c08fb43 64f07e3 c08fb43 2a88495 c08fb43 64f07e3 2a88495 64f07e3 c08fb43 64f07e3 c08fb43 64f07e3 c08fb43 2a88495 c08fb43 2a88495 c08fb43 2a88495 c08fb43 2a88495 c08fb43 64f07e3 c08fb43 2a88495 c08fb43 2a88495 c08fb43 2a88495 c08fb43 2a88495 c08fb43 64f07e3 c08fb43 64f07e3 2a88495 64f07e3 2a88495 c08fb43 2a88495 64f07e3 2a88495 c08fb43 2a88495 64f07e3 2a88495 c08fb43 2a88495 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 | ---
license: apache-2.0
language:
- en
- hi
task_categories:
- translation
size_categories:
- 100K<n<1M
tags:
- parallel-corpus
- translation
- nmt
- viuai
- sarus-500m
- english-hindi
- indic
- devanagari
- iit-bombay
- samanantar
- zero-synthetic
configs:
- config_name: default
data_files:
- split: train
path: "raw/viu_translate_100k_train.json"
- split: validation
path: "raw/viu_translate_val.json"
---
<div align="center">
# π ViuTranslate-Data
### *A 100% Authentic Human-Curated Parallel Corpus for English β Hindi Neural Translation*
[](https://opensource.org/licenses/Apache-2.0)
[](#-dataset-overview)
[](#-dataset-overview)
[-purple.svg)](#-quality-control-guardrails)
[](#-dataset-overview)
[**π ViuAI Studio**](https://github.com/ViuAI) | [**π€ Model Hub**](https://huggingface.co/ViuAI/ViuTranslate) | [**π Data Provenance**](#-corpus-provenance--split) | [**π‘ Python Usage**](#-loading-the-dataset)
---
</div>
## π Introduction & Overview
**ViuTranslate-Data** is a production-grade bilingual parallel corpus curated specifically for fine-tuning neural machine translation foundation models (like **ViuAI Sarus-500M**).
Every single sentence pair is extracted from official, published academic and institutional corpora. **Zero synthetic data**, zero LLM-prompted dialogues, and zero templated variations were used.
---
## π Corpus Provenance & Split
| Source Corpus | Institution | Curated Pairs | Description |
| :--- | :--- | :--- | :--- |
| **IIT Bombay English-Hindi Corpus** | CFILT, IIT Bombay | **50,000 Pairs** | Academic gold standard covering news, judicial, literature, and governmental texts |
| **AI4Bharat Samanantar** | IIT Madras / AI4Bharat | **50,000 Pairs** | Verified web & publication Indian language corpus |
| **IIT Bombay Benchmark Test Set** | CFILT, IIT Bombay | **2,502 Pairs** | Internationally accepted gold validation test suite |
| **Total Corpus** | β | **102,502 Pairs** | **13,633,518 Active Training Tokens** |
---
## π‘οΈ Rigorous Quality Control Guardrails
To prevent dataset contamination, hallucinations, and vocabulary pollution, all samples were audited through strict mathematical heuristics:
1. **Length Ratio Boundary:**
$$\quad 0.40 \le \frac{\text{len}(\text{English})}{\text{len}(\text{Hindi})} \le 2.40$$
Pairs violating this ratio were strictly pruned to eliminate incomplete or runaway translations.
2. **Script Purity & Unicode Verification:**
- English side enforced $\ge 50\%$ Latin alphabetic characters ($[A-Za-z]$).
- Hindi side enforced $\ge 40\%$ Devanagari Unicode characters ($[\u0900-\u097F]$).
3. **Hygiene & Sanitation:**
- 100% stripped of HTML tags, XML nodes, source code snippets, URLs, and file paths.
4. **Exact Cryptographic Deduplication:**
- SHA-256 hash deduplication ensuring zero repeated pairs across train and validation sets.
---
## π Repository Structure
```
ViuTranslate-Data/
βββ README.md # Official Dataset Card
βββ metadata.json # Dataset Configuration & Token Counts
β
βββ raw/ # Raw Curated Sentence Pairs (JSON)
β βββ viu_translate_100k_train.json # 100,000 Verified Academic Pairs (29.6 MB)
β βββ viu_translate_val.json # 2,502 Gold Benchmark Pairs (1.18 MB)
β
βββ Pre-tokenized Shards (.npy) # Ready-to-Train Memory-Mapped Arrays
βββ train_tokens.npy # Token IDs (int32, 54.5 MB)
βββ train_labels.npy # Loss-Masked Target Tokens (int32, 54.5 MB)
βββ train_offsets.npy # Sample Boundaries (int64, 1.6 MB)
βββ train_domains.npy # Direction Flags (int32, 0.8 MB)
βββ val_tokens.npy # Validation Tokens (int32, 2.2 MB)
βββ val_labels.npy # Validation Labels (int32, 2.2 MB)
βββ val_offsets.npy # Validation Offsets (int64, 0.04 MB)
βββ val_domains.npy # Validation Domains (int32, 0.02 MB)
```
---
## π‘ Loading the Dataset
### 1. Using Hugging Face `datasets`
```python
from datasets import load_dataset
dataset = load_dataset("ViuAI/ViuTranslate-Data", data_files={"train": "raw/viu_translate_100k_train.json"})
print("Sample 0:", dataset["train"][0])
```
### 2. Loading Pre-tokenized Memory-Mapped Shards (Fastest for Training)
```python
import numpy as np
from huggingface_hub import hf_hub_download
tokens_file = hf_hub_download(repo_id="ViuAI/ViuTranslate-Data", filename="train_tokens.npy", repo_type="dataset")
tokens = np.load(tokens_file, mmap_mode="r")
print(f"Loaded {len(tokens):,} memory-mapped tokens.")
```
---
## π Citation
```bibtex
@misc{viutranslate_data2026,
author = {ViuAI Research Team},
title = {ViuTranslate-Data: A 100% Authentic Human-Curated Parallel Corpus for English-Hindi Translation},
year = {2026},
publisher = {Hugging Face},
journal = {Hugging Face Dataset Hub},
howpublished = {\url{https://huggingface.co/datasets/ViuAI/ViuTranslate-Data}}
}
```
|