TY - EJOU AU - Li, Hongzhi AU - Wu, Jiale AU - Li, Dun AU - Lu, Kezhong AU - Xia, Qishou TI - An Intelligent Lesson Preparation Assistant System Using a Fine-Tuned Large Language Model for Computer Science Education T2 - Computers, Materials \& Continua PY - VL - IS - SN - 1546-2226 AB - The application of large language models (LLMs) to computer science (CS) education has great potential for intelligent lesson preparation, yet existing systems remain limited by weak textbook alignment, inconsistent pedagogical structures, and extensive manual post-editing. This paper presents the Fine-Tuned DeepSeek-driven Intelligent Lesson Preparation Assistant System (FT-DILPAS), a textbook-driven lesson preparation framework that integrates efficient model adaptation, structured textbook understanding, curriculum-aware prompting, and retrieval-augmented generation into a unified pipeline. Evaluations on 60 CS textbooks show that FT-DILPAS achieves parsing accuracies of 96.5% for standard layouts and 88.2% for complex layouts, significantly outperforming traditional parsing methods. Human evaluations further demonstrate improvements of 50.8% in format standardization and 30.6% in textbook alignment over GPT-4o, with consistently superior pedagogical quality across all evaluated general-purpose LLMs. Overall, FT-DILPAS provides a practical and scalable paradigm for curriculum-aligned, AI-assisted lesson preparation in computer science education. KW - Intelligent lesson preparation; fine-tuned LLMs; retrieval-augmented generation (RAG); computer science education DO - 10.32604/cmc.2026.086477