Patent ID: 11928444
Assignee: MICROSOFT TECHNOLOGY LICENSING, LLC
Field: Computer technology (Electrical engineering)
Classification: CPC G | IPC G

Claim 16:
17. A computer-readable storage medium for storing computer-readable instructions, one or more hardware processors performing a method when executing the computer-readable instructions that comprises:
receiving selected file content;
receiving an input message that describes an editing objective in editing the selected file content;
producing current context information that includes text tokens that make up at least the selected file content and the input message;
requesting a pattern-completion engine to generate edit information based on the current context information, the edit information describing one or more changes to the selected file content that satisfy the editing objective; and
receiving the edit information from the pattern-completion engine,
the pattern-completion engine using a machine-trained autoregressive text-completion model that uses a neural network decoder, the autoregressive text-completion model having been trained by a training process,
one part of the training process including generating a code-language model based on a repository of natural language training examples and a repository of computer program training examples,
another part of the training process including fine-tuning the code-language model based on another repository that describes revisions made to plural files, to produce an original edit model,
each particular revision in the repository of revisions including a revision message that describes an objective of the particular revision, and file change information that implements the particular revision, and
another part of the training process including further refining the original edit model based on another repository of selected training examples that are determined to satisfy one or more tests.