-
公开(公告)号:US20240184555A1
公开(公告)日:2024-06-06
申请号:US18076189
申请日:2022-12-06
Applicant: Google LLC
Inventor: Giovanni De Toni , Rishabh Singh , Jonathan Malmaud , Navneet Potti
IPC: G06F8/51 , G06F8/41 , G06F11/36 , G06N3/0455 , G06N3/08
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.
-
公开(公告)号:US20240394025A1
公开(公告)日:2024-11-28
申请号:US18792153
申请日:2024-08-01
Applicant: GOOGLE LLC
Inventor: Giovanni De Toni , Rishabh Singh , Jonathan Malmaud , Navneet Potti
IPC: G06F8/51 , G06F8/41 , G06F11/36 , 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.
-
公开(公告)号:US20240176604A1
公开(公告)日:2024-05-30
申请号:US18070015
申请日:2022-11-28
Applicant: Google LLC
Inventor: Joey Hong , Rishabh Singh , Joel Galenson , Jonathan Malmaud , Manzil Zaheer
IPC: G06F8/51
CPC classification number: G06F8/51
Abstract: Implementations are described herein for predicting symbolic transformation templates to automate source code transformations. In various implementations, pair(s) of predecessor and successor source code snippets may be processed using a symbolic transformation template prediction (STTP) model to predict a symbolic transformation template that includes a predecessor portion that matches the predecessor source code snippet(s) of the pair(s) and a successor portion that matches the successor source code snippet(s) of the pair(s). At least one additional predecessor source code snippet may be identified that matches the predecessor portion of the predicted symbolic transformation template. Placeholders of the predecessor portion of the predicted symbolic transformation template may be bound to one or more tokens of the at least one additional predecessor source code snippet to create binding(s). The successor portion of the predicted symbolic transformation template may be applied to the bindings to generate additional successor source code snippet(s).
-
公开(公告)号:US12147794B2
公开(公告)日:2024-11-19
申请号:US18070015
申请日:2022-11-28
Applicant: Google LLC
Inventor: Joey Hong , Rishabh Singh , Joel Galenson , Jonathan Malmaud , Manzil Zaheer
IPC: G06F8/51
Abstract: Implementations are described herein for predicting symbolic transformation templates to automate source code transformations. In various implementations, pair(s) of predecessor and successor source code snippets may be processed using a symbolic transformation template prediction (STTP) model to predict a symbolic transformation template that includes a predecessor portion that matches the predecessor source code snippet(s) of the pair(s) and a successor portion that matches the successor source code snippet(s) of the pair(s). At least one additional predecessor source code snippet may be identified that matches the predecessor portion of the predicted symbolic transformation template. Placeholders of the predecessor portion of the predicted symbolic transformation template may be bound to one or more tokens of the at least one additional predecessor source code snippet to create binding(s). The successor portion of the predicted symbolic transformation template may be applied to the bindings to generate additional successor source code snippet(s).
-
公开(公告)号:US20240320445A1
公开(公告)日:2024-09-26
申请号:US18675840
申请日:2024-05-28
Applicant: GOOGLE LLC
Inventor: Shrestha Basu Mallick , Owen Lewis , Jaclyn Konzelmann , Christina Yang Choi , James Freedman , Jonathan Malmaud , Xin Xie , Brian Carver
IPC: G06F40/40
CPC classification number: G06F40/40
Abstract: Implementations described herein relate to attribution of a natural language (NL) based summary generated using a large language model (LLM). Processor(s) of a system can: receive NL based input associated with a client device, generate the NL based summary using the LLM, and process the NL based summary to determine whether a NL based summary segment of the NL based summary matches a dataset segment of a dataset that was utilized to initially train the LLM and/or to fine-tune the LLM. Further, the processor(s) can, in response to determining that the NL based summary segment matches the dataset segment, modify the NL based summary segment of the NL based summary to generate a modified NL based summary. Moreover, the processor(s) can cause the modified NL based summary to be rendered at the client device. The attribution of the NL based summary can be provided as a service to various third-parties.
-
公开(公告)号:US12093672B2
公开(公告)日:2024-09-17
申请号:US18076189
申请日:2022-12-06
Applicant: Google LLC
Inventor: Giovanni De Toni , Rishabh Singh , Jonathan Malmaud , Navneet Potti
IPC: G06F9/44 , G06F8/41 , G06F8/51 , G06F9/455 , G06F11/36 , G06N3/045 , G06N3/0455 , G06N3/08 , G06N20/00
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.
-
-
-
-
-