GeezerVison is showing github.com — GitHub - bentrevett/code2vec: A PyTorch implementation of `code2vec: Learning Distributed Representations of Code` (Alon et al., 2018)
This repository was archived by the owner on Jan 29, 2020. It is now read-only.
Folders and files
| Name | Name | Last commit message | Last commit date |
|---|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
|
Repository files navigation
This repo contains an implementation of code2vec: Learning Distributed Representations of Code.
- Python 3+
- PyTorch 1.0
- A CUDA compatible GPU
./download_preprocessed.sh to get the pre-processed datasets from the code2vec and the code2seq papers.
- Note: by default the 3 datasets from code2seq are commented out.
python run.py
- Graph of results
- Inference code
- Embedding exploration
About
A PyTorch implementation of `code2vec: Learning Distributed Representations of Code` (Alon et al., 2018)
Topics
Resources
Stars
35 stars
Watchers
1 watching
Forks