Giter Site home page Giter Site logo

kirili4ik / code2vec Goto Github PK

View Code? Open in Web Editor NEW
15.0 2.0 2.0 107 MB

code2vec for Python 3 made for NL2ML project

Home Page: https://github.com/tech-srl/code2vec

License: MIT License

Python 67.23% Shell 2.70% Jupyter Notebook 30.06%
code2vec embeddings python3

code2vec's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

code2vec's Issues

About generating input data for Code2Vec

Hello, I would like to inquire about generating input data for Code2Vec.
I used Astminer to generate Code2Vec storage format, which includes node_type.csv, path.csv, token.csv, and path_contexts.c2s files. Can I use these files as input for your project? Do I need to make slight modifications to the code for the data input part?
搜狗截图20231106220547

I'm not sure if it's appropriate to ask this question under your project. With Astminer, I haven't obtained correct results for C language files; regardless of the size of my C files, the output files are empty. I don't understand why this is happening.
2023-11-06 22-12-40 的屏幕截图
Uploading 搜狗截图20231106222316.png…

pre-processing steps

can you explain how to extract context path from AST ? it will help a lot if you provide that details.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.