Knowledge augmentation in supervised instruction fine-tuning of generative models
Патент · US A1
Полный текст
Techniques are disclosed herein for knowledge augmentation in supervised instruction fine-tuning of generative models such as LLMs. The techniques include using a generative model to create augmented training examples to fine-tune a pre-trained generative model. The process begins with original training examples, where each example has a coding prompt and a corresponding gold code solution. Using a documentation dataset containing API or component references, the generative model generates new, enriched training examples having a prompt that instructs the pre-trained generative model to describe the relevant components in addition to performing the code task, and a solution that includes the component descriptions and their roles followed by the original gold code solution. The pre-trained model is then fine-tuned using a combined set of original and augmented training examples, resulting in a more accurate and capable final model.