Ross ROSS = Recommend OSS · open-source software intelligence for agents

tech-srl/code2vec

TensorFlow code for the neural network presented in the paper: "code2vec: Learning Distributed Representations of Code" observed · 2026-08-28

github.com/tech-srl/code2vec · homepage · Python · MIT (permissive) observed · 2026-08-28

Health v2 · maintenance only

32/100

  • Activity 0
  • Release rhythm 35
  • Longevity 100

Flags: no_releases

How is this computed?

round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-02. Adoption (stars, forks) is never an input.

  • gap_med: n/a
  • age_days: 2962
  • days_rel: n/a
  • days_push: 1078
  • n_releases_24m: 0

Full methodology

Adoption not part of the score

1147 stars · 290 forks observed · 2026-08-28

What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded

Official TensorFlow implementation of the code2vec model from the POPL'2019 paper, which learns distributed vector representations of code snippets from abstract syntax tree paths. It is trained by default to predict Java method names but is language-agnostic and intended for research in machine learning on code.

Use cases

  • generate vector embeddings for code snippets
  • predict method names from Java code
  • research machine learning on source code
  • train a code representation model on a new programming language
  • extract code2vec embeddings for downstream ML tasks
  • reproduce results from the code2vec paper

When to choose

  • you need code embeddings based on AST paths for research or classification
  • you want to experiment with neural models of source code in TensorFlow
  • you want to reproduce or extend the code2vec model

When to avoid

  • you need a production-ready code intelligence service
  • you want modern transformer-based code models like CodeBERT
  • you need active development or new features
  • you don't work in Python/TensorFlow

Facets

library · maturity maintenance

machine-learning deep-learning nlp parser machine-learning programming-languages developer-tools artificial-intelligence python cross-platform code-embeddings tensorflow research code-analysis method-name-prediction academic

2 sources

Member repositories

RepositoryRoleHealth v2
tech-srl/code2vecmain32

For agents

markdown · JSON · MCP: product_card(name="tech-srl/code2vec")

Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem