Closed freakeinstein closed 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
@freakeinstein, I'm not quite sure what you are looking for beyond the information in the README:
tasks/
).
If you are asking about the internal format of data, have a look at the docstrings in https://github.com/microsoft/tf-gnn-samples/blob/master/tasks/sparse_graph_task.py#L107-211, which describe this.test.py
to your scenario.ops['final_node_representations']
in https://github.com/microsoft/tf-gnn-samples/blob/master/models/sparse_graph_model.py#L162 and then consumed differently in the different tasks.As there was no followup on this to clarify the questions, I'm closing this issue now.
Hi, I'm looking into this repo and wondering small details such as,
Is there any documentation / article hosted?