microsoft / tf-gnn-samples

TensorFlow implementations of Graph Neural Networks
MIT License
914 stars 229 forks source link

Is there a documentation on how to use this? #5

Closed freakeinstein closed 4 years ago

freakeinstein commented 4 years ago

Hi, I'm looking into this repo and wondering small details such as,

Is there any documentation / article hosted?

MokoSan commented 4 years ago

Hi, I have just started the process of deep diving into the code here and here my answers:

format of training data The training set that got the ball rolling for me is mentioned here. Specifically, this link should get you the data to start running the examples.

what problems it can solve The problems to solve are defined by tasks. For example, the one I am exclusively taking a look a at is the VarMisuseTask whose details can be found here. What really helped me here to understanding what the tasks entail was to read the associated white paper: https://arxiv.org/pdf/1711.00740.pdf.

How to use it after training and testing Once you run the model and have finished testing it, the model is persisted locally under a freshly created trained_models directory that can be used for further development. Again, the models are coupled to a task at hand, so that consideration should be made.

How to generate embeddings? At least for the VarMisuseTask, the initial embeddings are available directly from the data set. I have found the following repo that could help with some of the embedding generation based on the translation unit at hand: https://github.com/microsoft/dpu-utils/tree/master/dotnet - will be experimenting with this, myself.

Hopefully this helps to get the ball rolling - been working towards understanding all the code, myself and still a novice here but this space is super super exciting!

Best, MokoSan

mmjb commented 4 years ago

@freakeinstein, I'm not quite sure what you are looking for beyond the information in the README:

mmjb commented 4 years ago

As there was no followup on this to clarify the questions, I'm closing this issue now.