Command Palette
Search for a command to run...
A Transformer-based Approach for Translating Natural Language to Bash Commands
{Douglas C. Schmidt Jules White Zhongwei Teng Quchen Fu}

Abstract
This paper explores the translation of natural language into Bash Commands, which developers commonly use to accomplish command-line tasks in a terminal. In our approach a terminal takes a command as a sentence in plain English and translates it into the corresponding string of Bash Commands. The paper analyzes the performance of several architectures on this translation problem using the data from the NLC2CMD competition at the NeurIPS 2020 conference. The approach presented in this paper is the best performing architecture on this problem to date and improves the current state-of-the-art accuracy on this translation task from 13.8% to 53.2%.
Benchmarks
| Benchmark | Methodology | Metrics |
|---|---|---|
| code-translation-on-nlc2cmd | Magnum | Accuracy: 0.532 |
Build AI with AI
From idea to launch — accelerate your AI development with free AI co-coding, out-of-the-box environment and best price of GPUs.