Is a
Patent attributes
Patent Jurisdiction
Patent Number
Patent Inventor Names
Alexey Svyatkovskiy0
Neelakantan Sundaresan0
Miltiadis Allamanis0
Daya Guo0
Date of Patent
December 5, 2023
0Patent Application Number
174035830
Date Filed
August 16, 2021
0Patent Citations
Patent Citations Received
0
Patent Primary Examiner
Patent abstract
A code generation system uses a non-terminal expansion model and a non-terminal selector model to generate a code sketch to complete a partially-formed source code snippet. The non-terminal expansion model is a neural transformer model trained on a supervised dataset through reinforcement learning to learn to predict the production rule to expand for a given non-terminal symbol. The non-terminal selector model is trained through reinforcement learning to predict the non-terminal symbol to expand given a partial-code state. The models are used in a two-step beam search to generate the top candidate code sketches, where a candidate code sketch may contain a hole that represents an unexpanded non-terminal symbol.
Timeline
No Timeline data yet.
Further Resources
No Further Resources data yet.