code_search

Code For Medium Article: "How To Create Natural Language Semantic Search for Arbitrary Objects With Deep Learning"

Github星跟蹤圖

GitHub license
Python 3.6
GitHub issues

Code For Medium Article: "How To Create Natural Language Semantic Search for Arbitrary Objects With Deep Learning"

Alt text


Warning - This Project Is Deprecated In Favor Of CodeSearchNet

The techniques presented here are old and have been significantly refined in a subsequent project called CodeSearchNet, with an associated paper.

I recommend looking at the aforementioned project for a more modern approach to this topic, as in retrospect this blog post is somewhat of an ugly hack.

Resources

Docker Containers

You can use these container to reproduce the environment the authors used for this tutorial. Incase it is helpful, I have provided a requirements.txt file, however, we highly recommend using the docker containers provided below as the dependencies can be complicated to build yourself.

  • hamelsmu/ml-gpu: Use this container for any gpu bound parts of the tutorial. We recommend running the entire tutorial on an aws p3.8xlarge and using this image.

  • hamelsmu/ml-cpu: Use this container for any cpu bound parts of this tutorial.

Notebooks

The notebooks folder contains 5 Jupyter notebooks that correspond to Parts 1-5 of the tutorial.

This tutorial assumes knowledge of the material presented in a previous tutorial on sequence-to-sequence models.


PRs And Comments Are Welcome

We have made best attempts to make sure running this tutorial is as painless as possible. If you think something can be improved, please submit a PR!

主要指標

概覽
名稱與所有者hamelsmu/code_search
主編程語言Jupyter Notebook
編程語言Jupyter Notebook (語言數: 4)
平台
許可證MIT License
所有者活动
創建於2018-05-07 13:41:00
推送於2022-12-08 02:10:59
最后一次提交2020-05-28 10:07:28
發布數1
最新版本名稱v1.0 (發布於 )
第一版名稱v1.0 (發布於 )
用户参与
星數489
關注者數24
派生數137
提交數162
已啟用問題?
問題數23
打開的問題數2
拉請求數42
打開的拉請求數26
關閉的拉請求數24
项目设置
已啟用Wiki?
已存檔?
是復刻?
已鎖定?
是鏡像?
是私有?