Skip to content
forked from m3yrin/code2seq

Re-implementation of "CODE2SEQ: GENERATING SEQUENCES FROM STRUCTURED REPRESENTATIONS OF CODE"

License

Notifications You must be signed in to change notification settings

YawWQ/code2seq-1

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

code2seq [WIP]

A PyTorch re-implementation code for "code2seq: Generating Sequences from Structured Representations of Code"

Requirements

Please see requirements.txt

Usage

  • notebooks/preparation.ipynb for downloading dataset, making some directories etc.

  • notebooks/code2seq.ipynb for training and evaluating the model.

Memo

  • Beam search is not implemented.
  • GCP AI Platform Notebooks is used to train model.
  • AI Platform Notebooks requires google_compute_engine api so please install this before installing other packages if you use AI Platform Notebooks.

About

Re-implementation of "CODE2SEQ: GENERATING SEQUENCES FROM STRUCTURED REPRESENTATIONS OF CODE"

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages

  • Jupyter Notebook 86.5%
  • Python 13.5%