Skip to content
This repository has been archived by the owner on Jun 9, 2023. It is now read-only.

Commit

Permalink
Doc update nlc2cmd (#53)
Browse files Browse the repository at this point in the history
* add nlc2cmd link

* clean up nlc2cmd doc for neurips
  • Loading branch information
TathagataChakraborti authored Apr 21, 2020
1 parent 559b07a commit 736a30d
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 29 deletions.
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
:link: Check out the [`NLC2CMD Challenge`](https://ibm.biz/nlc2cmd) @ Neurips 2020


![CLAI Logo](https://www.dropbox.com/s/nbkfa59khtlcs79/clai-logo.png?raw=1)

Command Line Artificial Intelligence `CLAI` is an open-sourced project aimed to bring the power of AI to the command line. Using CLAI, users of Bash can access a wide range of skills that will enhance their command line experience. This repository contains the source code and documentation to get you started.
Expand Down
31 changes: 2 additions & 29 deletions clai/server/plugins/nlc2cmd/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,6 @@
This skill lets you specify tasks in English and retrieve their command line syntax.
Currently supported tasks include compressing and uncompress archives
using `tar` and looking for strings in files using `grep`.
As seen in the image below [[source](https://arxiv.org/pdf/1802.08979.pdf#page=3)],
these happen to be among the most commonly frequently used Bash utilities.

<img src="https://www.dropbox.com/s/6wji00d4ifrf9zv/common-bash-utilities.png?raw=1" width="400">

## Implementation

Expand All @@ -20,7 +16,8 @@ The confidence of the skill is the same as the confidence of the underlying NLC

This skill is merely illustrative and can be made as accurate as desired for these
specific use cases. However, this approach would not scale to Bash commands
in general and is quite brittle. See the `nlc2cmd Challenge` below for more on this.
in general and is quite brittle.
Check out the [`NLC2CMD Challenge`](https://ibm.biz/nlc2cmd) @ Neurips 2020.

## Example Usage

Expand All @@ -38,30 +35,6 @@ Right now this skills only supports `grep` and `tar` commands. Try these out!

See [here](./wa_skills/) for some more examples on the [IBM Cloud CLI](https://www.ibm.com/cloud/cli).

## :star: :star: :star: :star: :star: `nlc2cmd Challenge`

No one remembers arcane flags to commands we use every day.
The ability to turn natural language instructions to bash commands has been a pipe
dream for the research community for a while.
After all, there is a lot of data already out there in public forums and in documentation
that can be readily leveraged.
Especially with recent advances in natural language processing,
this problem has received renewed interest.

> **NL2Bash: A Corpus and Semantic Parser for Natural Language Interface to the Linux Operating System.**
Xi Victoria Lin, Chenglong Wang, Luke Zettlemoyer, Michael D. Ernst.
The 11th International Conference on Language Resources and Evaluation, 2018.
Check out [NL2Bash](https://github.com/TellinaTool/nl2bash).

> Check out [Betty](https://github.com/pickhardt/betty), a ''friendly English-like interface for your command line''.
Most recent attempts (including the ones above) are either heavily rule based or
do not scale beyond the examples that can be mined reliably from forums.
As such, it remains an open challenge today.

As part of Project CLAI, we intend to curate and release an open dataset around this
challenge and host a leaderboard of competing solutions.
Contribute [here](https://forms.gle/MXWfGYCtiVDNfNdU8).

## [xkcd](https://uni.xkcd.com/)

Expand Down

0 comments on commit 736a30d

Please sign in to comment.