Systems and methods for code understanding and generation
AssigneeSalesforce, Inc.
InventorsYue Wang, Weishi Wang, Shafiq Rayhan Joty, Chu Hong Hoi
Life of this patent
Estimating the term…
Loading patent…
AssigneeSalesforce, Inc.
InventorsYue Wang, Weishi Wang, Shafiq Rayhan Joty, Chu Hong Hoi
Estimating the term…
Embodiments described herein a code generation and understanding model that builds on a Transformer-based encoder-decoder framework. The code generation and understanding model is configured to derive generic representations for programming language (PL) and natural language (NL) in code domain via pre-training on unlabeled code corpus, and then to benefit many code-related downstream tasks with fine-tuning. Apart from the denoising sequence-to-sequence objectives widely adopted for pre-training on natural language, identifier tagging and prediction pre-training objective is adopted to enable the model to better leverage the crucial token type information from PL, which specifically are the identifiers assigned by developers.
A method for programming language (PL) generation and understanding using an encoder-decoder model, the method comprising:
A system for programming language (PL) generation and understanding using a neural network model, the system comprising:
A non-transitory machine-readable medium storing a plurality of processor-executable instructions for programming language (PL) generation and understanding using an encoder-decoder model, the plurality of processor-executable instructions being executed by one or more hardware processors to perform operations comprising:
Dependencies are inferred from the claim text.