Machine Learning projects have increased in their application due to the different demands for sophisticated solutions in companies and fields of study in recent years. This increase has led to a profound transformation in the nature of Machine Learning project development involving complex steps which require considerable dedication of resources. In this paper we present a model based on GPT-2 which will be implemented and trained to perform task-specific source code generation. Using a dataset of different tasks in a Machine Leaning project, we obtain the necessary data for training the models for each specific task class. Then, we use several evaluation metrics to verify the quality of the trained models. The results show that it is feasible to perform the task of automatic source code generation and improvements needed for the future project.

错误:搜索内容不能为空,请输入英文关键词
错误:关键词超出字数限制,请精简
高级检索

Transformer GPT-2 Model for Code Prediction in Machine Learning Projects

  • Tito Peng Wu Pan,
  • Luis Martin Canaval Sanchez

摘要

Machine Learning projects have increased in their application due to the different demands for sophisticated solutions in companies and fields of study in recent years. This increase has led to a profound transformation in the nature of Machine Learning project development involving complex steps which require considerable dedication of resources. In this paper we present a model based on GPT-2 which will be implemented and trained to perform task-specific source code generation. Using a dataset of different tasks in a Machine Leaning project, we obtain the necessary data for training the models for each specific task class. Then, we use several evaluation metrics to verify the quality of the trained models. The results show that it is feasible to perform the task of automatic source code generation and improvements needed for the future project.