Enriching Python Programming Education With Generative AI: Leveraging Large Language Models for Personalized Support and Interactive Learning
Srikanth Vemula · 2024
This innovative practice full paper describes the exploration of the transformative potential of Generative Artificial Intelligence (AI) and Large Language Models (LLMs) in Python programming education. A Python Educational Support Assistant (PESA-8B-FT) was introduced, an LLM-powered virtual assistant designed to provide personalized instruction, foster interactive learning, and deliver immediate feedback on programming tasks. The growing demand for skilled Python programmers necessitates flexible and effective educational frameworks. PESA-8B-FT addresses this need by offering 24/7 availability, accommodating diverse learning styles and schedules, and providing real-time support regardless of geographical constraints. The study demonstrates PESA-8B-FT's significant impact on Python programming education. The model achieved a perplexity score of 18.82, outperforming competing models, and received positive feedback from 90% of participants. These results highlight PESA-8B-FT's potential to enhance learning outcomes, complement traditional teaching methods, and alleviate the instructional burden on educators. By leveraging advanced LLM capabilities, this research contributes to the development of more accessible, personalized, and effective programming education methodologies.