Refresh "Extend" will insert text at the end. "Infill" will replace all masks. (click add mask to add infill mask at the cursors or selections )
Examples: Python Python-infill Type-prediction Doc-string JavaScript Jupyter StackOverflow Metadata Conditioning Metadata Prediction Docstring->Code
This is a demo interface for InCoder: A Generative Model for Code In-Filling and Synthesis.
See our project site for more information on these models, including a paper and examples.
For instructions on setting up and using the models yourself, see our readme.
Model development: Daniel Fried*, Armen Aghajanyan*, Jessy Lin, Sida Wang, Eric Wallace, Freda Shi, Ruiqi Zhong, Wen-tau Yih, Luke Zettlemoyer, and Mike Lewis
Thanks to Naman Goyal and Stephen Roller for writing the code this was based on. Extensions by Daniel Fried and Sida Wang.