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

Institutions

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
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Code Optimization for Python using Large Pre-Trained Model

Meena Belwal, Adithya, M Varshith, S Gokulan et al.
Computational Physics and Python Applications
article

Code Optimization for Python using Large Pre-Trained Model

Meena Belwal, Adithya, M Varshith, S Gokulan, Mahati Reddy
article en

Abstract

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.

Amrita Vishwa Vidyapeetham (IN)
Openalex Percentile: Top 74%
Computational Physics and Python Applications
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

Code Optimization for Python using Large Pre-Trained Model — Meena Belwal, Adithya, et al. · (2024) | TGRS Research Map | TGRS