Systems and methods for generating natural language using language models trained on computer code
US12008341B2 · kind B2 · utility
Assignee
Inventors
Key dates
| Filing date | May 23, 2023 |
| Grant date | Jun 11, 2024 |
| Priority date | — |
| Expiry date | May 23, 2043 |
Classification
- Technology area (CPC G)Physics
- CPC primaryG06F40/186
- WIPO fieldComputer technology
- WIPO sectorElectrical engineering
Abstract
Disclosed herein are methods, systems, and computer-readable media for generating natural language based on computer code input. In an embodiment, a method may comprise one or more of: accessing a docstring generation model configured to generate docstrings from computer code; receiving one or more computer code samples; generating, using the docstring generation model and based on the received one or more computer code samples, one or more candidate docstrings representing natural language text, each of the one or more candidate docstrings being associated with at least a portion of the one or more computer code samples; identifying at least one of the one or more candidate docstrings that provides an intent of the at least a portion of the one or more computer code samples; and/or outputting, via a user interface, the at least one identified docstring with the at least a portion of the one or more computer code samples.
Source: USPTO / EPO open patent data. Objective bibliographic and citation counts.