Створення штучного датасету для навчання класифікатора конструкцій мов програмування для парсингу

Denys Seliutin, Олена Яшина · Scientific periodicals of Ukraine · 2026

An evaluation was performed on the efficacy of techniques for generating an artificial dataset to train a neural network classifier designed to identify syntactic structures in programming languages. A methodology was proposed that employs a triad of primary approaches: generating code fragments for training through prompt engineering, augmenting existing data using large language models via syntactic modifications, and creating data based on template structures with explicitly defined variations. Cases of generation are presented, and the methodology has been established, substantiating the application of a combined approach that facilitates the formation of representative training sets with significant variety. This, together with the utilization of huge language models for dataset production, necessitates sophisticated prompt engineering. Recommendations are offered to enhance the creation of tools for the automated analysis of source code across diverse programming languages by providing training samples for particular languages and then refining methods for synthetic data quality assurance.

Cited by 0 works. Open-access PDF

Authors