Transformers based Python']Python Code Generation from Natural Language

被引:0
|
作者
Swathi, Smt E. [1 ]
Vanga, Abhinav Reddy [1 ]
机构
[1] Chaitanya Bharathi Inst Technol, Dept Comp Sci & Engn, Hyderabad, Telangana, India
关键词
Transformers; Code generation;
D O I
10.1109/CITIIT61487.2024.10580762
中图分类号
TP [自动化技术、计算机技术];
学科分类号
0812 ;
摘要
Code generation is the process of creating source code by utilizing user inputs in either natural language or code form to produce code snippets. It facilitates expedited completion of programming jobs for developers by lowering code development time and minimizing maintenance expenses. This allows them to concentrate on the strategic aspects of their business and innovative problem-solving. Transformers is the cutting-edge model for natural language challenges. This work utilizes the capabilities of transformers to mitigate long-term dependencies and exploit attention mechanisms to enhance programme structural context. Our technique produces code by forecasting the structure of the abstract syntax tree of the desired programme. We employ a BERT encoder and a grammar-based decoder to forecast the abstract syntax tree. This paper conducts a comprehensive assessment of the model's performance by utilizing the CoNaLa and Django datasets.
引用
收藏
页数:4
相关论文
共 50 条
  • [1] PYMT5: multi-mode translation of natural language and PYTHON']PYTHON code with transformers
    Clement, Colin B.
    Drain, Dawn
    Timcheck, Jonathan
    Svyatkovskiy, Alexey
    Sundaresan, Neel
    [J]. PROCEEDINGS OF THE 2020 CONFERENCE ON EMPIRICAL METHODS IN NATURAL LANGUAGE PROCESSING (EMNLP), 2020, : 9052 - 9065
  • [2] Natural Language Processing with Python']Python
    Xue, Nianwen
    [J]. NATURAL LANGUAGE ENGINEERING, 2011, 17 : 419 - 424
  • [3] Natural Language Processing with Python']Python
    Elhadad, Michael
    [J]. COMPUTATIONAL LINGUISTICS, 2010, 36 (04) : 767 - 771
  • [4] Python']Python Code Generation for Explicit MPC in MPT
    Takacs, Balint
    Stevek, Juraj
    Valo, Richard
    Kvasnica, Michal
    [J]. 2016 EUROPEAN CONTROL CONFERENCE (ECC), 2016, : 1328 - 1333
  • [5] Python']Python Code Generation by Asking Clarification Questions
    Li, Haau-Sing
    Mesgar, Mohsen
    Martins, Andre F. T.
    Gurevych, Iryna
    [J]. PROCEEDINGS OF THE 61ST ANNUAL MEETING OF THE ASSOCIATION FOR COMPUTATIONAL LINGUISTICS (ACL 2023): LONG PAPERS, VOL 1, 2023, : 14287 - 14306
  • [6] PyDaQu: Python']Python Data Quality Code Generation Based on Data Architecture
    Abughazala, Moamin
    Muccini, Henry
    Qadri, Khitam
    [J]. 2023 ACM/IEEE INTERNATIONAL CONFERENCE ON MODEL DRIVEN ENGINEERING LANGUAGES AND SYSTEMS COMPANION, MODELS-C, 2023, : 60 - 64
  • [7] Contribution of the language network to the comprehension of Python']Python programming code
    Liu, Yun-Fei
    Wilson, Colin
    Bedny, Marina
    [J]. BRAIN AND LANGUAGE, 2024, 251
  • [8] Python']Python Code Smell Refactoring Route Generation Based on Association Rule and Correlation
    Wang, Guanglei
    Chen, Junhua
    Gao, Jianhua
    Huang, Zijie
    [J]. INTERNATIONAL JOURNAL OF SOFTWARE ENGINEERING AND KNOWLEDGE ENGINEERING, 2021, 31 (09) : 1329 - 1347
  • [9] Text2PyCode: Machine Translation of Natural Language Intent to Python']Python Source Code
    Bonthu, Sridevi
    Sree, S. Rama
    Prasad, M. H. M. Krishna
    [J]. MACHINE LEARNING AND KNOWLEDGE EXTRACTION (CD-MAKE 2021), 2021, 12844 : 51 - 60
  • [10] Python']Python Probabilistic Type Inference with Natural Language Support
    Xu, Zhaogui
    Zhang, Xiangyu
    Chen, Lin
    Pei, Kexin
    Xu, Baowen
    [J]. FSE'16: PROCEEDINGS OF THE 2016 24TH ACM SIGSOFT INTERNATIONAL SYMPOSIUM ON FOUNDATIONS OF SOFTWARE ENGINEERING, 2016, : 607 - 618