Automating Code Adaptation for MLOps -- A Benchmarking Study on LLMs

Fuente: arXiv
Guardado en:
Detalles Bibliográficos
Autores principales: Patel, Harsh, Ramanan, Buvaneswari A., Khan, Manzoor A., Williams, Thomas, Friedman, Brian, Drabeck, Lawrence
Formato: Preprint
Publicado: 2024
Materias:
Acceso en línea:
Etiquetas: Agregar Etiqueta
Sin Etiquetas, Sea el primero en etiquetar este registro!
_version_ 1866913346643558400
author Patel, Harsh
Ramanan, Buvaneswari A.
Khan, Manzoor A.
Williams, Thomas
Friedman, Brian
Drabeck, Lawrence
author_facet Patel, Harsh
Ramanan, Buvaneswari A.
Khan, Manzoor A.
Williams, Thomas
Friedman, Brian
Drabeck, Lawrence
contents This paper explores the possibilities of the current generation of Large Language Models for incorporating Machine Learning Operations (MLOps) functionalities into ML training code bases. We evaluate the performance of OpenAI (gpt-3.5-turbo) and WizardCoder (open-source, 15B parameters) models on the automated accomplishment of various MLOps functionalities in different settings. We perform a benchmarking study that assesses the ability of these models to: (1) adapt existing code samples (Inlining) with component-specific MLOps functionality such as MLflow and Weights & Biases for experiment tracking, Optuna for hyperparameter optimization etc., and (2) perform the task of Translation from one component of an MLOps functionality to another, e.g., translating existing GitPython library based version control code to Data Version Control library based. We also propose three different approaches that involve teaching LLMs to comprehend the API documentation of the components as a reference while accomplishing the Translation tasks. In our evaluations, the gpt-3.5-turbo model significantly outperforms WizardCoder by achieving impressive Pass@3 accuracy in model optimization (55% compared to 0% by WizardCoder), experiment tracking (100%, compared to 62.5% by WizardCoder), model registration (92% compared to 42% by WizardCoder) and hyperparameter optimization (83% compared to 58% by WizardCoder) on average, in their best possible settings, showcasing its superior code adaptability performance in complex MLOps tasks.
format Preprint
id arxiv_https___arxiv_org_abs_2405_06835
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle Automating Code Adaptation for MLOps -- A Benchmarking Study on LLMs
Patel, Harsh
Ramanan, Buvaneswari A.
Khan, Manzoor A.
Williams, Thomas
Friedman, Brian
Drabeck, Lawrence
Machine Learning
Artificial Intelligence
Software Engineering
This paper explores the possibilities of the current generation of Large Language Models for incorporating Machine Learning Operations (MLOps) functionalities into ML training code bases. We evaluate the performance of OpenAI (gpt-3.5-turbo) and WizardCoder (open-source, 15B parameters) models on the automated accomplishment of various MLOps functionalities in different settings. We perform a benchmarking study that assesses the ability of these models to: (1) adapt existing code samples (Inlining) with component-specific MLOps functionality such as MLflow and Weights & Biases for experiment tracking, Optuna for hyperparameter optimization etc., and (2) perform the task of Translation from one component of an MLOps functionality to another, e.g., translating existing GitPython library based version control code to Data Version Control library based. We also propose three different approaches that involve teaching LLMs to comprehend the API documentation of the components as a reference while accomplishing the Translation tasks. In our evaluations, the gpt-3.5-turbo model significantly outperforms WizardCoder by achieving impressive Pass@3 accuracy in model optimization (55% compared to 0% by WizardCoder), experiment tracking (100%, compared to 62.5% by WizardCoder), model registration (92% compared to 42% by WizardCoder) and hyperparameter optimization (83% compared to 58% by WizardCoder) on average, in their best possible settings, showcasing its superior code adaptability performance in complex MLOps tasks.
title Automating Code Adaptation for MLOps -- A Benchmarking Study on LLMs
topic Machine Learning
Artificial Intelligence
Software Engineering
url https://arxiv.org/abs/2405.06835