Update README.md
Browse files
README.md
CHANGED
@@ -1,53 +1,24 @@
|
|
1 |
-
#
|
2 |
-
|
3 |
-
|
4 |
-
|
5 |
-
The dataset is created by
|
6 |
-
|
7 |
-
|
8 |
-
|
9 |
-
|
10 |
-
|
11 |
-
- `
|
12 |
-
|
13 |
-
|
14 |
-
|
15 |
-
|
16 |
-
|
17 |
-
|
18 |
-
|
19 |
-
|
20 |
-
|
21 |
-
|
22 |
-
|
23 |
-
|
24 |
-
|
25 |
-
- 'srno': Serial number of the input-output pair
|
26 |
-
- 'nl_command': The natural language input/command
|
27 |
-
- 'bash_code': Corresponding bash code
|
28 |
-
|
29 |
-
## References
|
30 |
-
|
31 |
-
@inproceedings{LinWZE2018:NL2Bash,
|
32 |
-
author = {Xi Victoria Lin and Chenglong Wang and Luke Zettlemoyer and Michael D. Ernst},
|
33 |
-
title = {NL2Bash: A Corpus and Semantic Parser for Natural Language Interface to the Linux Operating System},
|
34 |
-
booktitle = {Proceedings of the Eleventh International Conference on Language Resources
|
35 |
-
and Evaluation {LREC} 2018, Miyazaki (Japan), 7-12 May, 2018.},
|
36 |
-
year = {2018}
|
37 |
-
}
|
38 |
-
|
39 |
-
@article{Fu2021ATransform,
|
40 |
-
title={A Transformer-based Approach for Translating Natural Language to Bash Commands},
|
41 |
-
author={Quchen Fu and Zhongwei Teng and Jules White and Douglas C. Schmidt},
|
42 |
-
journal={2021 20th IEEE International Conference on Machine Learning and Applications (ICMLA)},
|
43 |
-
year={2021},
|
44 |
-
pages={1241-1244}
|
45 |
-
}
|
46 |
-
|
47 |
-
@article{fu2023nl2cmd,
|
48 |
-
title={NL2CMD: An Updated Workflow for Natural Language to Bash Commands Translation},
|
49 |
-
author={Fu, Quchen and Teng, Zhongwei and Georgaklis, Marco and White, Jules and Schmidt, Douglas C},
|
50 |
-
journal={Journal of Machine Learning Theory, Applications and Practice},
|
51 |
-
pages={45--82},
|
52 |
-
year={2023}
|
53 |
-
}
|
|
|
1 |
+
# nl2linux
|
2 |
+
|
3 |
+
This a custom dataset used to fine-tune Large Language Models for Linux Command Generation.
|
4 |
+
|
5 |
+
The dataset is created by filtering AnishJoshi/nl2bash-custom dataset from huggingface.
|
6 |
+
|
7 |
+
## Dataset Structure
|
8 |
+
|
9 |
+
- `train.json`: Training split.
|
10 |
+
- `dev.json`: Development split.
|
11 |
+
- `test.json`: Test split.
|
12 |
+
|
13 |
+
## Usage
|
14 |
+
|
15 |
+
```python
|
16 |
+
from datasets import load_dataset
|
17 |
+
|
18 |
+
dataset = load_dataset("prabhanshubhowal/natural_language_to_linux")
|
19 |
+
```
|
20 |
+
|
21 |
+
## Features
|
22 |
+
|
23 |
+
- 'nl_command': The natural language input/command
|
24 |
+
- 'bash_code': Corresponding bash code
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|