Skip to content

Latest commit

 

History

History
28 lines (19 loc) · 1.24 KB

README.md

File metadata and controls

28 lines (19 loc) · 1.24 KB

Modified Neural editor to run on SLURM clusters (such as NYU HPC's Prince Cluster)

How to run on slurm cluster

  1. first make sure to set the HOME variable in both setup_datadir.sh and train_slurm.s.
  2. to get the data run ./setup_datadir.sh
  3. to submit a batch job for training run sbatch train_slurm.s (you can change the config in this file)

How to use Jupyter Notebook to examine your trained model

  1. edit run-jupyterGPU.sbatch to reflect your path
  2. run sbatch run-jupyterGPU.sbatch

below from original github

https://github.com/kelvinguu/neural-editor

Neural editor

Source code accompanying our paper Generating Sentences by Editing Prototypes.

Authors: Kelvin Guu*, Tatsunori B. Hashimoto*, Yonatan Oren, Percy Liang (* equal contribution)

  • We are drafting a more detailed README in the README branch (see here for dataset links)
  • This is research code meant to serve as a reference implementation. We do not recommend heavily extending or modifying this codebase for other purposes.

If you have questions, please email Kelvin at guu.kelvin at gmail.com.