File size: 2,178 Bytes
e547783
 
 
2462684
e547783
 
2462684
8cef94a
e547783
2462684
e547783
f9ffe3a
e547783
f9ffe3a
 
 
 
 
 
7a96834
f9ffe3a
 
 
 
 
 
 
85b0f3a
f9ffe3a
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
---
language:
- en
license: mit
size_categories:
- n<1K
task_categories:
- translation
---

# Dataset Card for InterCode-Corrections
This is a manually corrected version of the [InterCode-Bash](https://github.com/princeton-nlp/intercode/tree/master/data/nl2bash) dataset, providing natural language prompts and Bash commands for the task of machine translation.

## Dataset Details
### Dataset Description
This dataset contains corrections for errors in the [InterCode-Bash](https://github.com/princeton-nlp/intercode/tree/master/data/nl2bash) dataset. `corrections.csv` contains annotations for each error. `final.csv` contains the updated dataset with the corrections applied. The corrected dataset was used to create the test split of the [NL2SH-ALFA](https://huggingface.co/datasets/westenfelder/NL2SH-ALFA) dataset. For more information, please refer to the [paper](https://arxiv.org/abs/2502.06858).
- **Curated by:** [Anyscale Learning For All (ALFA) Group at MIT-CSAIL](https://alfagroup.csail.mit.edu/)
- **Language:** English 
- **License:** MIT License

### Usage
This dataset is not intended for direct use. Instead, please use the [NL2SH-ALFA](https://huggingface.co/datasets/westenfelder/NL2SH-ALFA) dataset.
```bash
from datasets import load_dataset
train_dataset = load_dataset("westenfelder/NL2SH-ALFA", "train", split="train")
test_dataset = load_dataset("westenfelder/NL2SH-ALFA", "test", split="train")
```

### Dataset Sources
- **Repository:** [GitHub Repo](https://github.com/westenfelder/NL2SH)
- **Paper:** [LLM-Supported Natural Language to Bash Translation](https://arxiv.org/abs/2502.06858)

## Citation 
**BibTeX:**
```
@misc{westenfelder2025llmsupportednaturallanguagebash,
      title={LLM-Supported Natural Language to Bash Translation}, 
      author={Finnian Westenfelder and Erik Hemberg and Miguel Tulla and Stephen Moskal and Una-May O'Reilly and Silviu Chiricescu},
      year={2025},
      eprint={2502.06858},
      archivePrefix={arXiv},
      primaryClass={cs.CL},
      url={https://arxiv.org/abs/2502.06858}, 
}
```

## Dataset Card Authors
Finn Westenfelder

## Dataset Card Contact
Please email [email protected] or make a pull request.