HyperAIHyperAI

Command Palette

Search for a command to run...

3 months ago

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

{Douglas C. Schmidt Jules White Zhongwei Teng Quchen Fu}

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

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

BenchmarkMethodologyMetrics
code-translation-on-nlc2cmdMagnum
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.

AI Co-coding
Ready-to-use GPUs
Best Pricing
Get Started

Hyper Newsletters

Subscribe to our latest updates
We will deliver the latest updates of the week to your inbox at nine o'clock every Monday morning
Powered by MailChimp
A Transformer-based Approach for Translating Natural Language to Bash Commands | Papers | HyperAI