amkyawdev's picture
docs: rewrite README โ€” focus on Myanmar Coder LLM purpose, document 4M bilingual data
ca1f4fc verified
metadata
license: apache-2.0
language:
  - my
  - en
task_categories:
  - text-generation
  - question-answering
tags:
  - code
  - coding
  - myanmar
  - burmese
  - llm
  - instruction-tuning
  - conversational
size_categories:
  - 1M<n<10M
configs:
  - config_name: default
    data_files:
      - split: train
        path: data/train-*

๐Ÿ‡ฒ๐Ÿ‡ฒ Myanmar LLM Coder Dataset (mm-llm-coder-dataset)

License Rows Languages Format

แ€™แ€ผแ€”แ€บแ€™แ€ฌแ€˜แ€ฌแ€žแ€ฌ Coding LLM แ€™แ€ปแ€ฌแ€ธ training แ€กแ€แ€ฝแ€€แ€บ แ€›แ€Šแ€บแ€›แ€ฝแ€šแ€บแ€‘แ€ฌแ€ธแ€žแ€ฑแ€ฌ dataset

A bilingual (Myanmar + English) coding instruction dataset designed primarily for training Myanmar language Coder LLMs.


๐ŸŽฏ แ€›แ€Šแ€บแ€›แ€ฝแ€šแ€บแ€แ€ปแ€€แ€บ / Purpose

แ€ค dataset แ€žแ€Šแ€บ แ€™แ€ผแ€”แ€บแ€™แ€ฌแ€˜แ€ฌแ€žแ€ฌ programming/coding LLM แ€™แ€ปแ€ฌแ€ธ training แ€œแ€ฏแ€•แ€บแ€›แ€”แ€บแ€กแ€แ€ฝแ€€แ€บ แ€กแ€“แ€ญแ€€ แ€›แ€Šแ€บแ€›แ€ฝแ€šแ€บแ€‘แ€ฌแ€ธแ€•แ€ซแ€žแ€Šแ€บแ‹ แ€™แ€ผแ€”แ€บแ€™แ€ฌ developer แ€™แ€ปแ€ฌแ€ธแ แ€™แ€ญแ€แ€„แ€บแ€˜แ€ฌแ€žแ€ฌแ€…แ€€แ€ฌแ€ธแ€–แ€ผแ€„แ€ทแ€บ coding แ€กแ€€แ€ฐแ€กแ€Šแ€ฎแ€•แ€ฑแ€ธแ€”แ€ญแ€ฏแ€„แ€บแ€žแ€ฑแ€ฌ AI assistant แ€™แ€ปแ€ฌแ€ธแ€€แ€ญแ€ฏ แ€–แ€”แ€บแ€แ€ฎแ€ธแ€”แ€ญแ€ฏแ€„แ€บแ€…แ€ฑแ€›แ€”แ€บ Myanmar (my) แ€”แ€พแ€„แ€ทแ€บ English (en) แ€˜แ€ฌแ€žแ€ฌแ€…แ€€แ€ฌแ€ธ แ€”แ€พแ€…แ€บแ€™แ€ปแ€ญแ€ฏแ€ธแ€–แ€ผแ€„แ€ทแ€บ pair training data แ€‘แ€Šแ€ทแ€บแ€žแ€ฝแ€„แ€บแ€ธแ€‘แ€ฌแ€ธแ€•แ€ซแ€žแ€Šแ€บแ‹

This dataset is primarily intended for training Myanmar (Burmese) language Coder LLMs โ€” enabling AI coding assistants that natively understand and respond in แ€™แ€ผแ€”แ€บแ€™แ€ฌแ€˜แ€ฌแ€žแ€ฌ. Both English and Myanmar examples share the same schema for parallel/cross-lingual training.

๐Ÿ“Š Dataset Statistics

Metric Value
Total Samples 4,000,000
Myanmar (my) 2,000,000
English (en) 2,000,000
Format Parquet (Snappy compressed)
Files data/train-00000-of-00004.parquet โ€ฆ data/train-00003-of-00004.parquet
Splits train (single split)

๐Ÿ—‚๏ธ Schema

{
    "instruction": str,          # Topic/title of the Q&A
    "messages": [                # Multi-turn conversation
        {"role": "user", "content": str},
        {"role": "assistant", "content": str},
        ...                      # 2 / 4 / 6 messages per sample
    ],
    "category": str,             # See categories below
    "language": str,             # "my" or "en"
    "difficulty": str,           # "beginner" | "intermediate" | "advanced"
    "response": str,             # JSON-serialized messages (string form)
    "task_type": str,            # "qa_conversation"
}

Categories (แ‰ แ€™แ€ปแ€ญแ€ฏแ€ธ)

code_debugging, mongodb_project, telegram_bot, ui_ux_design, cloudflare_worker, deployment_help, api_integration, firebase_project, website_builder

Difficulty Levels

beginner ยท intermediate ยท advanced

๐Ÿ“ Sample Examples

Myanmar (my)

{
  "instruction": "React useEffect แ€€แ€ญแ€ฏ StrictMode แ€™แ€พแ€ฌ แ€”แ€พแ€…แ€บแ€€แ€ผแ€ญแ€™แ€บ run แ€แ€ฌ แ€˜แ€šแ€บแ€œแ€ญแ€ฏแ€–แ€ผแ€ฑแ€›แ€พแ€„แ€บแ€ธแ€™แ€œแ€ฒ?",
  "messages": [
    {"role": "user", "content": "แ€€แ€ปแ€ฝแ€”แ€บแ€แ€ฑแ€ฌแ€ทแ€บ useEffect แ€€ development แ€™แ€พแ€ฌ แ€”แ€พแ€…แ€บแ€€แ€ผแ€ญแ€™แ€บ run แ€”แ€ฑแ€•แ€ซแ€แ€šแ€บแ‹ แ€˜แ€ฌแ€€แ€ผแ€ฑแ€ฌแ€„แ€ทแ€บแ€œแ€ฒ?"},
    {"role": "assistant", "content": "React 18 StrictMode แ€€ side effects แ€แ€ฝแ€ฑแ€€แ€ญแ€ฏ detect แ€œแ€ฏแ€•แ€บแ€–แ€ญแ€ฏแ€ทแ€กแ€แ€ฝแ€€แ€บ effects แ€แ€ฝแ€ฑแ€€แ€ญแ€ฏ แ€”แ€พแ€…แ€บแ€€แ€ผแ€ญแ€™แ€บแ€แ€ฑแ€ซแ€บแ€•แ€ซแ€แ€šแ€บแ‹\n\n**แ€–แ€ผแ€ฑแ€›แ€พแ€„แ€บแ€ธแ€”แ€Šแ€บแ€ธ**: cleanup function แ€‘แ€Šแ€ทแ€บแ€•แ€ซ..."}
  ],
  "category": "code_debugging",
  "language": "my",
  "difficulty": "beginner",
  "task_type": "qa_conversation"
}

English (en)

{
  "instruction": "React useEffect runs twice in StrictMode - how to fix?",
  "messages": [
    {"role": "user", "content": "My useEffect is running twice in development. Why?"},
    {"role": "assistant", "content": "React 18 StrictMode intentionally double-invokes effects to detect side effects..."}
  ],
  "category": "code_debugging",
  "language": "en",
  "difficulty": "beginner",
  "task_type": "qa_conversation"
}

๐Ÿš€ Usage

Load full dataset

from datasets import load_dataset

ds = load_dataset("amkyawdev/mm-llm-coder-dataset")
print(ds)
# DatasetDict({ train: Dataset(num_rows=4000000, ...) })

Filter by language

# Myanmar only โ€” for Myanmar-focused fine-tuning
my_data = ds["train"].filter(lambda x: x["language"] == "my")

# English only โ€” for cross-lingual / parallel training
en_data = ds["train"].filter(lambda x: x["language"] == "en")

Filter by category & difficulty

debugging_advanced = ds["train"].filter(
    lambda x: x["category"] == "code_debugging" and x["difficulty"] == "advanced"
)

Streaming (recommended for large-scale training)

ds = load_dataset("amkyawdev/mm-llm-coder-dataset", streaming=True)
for sample in ds["train"]:
    print(sample["language"], sample["instruction"])
    break

๐ŸŽ“ Use Cases

  1. ๐Ÿ‡ฒ๐Ÿ‡ฒ Myanmar Coder LLM training โ€” fine-tune base models (Llama, Qwen, Mistral, etc.) into Myanmar-language coding assistants
  2. Cross-lingual code Q&A โ€” train models that handle both Myanmar and English coding queries
  3. Instruction tuning โ€” multi-turn conversation format suitable for chat models
  4. Code debugging assistants โ€” error fixing patterns across React, Node.js, MongoDB, WebSocket, etc.
  5. Topic-specific fine-tuning โ€” filter by category (e.g., MongoDB-only, Firebase-only)

๐Ÿ”— Related Datasets

This dataset is part of the combined Myanmar LLM dataset collection by @amkyawdev:

โš ๏ธ Notes / Caveats

  • The dataset is template-based: the 4M samples are produced by combining a curated set of coding instructions with category ร— difficulty ร— conversation-length variations. This makes the dataset large and structurally consistent, but with limited semantic diversity per topic.
  • For higher-quality, more diverse Myanmar samples, you may consider augmenting with LLM-generated translations of curated English programming Q&A.
  • Both messages (list) and response (JSON string) fields contain the same conversation โ€” use whichever your training pipeline prefers.

๐Ÿ“„ License

Apache 2.0

๐Ÿ™ Citation

If you use this dataset in your work, please cite:

@dataset{amkyawdev_mm_llm_coder_2025,
  author    = {amkyawdev},
  title     = {Myanmar LLM Coder Dataset (mm-llm-coder-dataset)},
  year      = {2025},
  publisher = {Hugging Face},
  url       = {https://huggingface.co/datasets/amkyawdev/mm-llm-coder-dataset}
}