SOTAVerified

A Transformer-based Approach for Translating Natural Language to Bash Commands

2021-12-1420th IEEE International Conference on Machine Learning and Applications - ICMLA 2021Code Available1· sign in to hype

Quchen Fu, Zhongwei Teng, Jules White, Douglas C. Schmidt

Code Available — Be the first to reproduce this paper.

Reproduce

Code

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%.

Tasks

Reproductions