ITERATIVE NEURAL CODE TRANSLATION

    公开(公告)号:US20240394025A1

    公开(公告)日:2024-11-28

    申请号:US18792153

    申请日:2024-08-01

    Applicant: GOOGLE LLC

    Abstract: Techniques are described herein for iterative code generation using neural language models. In various implementations, an original source code snippet in a first programming language may be processed using a translation machine learning model to generate a first translation of the original source code snippet in a second programming language. The first translation of the original source code snippet may be evaluated to identify error(s) in the first translation. Based on the error(s), respective mask(s) may be inserted to generate a masked first translation of the original source code snippet in the second programming language. The masked first translation of the original source code snippet may be processed using the translation machine learning model to generate a second translation of the original source code snippet in the second language. The second translation may include infill(s) of corrected source code in place of one or more of the masks.

    Iterative neural code translation

    公开(公告)号:US12093672B2

    公开(公告)日:2024-09-17

    申请号:US18076189

    申请日:2022-12-06

    Applicant: Google LLC

    CPC classification number: G06F8/51 G06F8/42 G06F11/3616 G06N3/0455 G06N3/08

    Abstract: Techniques are described herein for iterative code generation using neural language models. In various implementations, an original source code snippet in a first programming language may be processed using a translation machine learning model to generate a first translation of the original source code snippet in a second programming language. The first translation of the original source code snippet may be evaluated to identify error(s) in the first translation. Based on the error(s), respective mask(s) may be inserted to generate a masked first translation of the original source code snippet in the second programming language. The masked first translation of the original source code snippet may be processed using the translation machine learning model to generate a second translation of the original source code snippet in the second language. The second translation may include infill(s) of corrected source code in place of one or more of the masks.

    ITERATIVE NEURAL CODE TRANSLATION
    3.
    发明公开

    公开(公告)号:US20240184555A1

    公开(公告)日:2024-06-06

    申请号:US18076189

    申请日:2022-12-06

    Applicant: Google LLC

    CPC classification number: G06F8/51 G06F8/42 G06F11/3616 G06N3/0455 G06N3/08

    Abstract: Techniques are described herein for iterative code generation using neural language models. In various implementations, an original source code snippet in a first programming language may be processed using a translation machine learning model to generate a first translation of the original source code snippet in a second programming language. The first translation of the original source code snippet may be evaluated to identify error(s) in the first translation. Based on the error(s), respective mask(s) may be inserted to generate a masked first translation of the original source code snippet in the second programming language. The masked first translation of the original source code snippet may be processed using the translation machine learning model to generate a second translation of the original source code snippet in the second language. The second translation may include infill(s) of corrected source code in place of one or more of the masks.

Patent Agency Ranking