dmitrykazhdan / representing-programs-with-graphs Goto Github PK
View Code? Open in Web Editor NEWRe-implementation and extension of the work described in "Learning to Represent Programs with Graphs"
License: MIT License
Re-implementation and extension of the work described in "Learning to Represent Programs with Graphs"
License: MIT License
Looking at the Vocabulary creation code here:
Counter
instead and pass that into the Vocabulary
.max_size
is tiny. (a) Pull it out as a hyperparameter you can change (b) For "real" data, this should be larger. It's reasonable for fast, dry runs.The placeholder node_token_ids
seems off. The input should probably be of size batch_size x max_num_subtokens
instead of batch_size x hidden_size
. Essentially, the placeholder should contain the ids of the subtokens within the vocabulary, not their embeddings (you seem to be correctly looking up the embeddings of those ids here whose output should be batch_size x max_num_subtokens x hidden_size
).
(we also discussed in person about masking, if I recall. The mask would be a 0/1 matrix of size batch_size x max_num_subtokens
if you decide to implement this at some point)
Hello @dmitrykazhdan ,
I am a Master student at the HTWG Konstanz University of Applied Sciences in Computer Science.
Currently, I am working on my master thesis, where I am investigating various machine learning methods that deal with the naming of variables and methods.
My idea is to collect the found implementations within a proof of concept and to use them for a specific use case within the development process.
For example in pull request's to support the reviewers.
I want to publish the proof of concept as an open source project on GitHub.
Therefore my question:
Could you add a license to your repo?
May I use your implementation in my proof of concept?
Greetings
Marcel
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.