Issue |
ITM Web Conf.
Volume 65, 2024
International Conference on Multidisciplinary Approach in Engineering, Technology and Management for Sustainable Development: A Roadmap for Viksit Bharat @ 2047 (ICMAETM-24)
|
|
---|---|---|
Article Number | 03004 | |
Number of page(s) | 8 | |
Section | Computer Engineering and Information Technology | |
DOI | https://doi.org/10.1051/itmconf/20246503004 | |
Published online | 16 July 2024 |
Effective Approach for Fine-Tuning Pre-Trained Models for the Extraction of Texts From Source Codes
1 Assistant Professor, Dept. of Computer Applications, GSSS SSFGC, Mysuru, Affiliated to University of Mysore, Karnataka, India
2 Associate Professor, Dept of Computer Science & Engineering, MIT, Mysuru, India
3 Assistant Professor, Dept of Computer Science & Engineering, MIT, Mysuru, India
1 shruthiravibenaka@gmail.com
2 chethanhk@mitmysore.in
3 victor.agughasi@gmail.com
This study introduces SR-Text, a robust approach leveraging pre-trained models like BERT and T5 for enhanced text extraction from source codes. Addressing the limitations of traditional manual summarization, our methodology focuses on fine-tuning these models to better understand and generate contextual summaries, thus overcoming challenges such as long-term dependency and dataset quality issues. We conduct a detailed analysis of programming language syntax and semantics to develop syntax-aware text retrieval techniques, significantly boosting the accuracy and relevance of the texts extracted. The paper also explores a hybrid approach that integrates statistical machine learning with rule-based methods, enhancing the robustness and adaptability of our text extraction processes across diverse coding styles and languages. Empirical results from a meticulously curated dataset demonstrate marked improvements in performance metrics: precision increased by 15%, recall by 20%, and an F1 score enhancement of 18%. These improvements underscore the effectiveness of using advanced machine learning models in software engineering tasks. This research not only paves the way for future work in multilingual code summarization but also discusses broader implications for automated software analysis tools, proposing directions for future research to further refine and expand this methodology.
Key words: Text Information Extraction / T5 Model / Pre-Processing Framework / Code Summarization / Natural Language Processing
© The Authors, published by EDP Sciences, 2024
This is an Open Access article distributed under the terms of the Creative Commons Attribution License 4.0, which permits unrestricted use, distribution, and reproduction in any medium, provided the original work is properly cited.
Current usage metrics show cumulative count of Article Views (full-text article views including HTML views, PDF and ePub downloads, according to the available data) and Abstracts Views on Vision4Press platform.
Data correspond to usage on the plateform after 2015. The current usage metrics is available 48-96 hours after online publication and is updated daily on week days.
Initial download of the metrics may take a while.