mlprogram
mlprogram copied to clipboard
PyTorch library for synthesizing programs from natural language
First, I would like to thank you for the publication of the source code. In order to calculate the BLEU score, I need to convert ActionSequence/AST to plain text, however,...
In paper "TreeGen: A Tree-Based Transformer Architecture for Code Generation", there is a nl attention layer in the AST Reader, but I can't find it in class ActionSequenceReaderBlock. Thanks in...
* [x] Write an initial implementation * [x] Get the result similar to the paper * [ ] Make training stable (the loss becomes NaN after 40 epochs with Hearthstone...
TreeGen learns by predicting the rules from the target program. Thus, I assume you make the target program into an AST and in that process you get a sequence (that...
This might be too much work but I might be able to help eventually: https://github.com/ellisk42/ec from that paper
refs #135
* [ ] Replace list of Field with OrderedDict * [ ] Add type to represent variadic args