# facebookresearch/TransCoder

Public release of the TransCoder research project https://arxiv.org/pdf/2006.03511.pdf

Repository: https://github.com/facebookresearch/TransCoder
Canonical: https://ross.abutalabs.com/products/transcoder
Language: Python
License: NOASSERTION
License Family: other
Archived: true
Last push: 2021-09-29T14:51:46+00:00

## Health v2 (maintenance only)
Score: 10/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 0, release rhythm 35, longevity 100
- inputs: {"age_days": 2245, "days_push": 1799, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_releases, archived, no_license
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1732, forks 261 (observed 2026-08-28T04:05:28.782242+00:00)

## What it is
TransCoder is a PyTorch implementation of an unsupervised neural model that translates source code between Java, C++, and Python 3. It is a Facebook AI research project released with pretrained model checkpoints, now deprecated in favor of CodeGen.

## Use cases
- translate C++ code to Java
- convert Java functions to Python
- transpile Python code to C++
- research on unsupervised programming language translation
- evaluate code translation models with computational accuracy metrics

## When to choose
- you need to automatically convert code between Java, C++, and Python
- you are researching unsupervised neural machine translation for programming languages
- you want to experiment with the original TransCoder model checkpoints

## When to avoid
- you need a production-grade, actively maintained code translator
- you want to translate languages beyond Java, C++, and Python
- you need a modern model - the repo is deprecated in favor of facebookresearch/CodeGen

## Facets
- artifact type: library
- maturity: abandoned
- function: machine-learning, deep-learning, nlp, parser
- domain: machine-learning, programming-languages, artificial-intelligence, developer-tools
- platform: python, cross-platform
- tags: code-translation, transpilation, unsupervised-translation, pytorch, research-project, deprecated, linux

## Member repositories
- facebookresearch/TransCoder (main) score 10

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:05:28.782242+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T03:31:30.404659+00:00, confidence not recorded.
  - readme: https://github.com/facebookresearch/TransCoder (fetched 2026-08-28T04:05:28.782242+00:00, sha b3dbc4956361)
- Data as of 2026-08-30T08:39:29.467469+00:00.
