Invention Grant
- Patent Title: Systems and methods for code understanding and generation
-
Application No.: US17459968Application Date: 2021-08-27
-
Publication No.: US11782686B2Publication Date: 2023-10-10
- Inventor: Yue Wang , Weishi Wang , Shafiq Rayhan Joty , Chu Hong Hoi
- Applicant: salesforce.com, inc.
- Applicant Address: US CA San Francisco
- Assignee: SALESFORCE.COM, INC.
- Current Assignee: SALESFORCE.COM, INC.
- Current Assignee Address: US CA San Francisco
- Agency: HAYNES AND BOONE
- Main IPC: G06F9/44
- IPC: G06F9/44 ; G06F8/41 ; G06F40/20 ; G06N3/084 ; G06F18/214 ; G06N3/047

Abstract:
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.
Public/Granted literature
- US20220382527A1 SYSTEMS AND METHODS FOR CODE UNDERSTANDING AND GENERATION Public/Granted day:2022-12-01
Information query