Skip to content

Shikhar-S/Segmented-Invocation-Transformer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Efficient Constituency Tree based Encoding for Natural Language to Bash Translation

Setup

To create environment from tree.yml:

conda env create --file tree.yml

Training

To train the model in the paper, run:

python main.py --mode train

The default values of hyper-parameters are set to those mentioned in the paper. The full hyper-parameter list can be accessed with:

python train.py --help

Generate Bash Commands

To generate Bash commands for the invocations in the test set using the trained model, run:

python main.py --mode evaluate --checkpoint_path path_to_checkpoint_directory

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published