Views
No views yet
1@inproceedings{LinWZE2018:NL2Bash,
2 author = {Xi Victoria Lin and Chenglong Wang and Luke Zettlemoyer and Michael D. Ernst},
3 title = {NL2Bash: A Corpus and Semantic Parser for Natural Language Interface to the Linux Operating System},
4 booktitle = {Proceedings of the Eleventh International Conference on Language Resources and Evaluation {LREC} 2018, Miyazaki (Japan), 7-12 May, 2018.},
5 year = {2018}
6}1git clone https://github.com/your-repo/nl2bash.git
2cd nl2bash
3pip install -r requirements.txt1from your_module import NL2BashModel, generate_answer
2model = NL2BashModel.load_from_checkpoint('path_to_checkpoint')
3tokenizer = YourTokenizer.from_pretrained('path_to_tokenizer')
4question = "Prints process tree of a current process with id numbers and parent processes."
5answer = generate_answer(question, model, tokenizer)
6print(answer)
v0.1.0 has a bias towards the NL2Bash dataset. The nl2bashdataset has a huge amount of find command on top of the others.v0.2.0 model, we will be treating the NL2Bash dataset as a biased dataset. We will be using the NL2Bash-2 dataset. The dataset is a more balanced dataset with more commands.CONTRIBUTING.md for guidelines on how to contribute.LICENSE file for details.