vegarab / code2seq-reproducibility-challenge Goto Github PK
View Code? Open in Web Editor NEWReproducibility challenge of the paper "code2seq: Generating Sequences from Structured Representations of Code" http://code2seq.org
License: MIT License
Reproducibility challenge of the paper "code2seq: Generating Sequences from Structured Representations of Code" http://code2seq.org
License: MIT License
Following the model descriptions in the original paper and the implementation in the code2seq repository, implement an equivalent model in pytorch
for testing reproducibility.
Look into different wrappers for pytorch
, such as torchbearer
. The final trainable model will require; AST embeddings, an encoder, an MLP, and a decoder with an attention head.
For the experiment setup, we will require functionality for saving and loading the model to file. This needs to support the given frameworks for implementing the model (likely pytorch
with torchbearer
).
Necessarily functions for saving weights to file, loading weights from file, global configuration file with model-size and other parameters. The original code2seq repository should be used as a basis. Different ways of evaluating a trained model need to be investigated. These should be equivalent to those used in the original paper (F1, BLEU-score).
Using the code2seq repository as a basis, implement/port an AST pre-processing pipeline. This will probably entail the forking of multiple files and functions from the original code2seq project.
All outputted data needs to be compatible with this project's model, which is likely to be implemented using pytorch
. As the original code2seq implementation utilizes numpy
arrays, we will probably need a translation step to cast the structures into pytorch
Tensors.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.