Invention Grant
- Patent Title: Translating between programming languages independently of sequence-to-sequence decoders
-
Application No.: US17717609Application Date: 2022-04-11
-
Publication No.: US12014160B2Publication Date: 2024-06-18
- Inventor: Rishabh Singh , Manzil Zaheer
- Applicant: Google LLC
- Applicant Address: US CA Mountain View
- Assignee: GOOGLE LLC
- Current Assignee: GOOGLE LLC
- Current Assignee Address: US CA Mountain View
- Agency: Gray Ice Higdon
- Main IPC: G06F8/51
- IPC: G06F8/51 ; G06F8/73 ; G06F18/23213

Abstract:
Techniques are described herein for translating a source code snippet from a first programming language to a second programming language independently of sequence-to-sequence decoding. In various implementations, the source code snippet written in the first programming language may be processed using an encoder portion of a transformer network to generate an embedding of the source code snippet. The embedding of the source code snippet may be processed using an all-pair attention layer to generate an attended embedding of the source code snippet. The attended embedding of the source code snippet may be processed using an output layer to generate, by way of a single transformation of the attended embedding of the source code snippet, data indicative of a translation of the source code snippet in the second programming language.
Public/Granted literature
- US20230325164A1 TRANSLATING BETWEEN PROGRAMMING LANGUAGES INDEPENDENTLY OF SEQUENCE-TO-SEQUENCE DECODERS Public/Granted day:2023-10-12
Information query