An open API service indexing awesome lists of open source software.

https://github.com/gaarutyunov/graph-coder

GraphCoder: Transformer Pretrained on Code as Graphs
https://github.com/gaarutyunov/graph-coder

ast catalyst torch transformer

Last synced: 8 months ago
JSON representation

GraphCoder: Transformer Pretrained on Code as Graphs

Awesome Lists containing this project

README

          

# GraphCoder: Transformer Pretrained on Code as Graphs

## Usage

### As a package

```bash
pip install git+https://github.com/gaarutyunov/graph-coder.git@main#egg=graph_coder
```

### From source

#### poetry

1. Install [Poetry](https://python-poetry.org/docs/#installation)

2. Install dependencies

```bash
poetry install
```

#### conda

1. Install [Anaconda](https://www.anaconda.com/products/distribution)

2. Install dependencies

```bash
conda env create -f environment.yml
conda activate graph-coder
```

## Citation

```bibtex
@software{graph-coder,
title = {{GraphCoder: Transformer Pretrained on Code as Graphs}},
author = {German Arutyunov, Sergey Avdoshin},
url = {https://www.github.com/gaarutyunov/graph-coder},
}