PashtoNanoChat / README.md
nassimjp's picture
Create README.md
089415f verified
|
Raw
History Blame Contribute Delete
2.17 kB
metadata
dataset_name: PashtoNanoChat
language:
  - ps
tags:
  - pashto
  - dialogue
  - chatbot
  - nlp
license: apache-2.0

PashtoNanoChat

High‑quality Pashto conversational dataset designed for chatbot training, dialogue modeling, and Pashto LLM alignment.
This dataset contains structured Pashto chat pairs in OpenAI/Ministral message format.

Dataset Summary

PashtoNanoChat provides clean Pashto dialogues formatted as:

{
  "messages": [
    {"role": "user", "content": "..."},
    {"role": "assistant", "content": "..."}
  ]
}

The dataset is suitable for:

  • Pashto chatbots
  • Instruction‑tuned LLMs
  • Dialogue agents
  • Cultural alignment
  • Low‑resource NLP research

Data Format

Each entry contains:

Field Description
messages List of chat turns
role "user" or "assistant"
content Pashto text

Example:

{
  "messages": [
    {"role": "user", "content": "سلام، څنګه یې؟"},
    {"role": "assistant", "content": "زه ښه یم، مننه! څنګه مرسته درسره وکړم؟"}
  ]
}

Usage

Load with datasets

from datasets import load_dataset
ds = load_dataset("nassimjp/PashtoNanoChat")

Training Example (Ministral / OpenAI format)

tokenizer.apply_chat_template(
    example["messages"],
    tokenize=True,
    add_generation_prompt=False
)

License — Apache License 2.0

Copyright 2026 NASIMJP

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this dataset except in compliance with the License. You may obtain a copy of the License at:

http://www.apache.org/licenses/LICENSE-2.0 (apache.org in Bing)

Unless required by applicable law or agreed to in writing, data distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. ```