nassimjp/Bilingual-SFT-2.0-Pashto-English-Aligned
Bilingual SFT 2.0 â Pashto English Aligned đŚđŤđŹđ§ Bilingual-SFT-2.0-Pashto-English-Aligned is a bilingual supervised fine-tuning dataset designed to improve Large Language Models (LLMs) in Pashto â English understanding, instruction following, conversation, and bilingual generation. The dataset uses a conversational messages format and is intended for modern instruction-tuning pipelines, including Hugging Face Transformers, TRL, Unsloth, Axolotl, and other SFT frameworks.⌠See the full description on the dataset page: https://huggingface.co/datasets/nassimjp/Bilingual-SFT-2.0-Pashto-English-Aligned.
Bilingual SFT 2.0 â Pashto English Aligned đŚđŤđŹđ§
Bilingual-SFT-2.0-Pashto-English-Aligned is a bilingual supervised fine-tuning dataset designed to improve Large Language Models (LLMs) in Pashto â English understanding, instruction following, conversation, and bilingual generation.
The dataset uses a conversational messages format and is intended for modern instruction-tuning pipelines, including Hugging Face Transformers, TRL, Unsloth, Axolotl, and other SFT frameworks.
đŻ Purpose
The main goal of this dataset is to help language models:
- Understand Pashto instructions and questions
- Generate natural Pashto responses
- Understand English instructions and questions
- Generate English responses
- Handle Pashto â English bilingual interactions
- Improve instruction-following behavior
- Improve conversational alignment
- Support Pashto as a low-resource language in modern LLM training
The dataset is particularly useful for models being adapted from primarily English or multilingual foundations toward stronger Pashto-English bilingual capability.
đ Languages
The dataset is designed for bilingual training rather than English-only or Pashto-only instruction tuning.
đŚ Dataset Format
Each example follows a standard conversational structure:
{
"messages": [
{
"role": "user",
"content": "ŮžÚŘŞŮ Úب٠Ú
Ů ÚŮŮ Úب٠دŮŘ"
},
{
"role": "assistant",
"content": "ŮžÚŘŞŮ ŘŻ ŮŮد٠اعŮٞاŮŮ Úب٠د ÚŠŮŘąŮŰ ŰŮŮ Úب٠د٠ا٠د اŰعاŮŮ Úب٠ŮŮ ÚŮŰ Ú
ŘŽŮ Ř´Ů
Űع٠ڊŰÚŮ."
}
]
}English examples can use the same structure:
{
"messages": [
{
"role": "user",
"content": "What is Pashto?"
},
{
"role": "assistant",
"content": "Pashto is an Indo-European language belonging to the Iranian branch."
}
]
}Bilingual examples may also contain interactions where the user and assistant use different languages.
đ§ą Dataset Structure
The primary field is:
The format is compatible with common chat-based SFT pipelines.
đ§ Intended Uses
This dataset can be used for:
Pashto LLM Fine-Tuning
- Pashto instruction tuning
- Pashto conversational training
- Pashto-English bilingual models
- Pashto language adaptation
- Low-resource language alignment
English â Pashto Tasks
- Bilingual question answering
- Translation-oriented instruction following
- Cross-lingual understanding
- Bilingual dialogue
- Multilingual reasoning
AI Assistants
The conversational structure makes the dataset suitable for training:
- Chatbots
- Personal assistants
- Educational assistants
- Pashto AI assistants
- Bilingual customer-support systems
- Local/offline language models
đ Loading the Dataset
Load the dataset with Hugging Face datasets:
from datasets import load_dataset
dataset = load_dataset(
"nassimjp/Bilingual-SFT-2.0-Pashto-English-Aligned"
)For the training split:
dataset = load_dataset(
"nassimjp/Bilingual-SFT-2.0-Pashto-English-Aligned",
split="train"
)đ§ Example SFT Preparation
The messages structure can be passed through the tokenizer's chat template:
def format_chat(example):
return {
"text": tokenizer.apply_chat_template(
example["messages"],
tokenize=False,
add_generation_prompt=False
)
}
dataset = dataset.map(format_chat)This makes the dataset suitable for many modern SFT training pipelines.
⥠Unsloth
The dataset can be used with Unsloth-based supervised fine-tuning workflows.
Example:
from datasets import load_dataset
dataset = load_dataset(
"nassimjp/Bilingual-SFT-2.0-Pashto-English-Aligned",
split="train"
)The messages format can then be used with the appropriate chat template for the base model.
đ¤ Recommended Training
This dataset is intended for Supervised Fine-Tuning (SFT) rather than continual pretraining.
Recommended workflow:
Base LLM
â
Bilingual SFT 2.0
â
Pashto-English Instruction Tuning
â
Evaluation
â
Optional domain-specific adaptersFor best results, combine this dataset with high-quality Pashto conversational, instructional, mathematical, technical, literary, and domain-specific datasets.
đ§š Data Quality
The dataset is intended to provide structured, model-ready conversational examples.
Recommended quality practices when extending or rebuilding the dataset include:
- Unicode normalization
- Pashto character preservation
- Duplicate removal
- Empty-example removal
- Language verification
- Conversation validation
- Instruction/response consistency checks
- English leakage detection
- Pashto orthography checks
- Length filtering
- Repeated-example detection
Special attention should be given to Pashto-specific characters such as:
Ůź Ú Ú Ú Ú Ú
Ú Úź ÚŤ
These characters are important for accurate Pashto representation and tokenizer coverage.
đ Training Applications
This dataset can be used as one component of a broader Pashto AI training ecosystem.
Possible applications include:
- Pashto foundation-model adaptation
- Pashto SFT
- Bilingual SFT
- Chat alignment
- Instruction following
- Cross-lingual transfer
- Pashto tokenizer evaluation
- Pashto-English model evaluation
- Local and offline AI assistants
â ď¸ Limitations
As with any automatically collected or transformed instruction dataset, users should independently evaluate:
- Translation accuracy
- Linguistic quality
- Cultural appropriateness
- Factual correctness
- Duplicate or near-duplicate examples
- Biases inherited from source datasets
- Distribution between Pashto and English
The dataset should not be treated as a replacement for native-speaker evaluation.
For production systems, additional human review and task-specific evaluation are recommended.
đ License
This dataset is released under the Apache License 2.0.
Users should also verify the licensing and attribution requirements of any external datasets or source material incorporated into future versions of the dataset.
đ Citation
If you use this dataset in research or model training, please cite:
@dataset{bilingual_sft_2_pashto_english_2026,
author = {Nasibullah Nassim},
title = {Bilingual SFT 2.0 â Pashto English Aligned},
year = {2026},
publisher = {Hugging Face},
url = {https://huggingface.co/datasets/nassimjp/Bilingual-SFT-2.0-Pashto-English-Aligned}
}đ¤ Author
Nasibullah Nassim (Nassim JP)
Pashto AI Research & Development
Hugging Face: nassimjp
Project: iPashto.ai
đ¤ Contributions
Contributions that improve Pashto-English bilingual AI are welcome.
Useful contributions include:
- High-quality native Pashto examples
- Better bilingual alignment
- Duplicate detection
- Translation verification
- Pashto linguistic corrections
- Dataset quality evaluation
- Additional instruction categories
- Better bilingual benchmarks
đ Related Pashto AI Resources
This dataset is part of a broader effort to build open Pashto NLP resources, including conversational datasets, instruction datasets, parallel corpora, and continual-pretraining corpora.
Examples of related resources include:
nassimjp/pashto-dialoguenassimjp/instruct_pashtonassimjp/english_pashto_parallel-corpusnassimjp/pashto-cpt-corpusnassimjp/pashto_open-perfectblend
The broader objective is to make high-quality Pashto data available for modern open-source AI models.
â Summary
Bilingual SFT 2.0 â Pashto English Aligned provides a conversational foundation for adapting language models toward stronger Pashto-English bilingual instruction following and dialogue.
It is designed to be:
- đŚđŤ Pashto-aware
- đŹđ§ English-compatible
- đŹ Conversation-ready
- đ§ SFT-ready
- đ¤ LLM-friendly
- đ§ Compatible with modern training frameworks
- đ Useful for low-resource multilingual AI research
Pashto + English â one bilingual training foundation.
