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
- Host: GitHub
- URL: https://github.com/gaarutyunov/graph-coder
- Owner: gaarutyunov
- License: apache-2.0
- Created: 2023-01-15T02:56:06.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2023-04-30T13:00:40.000Z (about 3 years ago)
- Last Synced: 2024-12-19T23:47:09.707Z (over 1 year ago)
- Topics: ast, catalyst, torch, transformer
- Language: Python
- Homepage:
- Size: 782 KB
- Stars: 5
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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},
}