Code2vec
A PyTorch implementation of `code2vec: Learning Distributed Representations of Code` (Alon et al., 2018)
Install / Use
/learn @bentrevett/Code2vecREADME
PyTorch code2vec
This repo contains an implementation of code2vec: Learning Distributed Representations of Code.
Requirements
- Python 3+
- PyTorch 1.0
- A CUDA compatible GPU
Quickstart
./download_preprocessed.shto 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
To-Do
- Graph of results
- Inference code
- Embedding exploration
Related Skills
YC-Killer
2.7kA library of enterprise-grade AI agents designed to democratize artificial intelligence and provide free, open-source alternatives to overvalued Y Combinator startups. If you are excited about democratizing AI access & AI agents, please star ⭐️ this repository and use the link in the readme to join our open source AI research team.
best-practices-researcher
The most comprehensive Claude Code skills registry | Web Search: https://skills-registry-web.vercel.app
mentoring-juniors
Community-contributed instructions, agents, skills, and configurations to help you make the most of GitHub Copilot.
groundhog
399Groundhog's primary purpose is to teach people how Cursor and all these other coding agents work under the hood. If you understand how these coding assistants work from first principles, then you can drive these tools harder (or perhaps make your own!).
