|
Download README.md from Wannita/PyCoder-Type: direct link, hf CLI and curl.
- Browser
- Download file 1.29 kB
-
https://huggingface.co/datasets/Wannita/PyCoder-Type/resolve/6c8fb21189edfe433d92558236e767aef5f72413/README.md
- Command line
-
hf download hf://datasets/Wannita/PyCoder-Type@6c8fb21189edfe433d92558236e767aef5f72413/README.md
-
curl -L -o README.md https://huggingface.co/datasets/Wannita/PyCoder-Type/resolve/6c8fb21189edfe433d92558236e767aef5f72413/README.md
1.29 kB
| license: mit | |
| task_categories: | |
| - text-generation | |
| tags: | |
| - code | |
| pretty_name: pycoder-type | |
| # PyCoder | |
| This repository contains the dataset for the paper [Syntax-Aware On-the-Fly Code Completion](https://arxiv.org/abs/2211.04673) | |
| The sample code to run the model can be found in directory: "`assets/notebooks/inference.ipynb`" in our GitHub: https://github.com/awsm-research/pycoder. | |
| PyCoder is an auto code completion model which leverages a Multi-Task Training technique (MTT) to cooperatively | |
| learn the code prediction task and the type prediction task. For the type prediction | |
| task, we propose to leverage the standard Python token | |
| type information (e.g., String, Number, Name, Keyword), | |
| which is readily available and lightweight, instead of using | |
| the AST information which requires source code to be parsable for an extraction, limiting its ability to perform on-the-fly code completion (see Section 2.3 in our paper). | |
| More information can be found in our paper. | |
| If you use our code or PyCoder, please cite our paper. | |
| <pre><code>@article{takerngsaksiri2022syntax, | |
| title={Syntax-Aware On-the-Fly Code Completion}, | |
| author={Takerngsaksiri, Wannita and Tantithamthavorn, Chakkrit and Li, Yuan-Fang}, | |
| journal={arXiv preprint arXiv:2211.04673}, | |
| year={2022} | |
| }</code></pre> |