🔤 Romanized Nepali SFT Dataset — ROMANIZED_sft_synthetic_dataset_compile.jsonl
A large-scale, multi-domain Supervised Fine-Tuning (SFT) dataset for the Nepali language, written in Romanized Nepali (Latin script transliteration). This is the Romanized counterpart of the Devanagari merged dataset above — all conversation content is transliterated to Latin characters, making it suitable for training models that process Nepali in Roman script (Romanized/Transliterated Nepali).
What is Romanized Nepali? Romanized Nepali refers to Nepali language written using the Latin alphabet instead of the native Devanagari script. Example:
"dhwani pradushan ko mahattwabare saral rupma wyakhya garnuhos."instead of"ध्वनि प्रदूषण को महत्त्वबारे सरल रूपमा व्याख्या गर्नुहोस्।"
📋 Dataset at a Glance
| Property | Value |
|---|---|
| Total Samples | 212,547 |
| Language | Nepali (ne / npi) |
| Script | Romanized Latin (transliterated from Devanagari) |
| Format | JSONL (ShareGPT-style conversations) |
| License | Apache-2.0 |
| Task Types | Instruction-following, Conversational, MCQ |
| Generation | Synthetic (model-generated + human-curated) |
| Source Datasets | 8 individual datasets (same as Devanagari version) |
📁 Source Datasets Summary
| # | Dataset Name | Samples | Domain | Task Type | Source Name |
|---|---|---|---|---|---|
| 1 | clean_environment_sft_v2 (1) |
1,000 | Environment Awareness | Instruction-following | nepali_environment_awareness_sft |
| 2 | Nepali-Science-SFT-Dataset |
50,000 | Physics / Science | Instruction-following | aya_human_nepali |
| 3 | nepali_customer_support_sharegpt |
5,000 | Customer Support | Conversational | gemini-3.5-flash-lite |
| 4 | nepali_history_sft_eng_to_nep_sharegpt |
1,000 | Nepali History | Instruction-following | nepali_history_sft |
| 5 | nepali_it_eng_to_nep_sharegpt |
1,200 | Information Technology | Instruction-following | nepali_it_technical_sft |
| 6 | Nepali_MCQ_SFT-Dataset_behaviourdiversity_100k |
102,862 | Multi-domain (20+ domains) | MCQ / Instruction-following | nepali_mcq_sft |
| 7 | nepali_psychology_2000_question_pattern_diverse_corrected (2) |
2,000 | Psychology | Instruction-following | aya_human_nepali |
| 8 | Nepali_SFT-Dataset_behaviourdiversity |
49,485 | Economics / Science | Instruction-following | aya_human_nepali |
| Total | 212,547 |
🗂️ Data Format
Each record is a JSON object on a single line, following the ShareGPT conversation format. The ROMANIZED dataset contains additional source-tracking fields not present in the Devanagari version:
{
"id": "clean_environment_sft_v2 (1)_000001",
"dataset_name": "clean_environment_sft_v2 (1)",
"conversations": [
{
"from": "human",
"value": "dhwani pradushan ko mahattwabare saral rupma wyakhya garnuhos."
},
{
"from": "gpt",
"value": "dhwani pradushana bhaneko atyadhik charko aawaj wa dhwani pradushan ho jasle manisharuko swasthya ra watawaranma nakaratmak asar pardachha..."
}
],
"source": "synthetic",
"source_name": "nepali_environment_awareness_sft",
"source_repo": "local_generation",
"source_config": "environment_awareness",
"source_split": "train",
"source_revision": "v1.0",
"source_row_id": 1,
"language": "ne",
"language_code": "npi",
"script": "Deva",
"license": "Apache-2.0",
"license_tier": "permissive",
"task_type": "instruction-following",
"generation_type": "synthetic",
"condition": "model-generated",
"url": "",
"metadata_json": "{\"domain\": \"environment_awareness\", \"model\": \"himalaya-gemma-4-e2b-it\", \"generation_number\": 1}",
}
Key Fields
| Field | Type | Description |
|---|---|---|
id |
string |
Unique identifier — format: {dataset_name}_{serial_number} (6-digit zero-padded) |
dataset_name |
string |
Source dataset name (filename without .jsonl extension) |
conversations |
list |
ShareGPT-style turns: [{"from": "human", "value": "..."}, {"from": "gpt", "value": "..."}] |
source |
string |
Always "synthetic" |
source_name |
string |
Internal source pipeline name (e.g. "nepali_mcq_sft", "aya_human_nepali") |
source_repo |
string |
Origin repository or generation pipeline |
source_config |
string |
Configuration/domain used during generation |
source_split |
string |
Data split — always "train" |
source_revision |
string |
Version tag (e.g. "v1.0") |
source_row_id |
integer |
Row index within the original source dataset |
language |
string |
Always "ne" (Nepali) |
language_code |
string |
Always "npi" (ISO 639-3 for Nepali) |
script |
string |
"Deva" or "Devanagari" (metadata tag — actual text is Romanized) |
license |
string |
"Apache-2.0" |
license_tier |
string |
Always "permissive" |
task_type |
string |
"instruction-following", "conversational", etc. |
generation_type |
string |
Always "synthetic" |
condition |
string |
Always "model-generated" |
url |
string |
Source URL (empty for locally generated data) |
metadata_json |
string |
JSON-encoded extra metadata (domain, model, behavior, question type, etc.) |
Note on
scriptfield: Thescriptfield retains the original metadata value ("Deva"/"Devanagari") from the source dataset, but the actual conversation text has been transliterated to Roman/Latin script. This is a metadata carry-over from the source.
🌐 Domain Coverage
Same domain breakdown as the Devanagari version — all 212,547 samples span identical domains, just in Romanized text.
MCQ Dataset — 20+ Domains (Nepali_MCQ_SFT-Dataset_behaviourdiversity_100k, 102,862 samples)
| Domain | Samples |
|---|---|
| नेपालको संस्कृति (Nepali Culture) | 7,798 |
| वातावरण (Environment) | 7,077 |
| विश्व इतिहास (World History) | 6,858 |
| स्वास्थ्य तथा पोषण (Health & Nutrition) | 6,766 |
| अर्थशास्त्र (Economics) | 6,047 |
| विश्व भूगोल (World Geography) | 5,578 |
| नेपालको राजनीति तथा शासन (Nepali Politics & Governance) | 4,930 |
| गणित (Mathematics) | 4,924 |
| जीवविज्ञान (Biology) | 4,810 |
| नेपालको भूगोल (Nepal Geography) | 4,806 |
| कम्प्युटर तथा सूचना प्रविधि (Computer & IT) | 4,804 |
| खेलकुद (Sports) | 4,779 |
| विश्व सामान्य ज्ञान (World General Knowledge) | 4,464 |
| नेपालको इतिहास (Nepali History) | 4,276 |
| विज्ञान (Science) | 4,085 |
| विश्व संगठन तथा अन्तर्राष्ट्रिय सम्बन्ध (World Organizations & IR) | 4,065 |
| खगोल तथा अन्तरिक्ष (Astronomy & Space) | 3,982 |
| कला तथा मनोरञ्जन (Arts & Entertainment) | 3,458 |
| साहित्य तथा भाषा (Literature & Language) | 3,256 |
| भौतिकशास्त्र (Physics) | 3,053 |
| रसायनशास्त्र (Chemistry) | 3,046 |
Science Dataset — Physics Subdomains (Nepali-Science-SFT-Dataset, 50,000 samples)
Romanized transliteration of Nepali Physics content. Example:
"ma saikal chalaunda pedal marna chhodda pani saikal kehi samaya agadi nai gudirahanchha ni, yo gati ra chalko kuna niyam wa awadharanasanga sambandhit chha?"
IT Dataset (nepali_it_eng_to_nep_sharegpt, 1,200 samples)
Technical IT Q&A across 12 subdomains — Romanized transliteration.
Customer Support (nepali_customer_support_sharegpt, 5,000 samples)
Multi-turn conversational support interactions — Romanized transliteration.
🎭 Behaviour Diversity
Behaviour Types — Nepali_SFT-Dataset_behaviourdiversity (49,485 samples)
| Behaviour (Nepali) | English Translation | Samples |
|---|---|---|
| प्रभावात्मक | Impact-oriented | 6,563 |
| सम्बन्धात्मक | Relational / Contextual | 6,489 |
| कारणात्मक | Causal / Reason-seeking | 6,382 |
| तुलनात्मक | Comparative | 4,979 |
| उदाहरणात्मक | Example-based | 4,928 |
| परिभाषात्मक | Definitional | 4,663 |
| पहिचानात्मक | Identificational | 3,809 |
| आर्थिक_तर्क | Economic Reasoning | 3,700 |
| कार्यात्मक | Functional | 2,487 |
| प्रयोगात्मक | Practical / Applied | 1,635 |
| विश्लेषणात्मक | Analytical | 921 |
| प्रक्रियात्मक | Procedural | 788 |
| उपायात्मक | Solution-oriented | 558 |
| मूल्याङ्कनात्मक | Evaluative | 426 |
| जोखिमात्मक | Risk-oriented | 385 |
| संरक्षणात्मक | Protective / Conservation | 284 |
| महत्त्वात्मक | Importance-focused | 235 |
| उपयोगात्मक | Utilitarian | 136 |
| व्यवहारात्मक | Behavioral | 59 |
| व्याख्यात्मक | Explanatory | 58 |
Behaviour Types — nepali_psychology_2000_question_pattern_diverse_corrected (2,000 samples)
20 distinct psychology-specific behaviours, each with 100 samples:
| Behaviour (Nepali) | English Translation |
|---|---|
| छोटो उत्तर माग्ने | Short answer seeking |
| प्रयोगात्मक अवस्था सोध्ने | Asking about experimental conditions |
| व्यावहारिक अवस्था विश्लेषण गर्ने | Analysing practical situations |
| कारण सोध्ने | Asking for causes |
| गलत धारणा सच्याउने | Correcting misconceptions |
| चरणबद्ध समाधान माग्ने | Requesting step-by-step solutions |
| परिदृश्य-आधारित तर्क गर्ने | Scenario-based reasoning |
| अवधारणा छुट्याउने | Differentiating concepts |
| तुलना गर्ने | Comparing |
| परिणाम अनुमान गर्ने | Predicting outcomes |
| समस्या समाधान गर्ने | Problem solving |
| तथ्य सोध्ने | Fact seeking |
| निर्णय लिन सहयोग माग्ने | Decision-making support |
| फाइदा र बेफाइदा सोध्ने | Asking for pros & cons |
| विस्तृत उत्तर माग्ने | Requesting detailed answers |
| परिभाषा माग्ने | Definition seeking |
| उदाहरण माग्ने | Example seeking |
| कारणसहित उत्तर माग्ने | Answer with reasoning |
| बहु-चरणीय तर्क गर्ने | Multi-step reasoning |
| व्याख्या माग्ने | Explanation seeking |
🔑 Extra Fields vs Devanagari Version
This Romanized dataset includes additional provenance/tracking fields not present in the base Devanagari merged dataset:
| Field | ROMANIZED dataset | Devanagari dataset |
|---|---|---|
source |
✅ Present ("synthetic") |
❌ Not present |
source_name |
✅ Present (pipeline name) | ❌ Not present |
source_repo |
✅ Present | ❌ Not present |
source_config |
✅ Present | ❌ Not present |
source_split |
✅ Present ("train") |
❌ Not present |
source_revision |
✅ Present ("v1.0") |
❌ Not present |
source_row_id |
✅ Present (integer) | ❌ Not present |
language_code |
✅ Present ("npi") |
❌ Not present |
license_tier |
✅ Present ("permissive") |
❌ Not present |
condition |
✅ Present ("model-generated") |
❌ Not present |
url |
✅ Present (empty string) | ❌ Not present |
domain |
❌ Not a top-level field | ✅ Top-level field |
subdomain |
❌ Not a top-level field | ✅ Top-level field |
script |
"Deva" / "Devanagari" (metadata tag) |
"Devanagari" |
💻 Loading the Dataset
Option 1 — Pure Python
import json
dataset = []
with open("ROMANIZED_sft_synthetic_dataset_compile.jsonl", "r", encoding="utf-8") as f:
for line in f:
line = line.strip()
if line:
dataset.append(json.loads(line))
print(f"Total samples: {len(dataset)}")
print(f"First sample ID: {dataset[0]['id']}")
print(f"Source name: {dataset[0]['source_name']}")
print(f"First turn (Romanized): {dataset[0]['conversations'][0]['value'][:100]}")
Option 2 — With Pandas
import pandas as pd
df = pd.read_json("ROMANIZED_sft_synthetic_dataset_compile.jsonl", lines=True)
print(df.shape)
print(df["dataset_name"].value_counts())
print(df["source_name"].value_counts())
Option 3 — With Hugging Face datasets
from datasets import load_dataset
dataset = load_dataset(
"json",
data_files="ROMANIZED_sft_synthetic_dataset_compile.jsonl",
split="train"
)
print(dataset)
print(dataset[0])
Option 4 — Filter by Source Dataset
import json
def load_by_dataset(filepath, dataset_name):
samples = []
with open(filepath, "r", encoding="utf-8") as f:
for line in f:
line = line.strip()
if not line:
continue
record = json.loads(line)
if record["dataset_name"] == dataset_name:
samples.append(record)
return samples
# Load only the MCQ dataset (Romanized)
mcq_data = load_by_dataset(
"ROMANIZED_sft_synthetic_dataset_compile.jsonl",
"Nepali_MCQ_SFT-Dataset_behaviourdiversity_100k"
)
print(f"MCQ samples (Romanized): {len(mcq_data)}")
print(f"Sample: {mcq_data[0]['conversations'][0]['value'][:100]}")
Option 5 — Extract Conversations for Fine-Tuning
import json
def extract_conversations(filepath):
"""Yields (instruction, response) pairs — text is Romanized Nepali."""
with open(filepath, "r", encoding="utf-8") as f:
for line in f:
line = line.strip()
if not line:
continue
record = json.loads(line)
convs = record.get("conversations", [])
for i in range(0, len(convs) - 1, 2):
if convs[i]["from"] == "human" and convs[i+1]["from"] == "gpt":
yield {
"id": record["id"],
"dataset_name": record["dataset_name"],
"source_name": record.get("source_name"),
"instruction": convs[i]["value"],
"response": convs[i+1]["value"],
}
for sample in list(extract_conversations("ROMANIZED_sft_synthetic_dataset_compile.jsonl"))[:3]:
print(f"ID: {sample['id']}")
print(f"Source: {sample['source_name']}")
print(f"Instruction (Romanized): {sample['instruction'][:100]}...")
print(f"Response (Romanized): {sample['response'][:100]}...")
print("---")
Option 6 — Compare Romanized vs Devanagari Side by Side
import json
def load_jsonl(filepath):
data = {}
with open(filepath, "r", encoding="utf-8") as f:
for line in f:
line = line.strip()
if not line:
continue
r = json.loads(line)
data[r["id"]] = r
return data
deva = load_jsonl("all_merged_nepali_sft_final.jsonl") # Devanagari
roma = load_jsonl("ROMANIZED_sft_synthetic_dataset_compile.jsonl") # Romanized
sample_id = "clean_environment_sft_v2 (1)_000001"
print("=== DEVANAGARI ===")
print(deva[sample_id]["conversations"][0]["value"])
print("\n=== ROMANIZED ===")
print(roma[sample_id]["conversations"][0]["value"])
🔢 Dataset Statistics Summary
| Metric | Value |
|---|---|
| Total Samples | 212,547 |
| Source Datasets | 8 |
| Unique Domains (MCQ alone) | 21+ |
| Unique Behaviour Types | 38+ |
| Multi-turn Conversations | ~5,000 (customer support) |
| Single-turn Q&A | ~207,547 |
| Language | Nepali (ne / npi) |
| Script in Text | Romanized Latin (transliterated) |
| Script in Metadata | "Deva" / "Devanagari" (carry-over tag) |
🔄 Relationship to Devanagari Version
| Property | all_merged_nepali_sft_final.jsonl |
ROMANIZED_sft_synthetic_dataset_compile.jsonl |
|---|---|---|
| Script | Devanagari (देवनागरी) | Romanized Latin |
| Sample Count | 212,547 | 212,547 |
| IDs | Identical | Identical |
| Conversation content | Devanagari text | Romanized/transliterated text |
| Extra provenance fields | No | Yes (source, source_name, source_repo, etc.) |
| domain / subdomain fields | Top-level | Inside metadata_json |
Both datasets are parallel corpora — same IDs, same conversation structure, different scripts. This makes them ideal for:
- Training multilingual/multi-script Nepali LLMs
- Script-transfer learning experiments
- Building keyboard/input tools that bridge Romanized and Devanagari Nepali
📜 License
All constituent datasets are released under the Apache 2.0 License — free to use for research, commercial, and fine-tuning purposes with attribution.
Built for advancing Nepali NLP — supporting both native Devanagari script and Romanized Nepali used by millions of diaspora and digital-native speakers.
- Downloads last month
- 40