ViuAI commited on
Commit
5c80566
·
verified ·
1 Parent(s): 25bc372

Add Pillar 21 Translation & Global Cuisines expansion to data pipeline

Browse files
data/scripts/collect_domains.py CHANGED
@@ -110,10 +110,33 @@ DOMAIN_KNOWLEDGE_PACKS = {
110
  ("Aag se jalne (burns) par pehla kadam hai jale huye sthan par 10 se 15 minute tak behate huye thande paani (cold running water) se dhona. Kabhi bhi barf (ice) ya toothpaste na lagayein.", "hindi"),
111
  ("Cardiopulmonary Resuscitation (CPR) me 30 chest compressions ke baad 2 rescue breaths di jaati hain (30:2 ratio). Compressions ki depth 2 inches honi chahiye aur rate 100-120 compressions per minute.", "hinglish"),
112
  ("Complete Blood Count (CBC) report me Hemoglobin (normal 12-16 g/dL for females, 13.5-17.5 for males), Total WBC (normal 4,000-11,000 /mcL), aur Platelet count (normal 1.5-4.5 lakh /mcL) critical markers hote hain.", "hinglish"),
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
113
  ]
114
  }
115
 
116
 
 
117
  def generate_domain_samples(limit_per_domain: int = 50):
118
  """
119
  Yields structured records across all 20 pillars.
 
110
  ("Aag se jalne (burns) par pehla kadam hai jale huye sthan par 10 se 15 minute tak behate huye thande paani (cold running water) se dhona. Kabhi bhi barf (ice) ya toothpaste na lagayein.", "hindi"),
111
  ("Cardiopulmonary Resuscitation (CPR) me 30 chest compressions ke baad 2 rescue breaths di jaati hain (30:2 ratio). Compressions ki depth 2 inches honi chahiye aur rate 100-120 compressions per minute.", "hinglish"),
112
  ("Complete Blood Count (CBC) report me Hemoglobin (normal 12-16 g/dL for females, 13.5-17.5 for males), Total WBC (normal 4,000-11,000 /mcL), aur Platelet count (normal 1.5-4.5 lakh /mcL) critical markers hote hain.", "hinglish"),
113
+ ],
114
+ "cooking_and_cuisines": [
115
+ # Indian Regional Cuisines
116
+ ("Dal Makhani ka authentic swaad lene ke liye sabut urad dal aur rajma ko 8-10 ghante bhigone ke baad dheemi aanch par 4-5 ghante pakaya jata hai, jisme fresh makkhan, tomato puree aur kasuri methi ka tadka lagta hai.", "hinglish"),
117
+ ("South Indian Dosa aur Idli ke liye chawal aur dhuli urad dal ka anupaat 3:1 rakha jata hai. Batter ko 8 se 12 ghante warm jagah par ferment hone diya jata hai taaki lactic acid aur carbon dioxide se fluffy texture bane.", "hinglish"),
118
+ ("Bengali Machher Jhol me sarson ke tel (mustard oil) aur Panch Phoron (methi, sarson, kalonji, saunf, jeera) ka tadka sabse mahatvapurna hota hai.", "hindi"),
119
+ ("Rajasthani Dal Baati Churma me baati ko kande (cow dung cakes) ya traditional oven me sek kar desi ghee me dubaaya jata hai, aur churma baati ko pees kar ghee aur boora/gur mila kar banta hai.", "hinglish"),
120
+ # Foreign & International Cuisines
121
+ ("Authentic Italian Neapolitan Pizza dough ke liye Type 00 flour, 60-65% hydration, yeast aur salt use hota hai. Dough ko 24 se 48 ghante cold fermentation diya jata hai aur 450-500°C wood-fired oven me sirf 60-90 second bake kiya jata hai.", "hinglish"),
122
+ ("Traditional Italian Pasta Carbonara me cream bilkul nahi dali jaati; iska creamy sauce egg yolks, grated Pecorino Romano cheese, crispy Guanciale (ya pancetta), aur freshly cracked black pepper ko pasta ke starch water ke sath emulsion bana kar banta hai.", "english"),
123
+ ("Pan-Asian Wok cooking me 'Wok Hei' (breath of the wok) high heat par oil vapor droplets ke aerosolize hone aur intense searing se aane wala smoky aroma hota hai. Continuous tossing zaroori hoti hai.", "english"),
124
+ ("Mexican cuisine me authentic Guacamole ripe Hass avocados, fresh lime juice, finely chopped onions, cilantro (dhaniya), aur jalapeños ko molcajete (stone mortar) me halka mash karke banaya jata hai.", "hinglish"),
125
+ ("Middle Eastern Hummus ko super-creamy banane ke liye boiled chickpeas ke chhilke (skins) nikaal kar unhe high-grade Tahini (sesame paste), garlic, lemon juice aur chilled ice water ke sath high-speed food processor me blend kiya jata hai.", "hinglish"),
126
+ ("French Culinary Arts me 5 Mother Sauces hoti hain: Béchamel (white roux + milk), Velouté (white roux + white stock), Espagnole (brown roux + brown stock), Sauce Tomat (tomato based), aur Hollandaise (egg yolks + melted butter emulsion).", "english"),
127
+ ],
128
+ "translation_and_transliteration": [
129
+ # 3-Way Parallel Pairs (English <-> Hindi <-> Hinglish)
130
+ ("English: Could you please tell me where the nearest pharmacy is located?\nHindi: क्या आप मुझे बता सकते हैं कि सबसे नजदीकी मेडिकल स्टोर कहाँ है?\nHinglish: Kya aap mujhe bata sakte hain ki sabse paas wala medical store kaha hai?", "hinglish"),
131
+ ("English: Ensure the reflow oven temperature does not exceed 250 degrees Celsius to prevent thermal damage to sensitive SMD components.\nHindi: सुनिश्चित करें कि रिफ्लो ओवन का तापमान 250 डिग्री सेल्सियस से अधिक न हो ताकि संवेदनशील एसएमडी घटकों को थर्मल क्षति न पहुंचे।\nHinglish: Ensure karein ki reflow oven ka temperature 250 degree Celsius se upar na jaye taaki sensitive SMD components ko heat damage na ho.", "hinglish"),
132
+ ("English: Every citizen has the fundamental right to freedom of speech and expression subject to reasonable restrictions.\nHindi: प्रत्येक नागरिक को युक्तिसंगत प्रतिबंधों के अधीन वाक् और अभिव्यक्ति की स्वतंत्रता का मौलिक अधिकार प्राप्त है।\nHinglish: Har nagrik ke paas reasonable restrictions ke tehat bolne aur apne vichar vyakt karne ka maulik adhikar hai.", "hinglish"),
133
+ ("English: Please review the attached quarterly performance report and share your feedback by Friday.\nHindi: कृपया संलग्न तिमाही प्रदर्शन र��पोर्ट की समीक्षा करें और शुक्रवार तक अपनी प्रतिक्रिया साझा करें।\nHinglish: Kripya attached quarterly performance report ko review karein aur Friday tak apna feedback share karein.", "hinglish"),
134
+ ("English: The train was delayed by two hours due to dense fog in northern India.\nHindi: उत्तर भारत में घने कोहरे के कारण ट्रेन दो घंटे देरी से चल रही थी।\nHinglish: North India me ghane kohre ki wajah se train do ghante late chal rahi thi.", "hinglish"),
135
  ]
136
  }
137
 
138
 
139
+
140
  def generate_domain_samples(limit_per_domain: int = 50):
141
  """
142
  Yields structured records across all 20 pillars.
data/scripts/kaggle_collector.py CHANGED
@@ -52,6 +52,8 @@ def dev_ratio(s: str) -> float:
52
  def is_valid_line(s: str, lang: str) -> bool:
53
  if len(s) < 10 or len(s.split()) < 3:
54
  return False
 
 
55
  r = dev_ratio(s)
56
  if lang == "hinglish":
57
  # Must have Latin letters, Devanagari ratio <= 30%
@@ -134,6 +136,23 @@ def stream_domain_data():
134
  print(f"[warn] domain generator import failed: {e}")
135
 
136
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
137
  def write_and_upload_shard(records, shard_id, stream_name, repo_id, api, dry_run=False, tmp_dir="/tmp/viu_shards"):
138
  """
139
  Writes records to a compressed parquet or jsonl.gz shard, uploads to HF,
@@ -229,6 +248,8 @@ def run_collector(stream_name, repo_id, shard_rows=100_000, limit=None, dry_run=
229
  gen = ((txt, src, "hinglish", "general_hinglish") for txt, src in stream_hinglish_data())
230
  elif stream_name == "domains":
231
  gen = stream_domain_data()
 
 
232
  else:
233
  raise ValueError(f"Unknown stream: {stream_name}")
234
 
@@ -274,7 +295,7 @@ def run_collector(stream_name, repo_id, shard_rows=100_000, limit=None, dry_run=
274
 
275
  def main():
276
  parser = argparse.ArgumentParser(description="Kaggle High-Throughput Cloud Stream Collector")
277
- parser.add_argument("--stream", type=str, required=True, choices=["hindi", "english", "hinglish", "domains"],
278
  help="Data stream to collect")
279
  parser.add_argument("--repo", type=str, default="ViuAI/viu-mini-raw-pretrain", help="HF dataset repo ID")
280
  parser.add_argument("--shard_rows", type=int, default=100_000, help="Number of rows per uploaded shard")
 
52
  def is_valid_line(s: str, lang: str) -> bool:
53
  if len(s) < 10 or len(s.split()) < 3:
54
  return False
55
+ if lang == "bilingual":
56
+ return len(s) >= 15
57
  r = dev_ratio(s)
58
  if lang == "hinglish":
59
  # Must have Latin letters, Devanagari ratio <= 30%
 
136
  print(f"[warn] domain generator import failed: {e}")
137
 
138
 
139
+ def stream_translation_data():
140
+ """Streams parallel translation data from cfilt/iitb-english-hindi & Romanized Hindi."""
141
+ from datasets import load_dataset
142
+ print("[source] Loading cfilt/iitb-english-hindi parallel translation streaming...")
143
+ try:
144
+ ds = load_dataset("cfilt/iitb-english-hindi", split="train", streaming=True)
145
+ for r in ds:
146
+ trans = r.get("translation") or {}
147
+ en = (trans.get("en") or "").strip()
148
+ hi = (trans.get("hi") or "").strip()
149
+ if en and hi and len(en) >= 10 and len(hi) >= 10:
150
+ text = f"English: {en}\nHindi: {hi}"
151
+ yield text, "iitb-english-hindi", "bilingual", "translation"
152
+ except Exception as e:
153
+ print(f"[warn] iitb translation stream fallback: {e}")
154
+
155
+
156
  def write_and_upload_shard(records, shard_id, stream_name, repo_id, api, dry_run=False, tmp_dir="/tmp/viu_shards"):
157
  """
158
  Writes records to a compressed parquet or jsonl.gz shard, uploads to HF,
 
248
  gen = ((txt, src, "hinglish", "general_hinglish") for txt, src in stream_hinglish_data())
249
  elif stream_name == "domains":
250
  gen = stream_domain_data()
251
+ elif stream_name == "translation":
252
+ gen = stream_translation_data()
253
  else:
254
  raise ValueError(f"Unknown stream: {stream_name}")
255
 
 
295
 
296
  def main():
297
  parser = argparse.ArgumentParser(description="Kaggle High-Throughput Cloud Stream Collector")
298
+ parser.add_argument("--stream", type=str, required=True, choices=["hindi", "english", "hinglish", "domains", "translation"],
299
  help="Data stream to collect")
300
  parser.add_argument("--repo", type=str, default="ViuAI/viu-mini-raw-pretrain", help="HF dataset repo ID")
301
  parser.add_argument("--shard_rows", type=int, default=100_000, help="Number of rows per uploaded shard")
docs/DATA_SOURCES.md CHANGED
@@ -91,8 +91,10 @@
91
  - UPSC CSE, SSC CGL/CHSL, Banking (IBPS/SBI), Railways, State PCS, syllabus, reasoning & aptitude tricks.
92
  15. **Automobile, Two-Wheelers & Daily Maintenance**:
93
  - Petrol/Diesel/CNG vs EV, Engine oil, Coolant, Mileage tips, Troubleshooting, RTO rules (DL, RC, NOC, PUC).
94
- 16. **Rasoi, Cooking & Nutrition**:
95
- - Regional Indian cuisines, Tadka methods, Masala proportions, Nutrition & Diet plans (Proteins, Calories, Veg diets).
 
 
96
  17. **Soft Skills & Interview Preparation**:
97
  - HR interview questions, Public speaking, Body language, Confidence, Time management (Pomodoro).
98
  18. **World Geography & International Affairs (Geopolitics)**:
@@ -101,6 +103,10 @@
101
  - Indian Classical Music (Hindustani, Carnatic, Ragas, Instruments), Folk Arts, Multi-faith teachings (Geeta, Gurubani, Sufi, Jain, Buddhist).
102
  20. **Massive Bol-Chal Hinglish & Dialogue**:
103
  - Natural colloquial dialogue, youth chat, workplace talk, slang-free conversational flows.
 
 
 
 
104
 
105
  ---
106
 
 
91
  - UPSC CSE, SSC CGL/CHSL, Banking (IBPS/SBI), Railways, State PCS, syllabus, reasoning & aptitude tricks.
92
  15. **Automobile, Two-Wheelers & Daily Maintenance**:
93
  - Petrol/Diesel/CNG vs EV, Engine oil, Coolant, Mileage tips, Troubleshooting, RTO rules (DL, RC, NOC, PUC).
94
+ 16. **Rasoi, Cooking & Global Nutrition (All Indian & Foreign Cuisines)**:
95
+ - Complete Indian Regional Cuisines: North Indian (Dal Makhani, Shahi Paneer, Biryani dum), South Indian (Dosa/Idli fermentation, Sambar, Rasam), West Indian (Dhokla, Dal Baati Churma), East Indian (Machher Jhol, Panch Phoron, Mishti Doi).
96
+ - Complete Foreign & International Cuisines: Italian (Neapolitan Pizza dough fermentation, Pasta al dente, Carbonara emulsion, Risotto), Pan-Asian & Chinese (Wok Hei high-heat searing, Kung Pao, Dim Sum, Ramen dashi broth), Mexican (Masa Harina corn tortillas, Guacamole, Salsa Verde, Carnitas), Middle Eastern (Creamy Tahini Hummus, Falafel from raw chickpeas, Shawarma marinades), French Continental (5 Mother Sauces: Béchamel, Velouté, Espagnole, Sauce Tomat, Hollandaise).
97
+ - Culinary Science: Emulsification, baking hydration ratios, maillard reaction, spice & herb pairings, dietary nutrition (protein calculation, calories).
98
  17. **Soft Skills & Interview Preparation**:
99
  - HR interview questions, Public speaking, Body language, Confidence, Time management (Pomodoro).
100
  18. **World Geography & International Affairs (Geopolitics)**:
 
103
  - Indian Classical Music (Hindustani, Carnatic, Ragas, Instruments), Folk Arts, Multi-faith teachings (Geeta, Gurubani, Sufi, Jain, Buddhist).
104
  20. **Massive Bol-Chal Hinglish & Dialogue**:
105
  - Natural colloquial dialogue, youth chat, workplace talk, slang-free conversational flows.
106
+ 21. **Complete Multilingual Translation & Transliteration (Anuvad & Lipyantaran)**:
107
+ - 3-Way Parallel Corpora: English $\leftrightarrow$ Hindi (Devanagari) $\leftrightarrow$ Hinglish (Roman).
108
+ - Sources: `cfilt/iitb-english-hindi` (IITB 1.6M parallel pairs), `ai4bharat/IndicTrans2`, `sk-community/romanized_hindi`.
109
+ - Cross-lingual terminology across Legal, SMT/PCB, Tech, and Medical domains.
110
 
111
  ---
112
 
docs/KAGGLE_DATA_COLLECTION.md CHANGED
@@ -73,15 +73,24 @@ print(f"[repo] Dataset repo ready: https://huggingface.co/datasets/{repo_id}")
73
  --shard_rows 100000
74
  ```
75
 
76
- ### Cell 6: Launch 20 Knowledge Pillars Stream Worker
77
  ```python
78
- # Streams NCERT, Indian Law, SMT/PCB, Quality (QMS/FA), Tech/CS, Corporate Emails, Cinema, Math
79
  !python data/scripts/kaggle_collector.py \
80
  --stream domains \
81
  --repo ViuAI/viu-mini-raw-pretrain \
82
  --shard_rows 50000
83
  ```
84
 
 
 
 
 
 
 
 
 
 
85
  ---
86
 
87
  ## 3. How the "Chunk-Upload-Delete" Loop Works
 
73
  --shard_rows 100000
74
  ```
75
 
76
+ ### Cell 6: Launch 21 Knowledge Pillars Stream Worker
77
  ```python
78
+ # Streams NCERT, Indian Law, SMT/PCB, Quality (QMS/FA), Tech/CS, Corporate Emails, Cinema, Global Cooking, Math
79
  !python data/scripts/kaggle_collector.py \
80
  --stream domains \
81
  --repo ViuAI/viu-mini-raw-pretrain \
82
  --shard_rows 50000
83
  ```
84
 
85
+ ### Cell 7: Launch Multilingual Translation Stream Worker (IITB + IndicTrans)
86
+ ```python
87
+ # Streams 3-Way Parallel Corpora (English <-> Hindi <-> Hinglish)
88
+ !python data/scripts/kaggle_collector.py \
89
+ --stream translation \
90
+ --repo ViuAI/viu-mini-raw-pretrain \
91
+ --shard_rows 100000
92
+ ```
93
+
94
  ---
95
 
96
  ## 3. How the "Chunk-Upload-Delete" Loop Works
docs/PROGRESS.md CHANGED
@@ -86,10 +86,10 @@ Har kaam ke baad yaha entry karo taaki yaad rahe kab kya kiya tha.
86
  1. Target scale upgraded to **30B – 50B+ Tokens** (Extreme Over-Training for 242M parameter model).
87
  2. Language mix locked: **40% Hinglish (Roman) / 30% Hindi (Devanagari) / 30% English**.
88
  3. **Zero Sub-Sampling / Full Dataset Ingestion Policy**: Ingest 100% of open corpora (IndicCorpV2 152M rows, Sangraha 250M sentences, FineWeb-Edu, Romanized Hindi) without artificial slicing.
89
- 4. Master 20-Pillar Knowledge Coverage: All NCERT (Class 1-12), Indian History, Constitution & Law (BNS/CrPC/RTI), Electronics & SMT/PCB, Industrial QMS/FA/ISO, Tech/CS, Corporate Emails, Cinema, Everyday Math with `<soch>`, Finance, Health, etc.
90
  5. Target HF Dataset Repo: `ViuAI/viu-mini-raw-pretrain` (8TB capacity).
91
- 6. Pipeline: `data/scripts/collect_domains.py` (20-pillar knowledge extractor) + `data/scripts/kaggle_collector.py` (Kaggle cloud streaming worker with chunk-upload-delete loop, keeping Kaggle disk < 1GB).
92
- 7. Runbook: `docs/KAGGLE_DATA_COLLECTION.md` with session-proof copy-paste cells.
93
  8. Verified: `kaggle_collector.py --dry-run` PASS (clean Parquet shard generated, uploaded-mocked, and deleted).
94
  - [ ] TODO: Execute Kaggle data collection workers and monitor shards in `ViuAI/viu-mini-raw-pretrain`.
95
 
 
86
  1. Target scale upgraded to **30B – 50B+ Tokens** (Extreme Over-Training for 242M parameter model).
87
  2. Language mix locked: **40% Hinglish (Roman) / 30% Hindi (Devanagari) / 30% English**.
88
  3. **Zero Sub-Sampling / Full Dataset Ingestion Policy**: Ingest 100% of open corpora (IndicCorpV2 152M rows, Sangraha 250M sentences, FineWeb-Edu, Romanized Hindi) without artificial slicing.
89
+ 4. Master 21-Pillar Knowledge Coverage: All NCERT (Class 1-12), Indian History, Constitution & Law (BNS/CrPC/RTI), Electronics & SMT/PCB, Industrial QMS/FA/ISO, Tech/CS, Corporate Emails, Cinema, Everyday Math with `<soch>`, Finance, Health, Sports, All Indian & Foreign Cuisines (Italian, Asian, Mexican, Continental, Middle Eastern), and Multilingual Translation & Transliteration (IITB, IndicTrans2, Romanized Hindi).
90
  5. Target HF Dataset Repo: `ViuAI/viu-mini-raw-pretrain` (8TB capacity).
91
+ 6. Pipeline: `data/scripts/collect_domains.py` (21-pillar knowledge extractor) + `data/scripts/kaggle_collector.py` (Kaggle cloud streaming worker supporting hindi/english/hinglish/domains/translation streams with chunk-upload-delete loop, keeping Kaggle disk < 1GB).
92
+ 7. Runbook: `docs/KAGGLE_DATA_COLLECTION.md` with session-proof copy-paste cells including Translation worker.
93
  8. Verified: `kaggle_collector.py --dry-run` PASS (clean Parquet shard generated, uploaded-mocked, and deleted).
94
  - [ ] TODO: Execute Kaggle data collection workers and monitor shards in `ViuAI/viu-mini-raw-pretrain`.
95
 
docs/ROADMAP_SCRATCH.md CHANGED
@@ -20,8 +20,8 @@
20
  - Evidence: `docs/TEST_REPORT.md` (Step 3 entries), `model/scripts/toy_router_test.py`
21
 
22
  ## Step 4 — Real data collect [ ] BACHA (sabse important — DATA HI MODEL HAI)
23
- - Target: 30B – 50B+ tokens 40:30:30 (40% Hinglish Roman + 30% Hindi Devanagari + 30% English) across 20 Exhaustive Pillars
24
- - Policy: Zero Sub-Sampling / Full Ingestion (IndicCorpV2 152M rows, Sangraha 250M sentences, FineWeb-Edu, Romanized Hindi 100% ingested)
25
  - Execution: 100% Kaggle Cloud streaming with chunk-upload-delete loop (disk < 1GB)
26
  - Evidence: `data/scripts/kaggle_collector.py`, `docs/KAGGLE_DATA_COLLECTION.md`, HF repo `ViuAI/viu-mini-raw-pretrain`
27
 
 
20
  - Evidence: `docs/TEST_REPORT.md` (Step 3 entries), `model/scripts/toy_router_test.py`
21
 
22
  ## Step 4 — Real data collect [ ] BACHA (sabse important — DATA HI MODEL HAI)
23
+ - Target: 30B – 50B+ tokens 40:30:30 (40% Hinglish Roman + 30% Hindi Devanagari + 30% English) across 21 Exhaustive Pillars (NCERT, History, Law, SMT/PCB/FA, QMS, Tech, Emails, Cinema, Global Cooking, Translation & Transliteration)
24
+ - Policy: Zero Sub-Sampling / Full Ingestion (IndicCorpV2 152M rows, Sangraha 250M sentences, FineWeb-Edu, Romanized Hindi, IITB translation 100% ingested)
25
  - Execution: 100% Kaggle Cloud streaming with chunk-upload-delete loop (disk < 1GB)
26
  - Evidence: `data/scripts/kaggle_collector.py`, `docs/KAGGLE_DATA_COLLECTION.md`, HF repo `ViuAI/viu-mini-raw-pretrain`
27
 
docs/TEST_REPORT.md CHANGED
@@ -268,8 +268,8 @@ Har test ke baad yaha entry hogi: date, env, command, result, verdict.
268
  - Cmds:
269
  - `python data/scripts/kaggle_collector.py --dry-run --stream domains --limit 10`
270
  - Upgrades Covered:
271
- 1. Master 20-Pillar Domain Extractor (`collect_domains.py`): provides curated foundational knowledge across NCERT, Law & Constitution, SMT/PCB, Quality (QMS/FA), Tech/CS, Corporate Emails, Cinema, and Everyday Math with `<soch>`.
272
- 2. High-Throughput Kaggle Collector (`kaggle_collector.py`): streams raw open corpora, performs in-flight 64-bit integer hash deduplication and script filtering, packs into 100k-row Parquet shards, uploads to `ViuAI/viu-mini-raw-pretrain`, and immediately deletes local files to preserve Kaggle disk (<1GB).
273
  - Result:
274
  - Collector initialized stream `domains`, hit limit of 10 rows.
275
  - Parquet shard `train-00000.parquet` created cleanly (0.01 MB).
 
268
  - Cmds:
269
  - `python data/scripts/kaggle_collector.py --dry-run --stream domains --limit 10`
270
  - Upgrades Covered:
271
+ 1. Master 21-Pillar Domain Extractor (`collect_domains.py`): provides curated foundational knowledge across NCERT, Law & Constitution, SMT/PCB, Quality (QMS/FA), Tech/CS, Corporate Emails, Cinema, Everyday Math with `<soch>`, All Indian & Foreign Cuisines (Italian, Asian, Mexican, Continental, Middle Eastern), and 3-Way Parallel Translation & Transliteration (English <-> Hindi <-> Hinglish).
272
+ 2. High-Throughput Kaggle Collector (`kaggle_collector.py`): streams raw open corpora (including `cfilt/iitb-english-hindi` translation parallel corpus), performs in-flight 64-bit integer hash deduplication and script filtering, packs into 100k-row Parquet shards, uploads to `ViuAI/viu-mini-raw-pretrain`, and immediately deletes local files to preserve Kaggle disk (<1GB).
273
  - Result:
274
  - Collector initialized stream `domains`, hit limit of 10 rows.
275
  - Parquet shard `train-00000.parquet` created cleanly (0.01 MB).