|
Download README.md from dravidmathavan07/bash-commands-dataset: direct link, hf CLI and curl.
- Browser
- Download file 1.51 kB
-
https://huggingface.co/datasets/dravidmathavan07/bash-commands-dataset/resolve/main/README.md
- Command line
-
hf download hf://datasets/dravidmathavan07/bash-commands-dataset/README.md
-
curl -L -o README.md https://huggingface.co/datasets/dravidmathavan07/bash-commands-dataset/resolve/main/README.md
1.51 kB
| license: mit | |
| tags: | |
| - bash | |
| # 🐧 Linux Command Automation Dataset | |
| A dataset of **natural language prompts** paired with their corresponding **Bash command-line equivalents**, designed to train or fine-tune models for **automating Linux tasks via natural language**. | |
| --- | |
| ## 📁 Dataset Structure | |
| The dataset is in JSON format, structured as a flat array of objects, where each object contains: | |
| ```json | |
| { | |
| "prompt": "Natural language description of a task", | |
| "response": "Equivalent Bash command" | |
| } | |
| ``` | |
| ### ✅ Example | |
| ```json | |
| { | |
| "prompt": "Move a file called x from the Desktop to the Downloads directory", | |
| "response": "mv ~/Desktop/x ~/Downloads/" | |
| } | |
| ``` | |
| --- | |
| ## 📦 Files | |
| - `dataset.json`: The full dataset as a flat JSON array. | |
| --- | |
| ## 💡 Use Cases | |
| This dataset is useful for: | |
| - Training/fine-tuning LLMs to translate human language to shell commands. | |
| - Building command-line AI assistants. | |
| - Automating workflows using natural language. | |
| - Testing NLP-to-code models. | |
| --- | |
| ## ⚠️ Disclaimer | |
| - **Execution Safety:** Some commands (like `rm`, `shutdown`) can be destructive. Ensure proper sandboxing during inference or model evaluation. | |
| - **Platform Specificity:** Commands are based on standard Linux distributions (like Ubuntu with GNOME). Adjustments might be needed for other environments. | |
| --- | |
| ## 📜 License | |
| This dataset is provided under the [MIT License](https://opensource.org/licenses/MIT). Use it freely for personal, research, and commercial purposes. |