Code Optimization for Python using Large Pre-Trained Model
Optimizing Python code is essential for enhancing performance and efficiency. This project investigates the use of large pre-trained language models, specifically GPT (Generative Pre-trained Transformer), for Python code optimization. By leveraging the advanced capabilities of these models, we aim to improve traditional optimization techniques. Our approach involves preprocessing Python code, feeding it into the pre-trained model, and generating optimized code sequences. Experimental results show significant improvements in code efficiency and execution time, validating the effectiveness of our method. Additionally, we explore the practical implications, challenges, and future directions of incorporating large pre-trained models into code optimization, aiming to bridge the gap between standard optimization techniques and Python programming for a more intelligent and efficient software development practice.
Authors
- Meena Belwal (ORCID: https://orcid.org/0000-0002-9141-6815)
- Adithya
- M Varshith
- S Gokulan
- Mahati Reddy
Institutions
- Amrita Vishwa Vidyapeetham (IN)
Publication Details
- Published
- 2024-10-04
- DOI
- https://doi.org/10.1109/gcat62922.2024.10923909
- Primary Topic
- Computational Physics and Python Applications
- Type
- article
- Field-Weighted Citation Impact
- 0.00