Wannita commited on
Commit
6c8fb21
1 Parent(s): 982c51a

Create README.md

Browse files
Files changed (1) hide show
  1. README.md +32 -0
README.md ADDED
@@ -0,0 +1,32 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: mit
3
+ task_categories:
4
+ - text-generation
5
+ tags:
6
+ - code
7
+ pretty_name: pycoder-type
8
+ ---
9
+
10
+ # PyCoder
11
+
12
+ This repository contains the dataset for the paper [Syntax-Aware On-the-Fly Code Completion](https://arxiv.org/abs/2211.04673)
13
+
14
+ 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.
15
+
16
+ PyCoder is an auto code completion model which leverages a Multi-Task Training technique (MTT) to cooperatively
17
+ learn the code prediction task and the type prediction task. For the type prediction
18
+ task, we propose to leverage the standard Python token
19
+ type information (e.g., String, Number, Name, Keyword),
20
+ which is readily available and lightweight, instead of using
21
+ 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).
22
+
23
+ More information can be found in our paper.
24
+
25
+ If you use our code or PyCoder, please cite our paper.
26
+
27
+ <pre><code>@article{takerngsaksiri2022syntax,
28
+ title={Syntax-Aware On-the-Fly Code Completion},
29
+ author={Takerngsaksiri, Wannita and Tantithamthavorn, Chakkrit and Li, Yuan-Fang},
30
+ journal={arXiv preprint arXiv:2211.04673},
31
+ year={2022}
32
+ }</code></pre>