Naxii's picture
Fix task_categories to official list
e846960 verified
|
Raw
History Blame Contribute Delete
4.31 kB
metadata
language:
  - ja
  - en
license: cc-by-4.0
task_categories:
  - text-generation
tags:
  - minecraft
  - commands
  - instruction-tuning
  - function-calling
  - japanese
pretty_name: Minecraft NL→Command (ja/en)
size_categories:
  - 10K<n<100K
configs:
  - config_name: default
    data_files:
      - split: train
        path: train.jsonl
      - split: test
        path: test.jsonl

Minecraft NL→Command Dataset (Japanese / English)

自然言語の指示(日本語・英語)を Minecraft Java Edition 1.21.5 のコマンドに変換するためのデータセットです。 A dataset of natural-language instructions (Japanese / English) paired with Minecraft Java Edition 1.21.5 commands.

{"instruction": "自分の持っているアイテムにウィンドバーストIを付与して",
 "output": "/enchant @s minecraft:wind_burst 1",
 "lang": "ja", "command": "enchant", "mc_version": "1.21.5"}

Contents

  • ~51k pairs (train ≈ 48.5k / test ≈ 2.5k), roughly half Japanese, half English
  • 12 commands: give (plain / count / enchanted with 1.21+ item components), effect give (simple / timed+amplifier / infinite), summon, enchant, tp, time set, weather, gamemode, setblock, fill, clear, xp
  • Item / block / entity / effect / enchantment names use Mojang's official ja_jp / en_us translations, so surface forms match what players actually see in-game
  • Enchanted give uses the modern item component syntax ([minecraft:enchantments={"minecraft:sharpness":5}], 1.21.2+ format) with only category-compatible enchantments and vanilla-legal levels
  • Ambiguous display names (e.g. every music disc is just "Music Disc") are excluded so each instruction maps to exactly one command

Fields

field description
instruction natural-language request (ja or en)
output the corresponding slash command
lang ja / en
command base command name (e.g. give)
mc_version targeted Minecraft version (1.21.5)

How it was built

Fully deterministic template-based generation (no LLM involved): official Mojang registry data + official translation files + hand-written sentence templates (seeded RNG, deduplicated, 95/5 split). Generation code: see the generate.py in the source repository.

Quality assurance

Every release passes a three-layer validation pipeline:

  1. Syntax layer (100% of records) — each command is matched against a strict per-command grammar, every ID is checked against the official 1.21.5 registries, and numeric arguments are range-checked (vanilla enchantment level caps, /fill volume limit, tick range, etc.).
  2. Round-trip layer (100% of records) — slots are re-extracted from the command and matched back against the instruction: item/entity/effect names, counts, durations, coordinates, Roman-numeral levels, and selector↔phrase correspondence (@a ⇔ "everyone"/「全員」).
  3. LLM-judge layer (stratified) — a local LLM judges semantic faithfulness and native-speaker naturalness on samples stratified per (language × template), so every template that produced records is audited. Templates flagged across four review rounds were rewritten and the dataset regenerated.

Final result for this release: layers 1–2 pass 51,089/51,089; layer 3 certifies 114/115 template groups. The single remaining flag is a verified judge false positive (/summon minecraft:tnt does spawn primed TNT, matching the official Japanese name 「着火されたTNT」).

Limitations

  • Sentence variety is template-bound (a few phrasings per command type); not a substitute for human-written requests.
  • Commands are validated against the 1.21.5 grammar and registries but were not executed in-game.
  • enchant pairs assume the held item is compatible; the command itself is well-formed regardless.

License / attribution

The dataset structure and sentence templates are released under CC-BY-4.0. Minecraft item/block/entity names and translations are the property of Mojang Studios / Microsoft. This is unofficial fan content, not approved by or associated with Mojang or Microsoft (per the Minecraft Usage Guidelines).