학술논문

Textual Query Translation into Python Source Code using Transformers
Document Type
Conference
Source
2022 2nd International Conference on Intelligent Technologies (CONIT) Intelligent Technologies (CONIT), 2022 2nd International Conference on. :1-4 Jun, 2022
Subject
Aerospace
Bioengineering
Communication, Networking and Broadcast Technologies
Components, Circuits, Devices and Systems
Computing and Processing
Engineered Materials, Dielectrics and Plasmas
Engineering Profession
Fields, Waves and Electromagnetics
Nuclear Engineering
Photonics and Electrooptics
Power, Energy and Industry Applications
Robotics and Control Systems
Signal Processing and Analysis
Transportation
Training
Codes
Recurrent neural networks
Memory architecture
Transforms
Syntactics
Transformers
Tokenizers
English
Python
self attention
Language
Abstract
Programmers who are new to a language find it difficult to unlearn the known language's syntax and learn the new one from scratch. To deal with this, there should be a system that translates the problem statement into a proper source code. The existing solutions for this problem are systems that works on Recurrent Neural Networks, long short-term memory architecture and other deep learning architectures whereas these technologies are inefficient as compared to the transformer architecture. Another problem with the existing solution is, it does not store the previously searched query which can be useful again in further work. To overcome the above-stated problems, Neural Machine Translation (NMT) can be used to convert the specific query from English to an equivalent Python code. Keeping this in mind, english language to python source code generation using transformers has been achieved in this work. Training the self-attention based transformer with the dataset[18] has been done. BLEU score of 0.78 has been achieved.