question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Add an option to produce the exact code2vec output format

See original GitHub issue

From a quick glance, current implementation produces an “output format inspired by code2vec” and has a allJavaMethods example.

It would be very nice if there is also an option for producing the exact code2vec output format in a .csv, so it could replace existing *Extractors and be used as an input to preprocess.py.

What do you think?

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Reactions:2
  • Comments:13 (5 by maintainers)

github_iconTop GitHub Comments

3reactions
egor-bogomolovcommented, Oct 21, 2019

@SomanshuKalra the feature is implemented both in library and in CLI. Check out CLI subfolder

1reaction
egor-bogomolovcommented, Sep 16, 2019

@hsellik yes, I’ve just finished implementing it. It is available in code2vec-output branch. Also, CLI is on the way, and you will be able to generate code2vec input from terminal with a few commands.

Read more comments on GitHub >

github_iconTop Results From Across the Web

GitHub - tech-srl/code2vec: TensorFlow code for the neural ...
TensorFlow code for the neural network presented in the paper: "code2vec: ... such that the model (code2vec or GNNs) will output a prediction...
Read more >
code2vec: Learning Distributed Representations of Code
We present a neural model for representing snippets of code as continuous distributed vectors (łcode embed- dingsž). The main idea is to represent...
Read more >
MACHINE LEARNING FOR CODE SYNTHESIS AND ANALYSIS
Abstract: Deep learning has been successfully applied to a wide array of problems due to its versa- tility and the variety of algorithms...
Read more >
Deep Code Curator – code2graph Part-II - CECS - UCI
This method can generate RDF graphs without triggering the programs, thus being more scalable in creating a larger dataset from source code.
Read more >
code2vec: Learning Distributed Representations of Code - arXiv
Methods for learning distributed representations produce low-dimensional vector representations for objects, referred to as embeddings.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found