Guard railing of a large language model using production data augmentation
Патент · US A1
Полный текст
An embodiment includes training a classification model by sending data from a seed dataset to a model training interface of the classification model where the seed dataset comprises a classification and determining a first benchmark metric. The embodiment includes iteratively executing the classification model on a production dataset to determine a set of samples predicted to comprise the classification. The embodiment includes generating an annotation of the set of samples based on clustering. The embodiment includes issuing an instruction via a fine-tuning interface of the classification model to modify a configuration parameter of the classification model based on the annotation to cause the classification model to determine a second benchmark metric and establishing a checkpoint wherein the checkpoint is incremented for each iteration of the production dataset. The embodiment also includes executing an instruction whether to distill an update of the classification model.