Giter Site home page Giter Site logo

tspannhw / deep-semantic-code-search Goto Github PK

View Code? Open in Web Editor NEW

This project forked from chnsh/deep-semantic-code-search

0.0 2.0 0.0 70.08 MB

Deep Semantic Code Search aims to explore a joint embedding space for code and description vectors and then use it for a code search application

License: MIT License

Jupyter Notebook 95.32% Python 4.61% Shell 0.01% HTML 0.07%

deep-semantic-code-search's Introduction

Deep Semantic Code Search

Code for Paper: Paper

Deep Semantic Code Search aims to explore a joint embedding space for code and description vectors and then use it for a code search application.

In these experiments, there are 2 parts:

  1. The first one uses an approach suggested in [1] and we train their architecture on our own python dataset.
  2. The second approach expands on the first one through methodology suggested in [2] and we achieve reasonably good results.

We can observe that some sort of semantic information is captured the results:

Query Results

Instructions on reproducing our results

Implementation of [1] is within Joint Training Model and [2] is within Code Summarization Transfer Learning

Dataset

For [1], our dataset is provided within Joint Training Model. For [2], the full dataset is available on Google Cloud Platform.

For how to access data on GCP, please follow this link https://cloud.google.com/storage/docs/access-public-data

References:

[1] https://guxd.github.io/papers/deepcs.pdf

[2] https://towardsdatascience.com/semantic-code-search-3cd6d244a39c

deep-semantic-code-search's People

Contributors

chnsh avatar

Watchers

James Cloos avatar  avatar

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.