Dataset Viewer
Auto-converted to Parquet Duplicate
messages
listlengths
3
3
[ { "role": "system", "content": "Return the shell command the user most likely wants. Reply with the command only." }, { "role": "user", "content": "generate sails model" }, { "role": "assistant", "content": "sails generate model demo" } ]
[ { "role": "system", "content": "Return the shell command the user most likely wants. Reply with the command only." }, { "role": "user", "content": "exiftool \"-AllDates+=0:0:0 1:0:0\" /tmp/scratch" }, { "role": "assistant", "content": "exiftool \"-AllDates+=0:0:0 1:0:0\" /tmp/scratch...
[ { "role": "system", "content": "Return the shell command the user most likely wants. Reply with the command only." }, { "role": "user", "content": "$ sudo aa-status" }, { "role": "assistant", "content": "sudo aa-status" } ]
[ { "role": "system", "content": "Return the shell command the user most likely wants. Reply with the command only." }, { "role": "user", "content": "cwd: ~/code/webapp\nfiles: .git/ app.py LICENSE main.py utils.py\nsudosulogin -t timeout" }, { "role": "assistant", "content": "sudo...
[ { "role": "system", "content": "Return the shell command the user most likely wants. Reply with the command only." }, { "role": "user", "content": "open executable file for command \"rails\" in text editor \"mate\"" }, { "role": "assistant", "content": "mate `which rails`" } ]
[ { "role": "system", "content": "Return the shell command the user most likely wants. Reply with the command only." }, { "role": "user", "content": "chafa --symbols vhafl README.md" }, { "role": "assistant", "content": "chafa --symbols vhalf README.md" } ]
[ { "role": "system", "content": "Return the shell command the user most likely wants. Reply with the command only." }, { "role": "user", "content": "add user" }, { "role": "assistant", "content": "npm team add 5 alice" } ]
[ { "role": "system", "content": "Return the shell command the user most likely wants. Reply with the command only." }, { "role": "user", "content": "<Ctr g><h>" }, { "role": "assistant", "content": "<Ctrl g><h>" } ]
[ { "role": "system", "content": "Return the shell command the user most likely wants. Reply with the command only." }, { "role": "user", "content": "fnid . -perm -20 -print | xargs chmod g-w" }, { "role": "assistant", "content": "find . -perm -20 -print | xargs chmod g-w" } ]
[ { "role": "system", "content": "Return the shell command the user most likely wants. Reply with the command only." }, { "role": "user", "content": "> npm token create" }, { "role": "assistant", "content": "npm token create" } ]
[ { "role": "system", "content": "Return the shell command the user most likely wants. Reply with the command only." }, { "role": "user", "content": "cdv -C -t \"sfv\" README.md" }, { "role": "assistant", "content": "cfv -C -t \"sfv\" README.md" } ]
[ { "role": "system", "content": "Return the shell command the user most likely wants. Reply with the command only." }, { "role": "user", "content": "search current directory tree for regular files whose names end" }, { "role": "assistant", "content": "find . -type f -name \"*keep.${SU...
[ { "role": "system", "content": "Return the shell command the user most likely wants. Reply with the command only." }, { "role": "user", "content": "find /tp/test/* -mtime +1" }, { "role": "assistant", "content": "find /tmp/test/* -mtime +1" } ]
[ { "role": "system", "content": "Return the shell command the user most likely wants. Reply with the command only." }, { "role": "user", "content": "sido tlmgr paper a4" }, { "role": "assistant", "content": "sudo tlmgr paper a4" } ]
[ { "role": "system", "content": "Return the shell command the user most likely wants. Reply with the command only." }, { "role": "user", "content": "sudo pvremove sdXYY" }, { "role": "assistant", "content": "sudo pvremove sdXY" } ]
[ { "role": "system", "content": "Return the shell command the user most likely wants. Reply with the command only." }, { "role": "user", "content": "find all files which are modified more than 50 days back and less than 100 days" }, { "role": "assistant", "content": "find / -mtime +50...
[ { "role": "system", "content": "Return the shell command the user most likely wants. Reply with the command only." }, { "role": "user", "content": "cwd: ~/code/webapp\nfiles: .gitignore backup.zip Dockerfile index.ts LICENSE requirements.txt src/ utils.py\ncopy backup file into dos disk [...
[ { "role": "system", "content": "Return the shell command the user most likely wants. Reply with the command only." }, { "role": "user", "content": "namcap -i backup.tra.gz" }, { "role": "assistant", "content": "namcap -i backup.tar.gz" } ]
[ { "role": "system", "content": "Return the shell command the user most likely wants. Reply with the command only." }, { "role": "user", "content": "trufflehog s3 --bucket deko --only-verified" }, { "role": "assistant", "content": "trufflehog s3 --bucket demo --only-verified" } ]
[ { "role": "system", "content": "Return the shell command the user most likely wants. Reply with the command only." }, { "role": "user", "content": "cagro t -- --nocapture" }, { "role": "assistant", "content": "cargo t -- --nocapture" } ]
[ { "role": "system", "content": "Return the shell command the user most likely wants. Reply with the command only." }, { "role": "user", "content": "mongo --hosst example.com --port 8080 --username alice --authenticationDatabase demo demo" }, { "role": "assistant", "content": "mongo -...
[ { "role": "system", "content": "Return the shell command the user most likely wants. Reply with the command only." }, { "role": "user", "content": "rmp2cipo file.rpm" }, { "role": "assistant", "content": "rpm2cpio file.rpm" } ]
[ { "role": "system", "content": "Return the shell command the user most likely wants. Reply with the command only." }, { "role": "user", "content": "suod swapon -L label" }, { "role": "assistant", "content": "sudo swapon -L label" } ]
[ { "role": "system", "content": "Return the shell command the user most likely wants. Reply with the command only." }, { "role": "user", "content": "comma-separated list of files to load before processing" }, { "role": "assistant", "content": "phpcs ./build --bootstrap deploy.sh" } ...
[ { "role": "system", "content": "Return the shell command the user most likely wants. Reply with the command only." }, { "role": "user", "content": "kill all processes with tcp connection on port" }, { "role": "assistant", "content": "fuser -k 8080/tcp" } ]
[ { "role": "system", "content": "Return the shell command the user most likely wants. Reply with the command only." }, { "role": "user", "content": "cwd: ~/dev/tool\nfiles: .git/ .gitignore Dockerfile index.ts Makefile\nuse player to feed stream data to (vlc is used by default if found)" },...
[ { "role": "system", "content": "Return the shell command the user most likely wants. Reply with the command only." }, { "role": "user", "content": "cwd: ~/projects/demo\nfiles: app.py file1.pnm file2.pnm package.json requirements.txt scripts/\npnmpsnr dile1.pnm file2.pnm -machine" }, { ...
[ { "role": "system", "content": "Return the shell command the user most likely wants. Reply with the command only." }, { "role": "user", "content": "list access keys" }, { "role": "assistant", "content": "aws iam list-access-keys" } ]
[ { "role": "system", "content": "Return the shell command the user most likely wants. Reply with the command only." }, { "role": "user", "content": "fidn -path \"*/test\" -type d -delete" }, { "role": "assistant", "content": "find -path \"*/test\" -type d -delete" } ]
[ { "role": "system", "content": "Return the shell command the user most likely wants. Reply with the command only." }, { "role": "user", "content": "collectd" }, { "role": "assistant", "content": "collectd" } ]
[ { "role": "system", "content": "Return the shell command the user most likely wants. Reply with the command only." }, { "role": "user", "content": "suod audit2allow -a -e" }, { "role": "assistant", "content": "sudo audit2allow -a -e" } ]
[ { "role": "system", "content": "Return the shell command the user most likely wants. Reply with the command only." }, { "role": "user", "content": "$ cp --hlep" }, { "role": "assistant", "content": "cp --help" } ]
[ { "role": "system", "content": "Return the shell command the user most likely wants. Reply with the command only." }, { "role": "user", "content": "okulra" }, { "role": "assistant", "content": "okular" } ]
[ { "role": "system", "content": "Return the shell command the user most likely wants. Reply with the command only." }, { "role": "user", "content": "xh get 5 foo1abr1 foo2bar2" }, { "role": "assistant", "content": "xh get 5 foo1bar1 foo2bar2" } ]
[ { "role": "system", "content": "Return the shell command the user most likely wants. Reply with the command only." }, { "role": "user", "content": "suod airodump-ng --channel channel --write README.md --bssid mac interface" }, { "role": "assistant", "content": "sudo airodump-ng --cha...
[ { "role": "system", "content": "Return the shell command the user most likely wants. Reply with the command only." }, { "role": "user", "content": "tc q s ddev eth0" }, { "role": "assistant", "content": "tc q s dev eth0" } ]
[ { "role": "system", "content": "Return the shell command the user most likely wants. Reply with the command only." }, { "role": "user", "content": "roll back resource to previous revision" }, { "role": "assistant", "content": "kubectl rollout undo resource_type/demo" } ]
[ { "role": "system", "content": "Return the shell command the user most likely wants. Reply with the command only." }, { "role": "user", "content": "chdman exrtacthd -i disk.chd -o disk.img" }, { "role": "assistant", "content": "chdman extracthd -i disk.chd -o disk.img" } ]
[ { "role": "system", "content": "Return the shell command the user most likely wants. Reply with the command only." }, { "role": "user", "content": "show documentation for original command" }, { "role": "assistant", "content": "tldr iptables" } ]
[ { "role": "system", "content": "Return the shell command the user most likely wants. Reply with the command only." }, { "role": "user", "content": "php yii help" }, { "role": "assistant", "content": "php yii help" } ]
[ { "role": "system", "content": "Return the shell command the user most likely wants. Reply with the command only." }, { "role": "user", "content": "mqake --d" }, { "role": "assistant", "content": "qmake -d" } ]
[ { "role": "system", "content": "Return the shell command the user most likely wants. Reply with the command only." }, { "role": "user", "content": "cwd: ~/code/webapp\nfiles: .git/ Dockerfile index.ts LICENSE requirements.txt tests/\ncp -r `ls -A | grep -v \"c\"` $OME/" }, { "role":...
[ { "role": "system", "content": "Return the shell command the user most likely wants. Reply with the command only." }, { "role": "user", "content": "wawrmd" }, { "role": "assistant", "content": "warmd" } ]
[ { "role": "system", "content": "Return the shell command the user most likely wants. Reply with the command only." }, { "role": "user", "content": "sudo systemd-run -r --pty command" }, { "role": "assistant", "content": "systemd-run -r --pty command" } ]
[ { "role": "system", "content": "Return the shell command the user most likely wants. Reply with the command only." }, { "role": "user", "content": "find /homw/david -atime -2 -name '*.c'" }, { "role": "assistant", "content": "find /home/david -atime -2 -name '*.c'" } ]
[ { "role": "system", "content": "Return the shell command the user most likely wants. Reply with the command only." }, { "role": "user", "content": "fnid $HOME -type d -name $1 -exec echo {} ';' -exec rm -rf {} ';'" }, { "role": "assistant", "content": "find $HOME -type d -name $1 -e...
[ { "role": "system", "content": "Return the shell command the user most likely wants. Reply with the command only." }, { "role": "user", "content": "cwd: ~/dev/tool\nfiles: .gitignore app.py getST.py Makefile package.json pyproject.toml tests/ utils.py\nrequest ticket using existing kerber...
[ { "role": "system", "content": "Return the shell command the user most likely wants. Reply with the command only." }, { "role": "user", "content": "csvpy data.csv" }, { "role": "assistant", "content": "csvpy data.csv" } ]
[ { "role": "system", "content": "Return the shell command the user most likely wants. Reply with the command only." }, { "role": "user", "content": "$ mv wordpress/.* ." }, { "role": "assistant", "content": "mv wordpress/.* ." } ]
[ { "role": "system", "content": "Return the shell command the user most likely wants. Reply with the command only." }, { "role": "user", "content": "sudo find . -xdev -type f | cut -d \"/\" --f 2 | sort | uniq -c | sort -n" }, { "role": "assistant", "content": "sudo find . -xdev -type...
[ { "role": "system", "content": "Return the shell command the user most likely wants. Reply with the command only." }, { "role": "user", "content": "llvf -c course-slug -r 720" }, { "role": "assistant", "content": "llvd -c course-slug -r 720" } ]
[ { "role": "system", "content": "Return the shell command the user most likely wants. Reply with the command only." }, { "role": "user", "content": "$ hyprctl dispatch dispatcher" }, { "role": "assistant", "content": "hyprctl dispatch dispatcher" } ]
[ { "role": "system", "content": "Return the shell command the user most likely wants. Reply with the command only." }, { "role": "user", "content": "fnid /tmp/test/* -daystart -mtime +0" }, { "role": "assistant", "content": "find /tmp/test/* -daystart -mtime +0" } ]
[ { "role": "system", "content": "Return the shell command the user most likely wants. Reply with the command only." }, { "role": "user", "content": "creates temporary file by template provided in option '-t'." }, { "role": "assistant", "content": "mktemp -t identifier.XXXXXXXXXX" } ...
[ { "role": "system", "content": "Return the shell command the user most likely wants. Reply with the command only." }, { "role": "user", "content": "sudo rempvepkg -keep requests" }, { "role": "assistant", "content": "sudo removepkg -keep requests" } ]
[ { "role": "system", "content": "Return the shell command the user most likely wants. Reply with the command only." }, { "role": "user", "content": "find /tec -iregex '.*xt.*'" }, { "role": "assistant", "content": "find /etc -iregex '.*xt.*'" } ]
[ { "role": "system", "content": "Return the shell command the user most likely wants. Reply with the command only." }, { "role": "user", "content": "search url in all regular/normal files in folder." }, { "role": "assistant", "content": "find ./ -type f -exec grep https://www.ksknet.n...
[ { "role": "system", "content": "Return the shell command the user most likely wants. Reply with the command only." }, { "role": "user", "content": "doctl d r g databsae_id demo" }, { "role": "assistant", "content": "doctl d r g database_id demo" } ]
[ { "role": "system", "content": "Return the shell command the user most likely wants. Reply with the command only." }, { "role": "user", "content": "start web interface on default port" }, { "role": "assistant", "content": "opencode web" } ]
[ { "role": "system", "content": "Return the shell command the user most likely wants. Reply with the command only." }, { "role": "user", "content": "postconf-c ~/Downloads" }, { "role": "assistant", "content": "postconf -c ~/Downloads" } ]
[ { "role": "system", "content": "Return the shell command the user most likely wants. Reply with the command only." }, { "role": "user", "content": "find /apth/to/search -type l -exec test ! -e {} \\; -print" }, { "role": "assistant", "content": "find /path/to/search -type l -exec tes...
[ { "role": "system", "content": "Return the shell command the user most likely wants. Reply with the command only." }, { "role": "user", "content": "fidn $(pwd) -name YourProgram -exec dirname {} \\; | while read d; do cd \"$d\" && pwd; done" }, { "role": "assistant", "content": "find...
[ { "role": "system", "content": "Return the shell command the user most likely wants. Reply with the command only." }, { "role": "user", "content": "fnid / -name \"*.core\" -print -exec rm {} \\;" }, { "role": "assistant", "content": "find / -name \"*.core\" -print -exec rm {} \\;" ...
[ { "role": "system", "content": "Return the shell command the user most likely wants. Reply with the command only." }, { "role": "user", "content": "cwd: ~/projects/demo\nfiles: .gitignore backup.zip docs/ Makefile pyproject.toml scripts/\nshow differences between two files" }, { "ro...
[ { "role": "system", "content": "Return the shell command the user most likely wants. Reply with the command only." }, { "role": "user", "content": "$ pdfdetach -savefile demo input.pdf" }, { "role": "assistant", "content": "pdfdetach -savefile demo input.pdf" } ]
[ { "role": "system", "content": "Return the shell command the user most likely wants. Reply with the command only." }, { "role": "user", "content": "generate bulk number of random uuids" }, { "role": "assistant", "content": "uuidd -r 5 5" } ]
[ { "role": "system", "content": "Return the shell command the user most likely wants. Reply with the command only." }, { "role": "user", "content": "modify package with version" }, { "role": "assistant", "content": "go get pkg@v1.2.3" } ]
[ { "role": "system", "content": "Return the shell command the user most likely wants. Reply with the command only." }, { "role": "user", "content": "search for files with name \"temp\"" }, { "role": "assistant", "content": "find /usr -name temp -print" } ]
[ { "role": "system", "content": "Return the shell command the user most likely wants. Reply with the command only." }, { "role": "user", "content": "protongricks -c command 12345" }, { "role": "assistant", "content": "protontricks -c command 12345" } ]
[ { "role": "system", "content": "Return the shell command the user most likely wants. Reply with the command only." }, { "role": "user", "content": "sudp uinput -c device2.yaml..." }, { "role": "assistant", "content": "sudo uinput -c device2.yaml..." } ]
[ { "role": "system", "content": "Return the shell command the user most likely wants. Reply with the command only." }, { "role": "user", "content": "bundle exec coommand arguments" }, { "role": "assistant", "content": "bundle exec command arguments" } ]
[ { "role": "system", "content": "Return the shell command the user most likely wants. Reply with the command only." }, { "role": "user", "content": "npmi requests@1.2.0" }, { "role": "assistant", "content": "npm i requests@1.2.0" } ]
[ { "role": "system", "content": "Return the shell command the user most likely wants. Reply with the command only." }, { "role": "user", "content": "gitt local-commits" }, { "role": "assistant", "content": "git local-commits" } ]
[ { "role": "system", "content": "Return the shell command the user most likely wants. Reply with the command only." }, { "role": "user", "content": "rm $(<xqa)" }, { "role": "assistant", "content": "rm $(<xaa)" } ]
[ { "role": "system", "content": "Return the shell command the user most likely wants. Reply with the command only." }, { "role": "user", "content": "$ find ... -print0" }, { "role": "assistant", "content": "find ... -print0" } ]
[ { "role": "system", "content": "Return the shell command the user most likely wants. Reply with the command only." }, { "role": "user", "content": "gpg-cars factory-reset" }, { "role": "assistant", "content": "gpg-card factory-reset" } ]
[ { "role": "system", "content": "Return the shell command the user most likely wants. Reply with the command only." }, { "role": "user", "content": "$ time find /usr/src -name \"*.html\" | xargs grep -l \"foo\" | wc -l" }, { "role": "assistant", "content": "time find /usr/src -name \"...
[ { "role": "system", "content": "Return the shell command the user most likely wants. Reply with the command only." }, { "role": "user", "content": "neato -T pnf -O input.gv" }, { "role": "assistant", "content": "neato -T png -O input.gv" } ]
[ { "role": "system", "content": "Return the shell command the user most likely wants. Reply with the command only." }, { "role": "user", "content": "docker rm --help" }, { "role": "assistant", "content": "docker rmi --help" } ]
[ { "role": "system", "content": "Return the shell command the user most likely wants. Reply with the command only." }, { "role": "user", "content": "cwd: ~/projects/demo\nfiles: .git/ file.swift LICENSE package.json pyproject.toml\nswift file.swidt" }, { "role": "assistant", "cont...
[ { "role": "system", "content": "Return the shell command the user most likely wants. Reply with the command only." }, { "role": "user", "content": "fnid /path -perm /ugo+x" }, { "role": "assistant", "content": "find /path -perm /ugo+x" } ]
[ { "role": "system", "content": "Return the shell command the user most likely wants. Reply with the command only." }, { "role": "user", "content": "doppler project delete demo" }, { "role": "assistant", "content": "doppler projects delete demo" } ]
[ { "role": "system", "content": "Return the shell command the user most likely wants. Reply with the command only." }, { "role": "user", "content": "find .-type f -name \"*keep.${SUFFIX}\"" }, { "role": "assistant", "content": "find . -type f -name \"*keep.${SUFFIX}\"" } ]
[ { "role": "system", "content": "Return the shell command the user most likely wants. Reply with the command only." }, { "role": "user", "content": "kubectl rolloutundo resource_type/demo" }, { "role": "assistant", "content": "kubectl rollout undo resource_type/demo" } ]
[ { "role": "system", "content": "Return the shell command the user most likely wants. Reply with the command only." }, { "role": "user", "content": "dbsrecon -d example.com -t zonewalk" }, { "role": "assistant", "content": "dnsrecon -d example.com -t zonewalk" } ]
[ { "role": "system", "content": "Return the shell command the user most likely wants. Reply with the command only." }, { "role": "user", "content": "cwd: /opt/services/worker\nfiles: app.py csv.gz index.ts pyproject.toml scripts/ utils.py\nfind . -name '*.csv.gz' -rint0 | xargs -0 -n1 gzip -...
[ { "role": "system", "content": "Return the shell command the user most likely wants. Reply with the command only." }, { "role": "user", "content": "find temp/lareg -iname \"*.jpg\" -printf 'mv %p %p\\n' | sed 's/\\.jpg$/_LRG\\.jpg/' | while read l; do eval $l; done" }, { "role": "assista...
[ { "role": "system", "content": "Return the shell command the user most likely wants. Reply with the command only." }, { "role": "user", "content": "sign container image" }, { "role": "assistant", "content": "apptainer sign ubuntu" } ]
[ { "role": "system", "content": "Return the shell command the user most likely wants. Reply with the command only." }, { "role": "user", "content": "list regular files" }, { "role": "assistant", "content": "find . -type f -perm a=rwx -exec ls -l {} \\;" } ]
[ { "role": "system", "content": "Return the shell command the user most likely wants. Reply with the command only." }, { "role": "user", "content": "cwd: /opt/services/worker\nfiles: .git/ file.ovf index.ts Makefile pyproject.toml src/ utils.py\nVBoxManage import file.ovf -name demo" }, ...
[ { "role": "system", "content": "Return the shell command the user most likely wants. Reply with the command only." }, { "role": "user", "content": "phpunt" }, { "role": "assistant", "content": "phpunit" } ]
[ { "role": "system", "content": "Return the shell command the user most likely wants. Reply with the command only." }, { "role": "user", "content": "check file" }, { "role": "assistant", "content": "nim check file.nim" } ]
[ { "role": "system", "content": "Return the shell command the user most likely wants. Reply with the command only." }, { "role": "user", "content": "catfile1 file2 | crontab" }, { "role": "assistant", "content": "cat file1 file2 | crontab" } ]
[ { "role": "system", "content": "Return the shell command the user most likely wants. Reply with the command only." }, { "role": "user", "content": "shopt --s nullglob dotglob" }, { "role": "assistant", "content": "shopt -s nullglob dotglob" } ]
[ { "role": "system", "content": "Return the shell command the user most likely wants. Reply with the command only." }, { "role": "user", "content": "find . -ame something -print -quit" }, { "role": "assistant", "content": "find . -name something -print -quit" } ]
[ { "role": "system", "content": "Return the shell command the user most likely wants. Reply with the command only." }, { "role": "user", "content": "sudofind . -type f | egrep -v '\\.bz2' | xargs bzip2 -9 &" }, { "role": "assistant", "content": "find . -type f | egrep -v '\\.bz2' | xa...
[ { "role": "system", "content": "Return the shell command the user most likely wants. Reply with the command only." }, { "role": "user", "content": "show documentation" }, { "role": "assistant", "content": "tldr ohdear" } ]
[ { "role": "system", "content": "Return the shell command the user most likely wants. Reply with the command only." }, { "role": "user", "content": "gitt clean -i" }, { "role": "assistant", "content": "git clean -i" } ]
[ { "role": "system", "content": "Return the shell command the user most likely wants. Reply with the command only." }, { "role": "user", "content": "cwd: ~/code/webapp\nfiles: Dockerfile index.ts just.js requirements.txt tests/\nshow documentation" }, { "role": "assistant", "conte...
[ { "role": "system", "content": "Return the shell command the user most likely wants. Reply with the command only." }, { "role": "user", "content": "show domain performance window for virtual machine/container" }, { "role": "assistant", "content": "virt-manager --show-domain-performan...
End of preview. Expand in Data Studio

mash — mangled shell (training dataset)

~42k pairs for training shell-command correction models: garbled or natural-language input → the command the user meant. As of Aug 2026 this task had no public dataset — everything nearby is NL→bash translation. Built for fash's local fixer model, mash.

Format

mlx-lm chat JSONL (train/valid/test):

{"messages": [
  {"role": "system", "content": "Return the shell command the user most likely wants. Reply with the command only."},
  {"role": "user", "content": "gti pusj origin mian"},
  {"role": "assistant", "content": "git push origin main"}
]}

Composition

Valid commands come from tldr-pages (CC-BY-4.0, ~30k canonical example invocations) and NL2Bash (MIT, ~12k expert one-liners). Placeholders are filled from concrete scenarios, with descriptions rewritten to match (so "open a specific file" becomes "open the settings file" → joe settings.json).

A share of rows (~11%) carry a context headercwd: plus a files: directory listing — synthesized so exactly one plausible variant of the referenced file exists; the answer must use the file that is actually there ("open the settings file" → joe settings.toml when the listing has settings.toml, not settings.json). The rest are bare, so models trained on this data work with or without context.

Three pair types:

  • typo pairs — commands corrupted by a weighted taxonomy of realistic manglings: transposed/dropped/adjacent-QWERTY/doubled chars, -/-- confusion, merged words, stripped quotes, missing or spurious sudo, copy-pasted $ prompt prefixes, duplicated words, smart quotes/en-dashes, plus curated high-frequency head typos (gerp, sl, suod, dokcer, …).
  • request pairs — example descriptions, verbatim and "casualized" into the terse phrasing people actually type.
  • identity pairs (~5%) — correct→correct, so models learn not to over-correct. Kept deliberately small: at ~12% a 1.5B run learned to echo 39% of genuinely garbled inputs.

Generated deterministically by training/build_dataset.py (seed 7). No user data or shell history is included.

Evaluation

Exact match on the held-out test split flatters models — it shares the generator's bias. For real-world numbers use mash-bench, 203 scenarios extracted from human breakage (NoFAQ, thefuck).

Attribution

Derived from tldr-pages (CC-BY-4.0) and NL2Bash (MIT; Lin et al., LREC 2018). Dataset licensed CC-BY-4.0 accordingly.

Downloads last month
-