oleges1 / code-completion

pytorch version of code completion with neural attention and pointer networks
MIT License
12 stars 6 forks source link
code-completion natural-language-processing pointer-networks python pytorch

Code-Completion

Pytorch version of code completion with neural attention and pointer networks

TO DO LIST:

Requirments list:

Instruction:

Results for python value prediction (acc@1):

model vocab_size 1k vocab_size 10k vocab_size 50k
simple_lstm 66.33 65.7 61.68, 1 epoch
attn_lstm 64.95 65.77 63.15, 1 epoch
pointer_mixture 66.62 67.05 65.3, 3 epochs

Examples:

Here will be examples of code generation