Uppsats
AI Generated code documentation : A study on Large Language Model utilization for code documentation using limited data
Yrkesexamen på avancerad nivå
Umeå universitet/Institutionen för tillämpad fysik och elektronik
Publicerad: 2025
Språk: Engelska
Nyckelord
klicka för att sökaSammanfattning
Large language models (LLMs) are a class of computational models that have the ability to understand and generate human language. This study aims to investigate and evaluate the performance of large language models in generating code documentation using limited training data, by comparing different techniques such as Retrieval Augmented Generation (RAG) and fine-tuning, to determine the effectiveness in enhancing the LLM performance with specific data. The evaluation uses a limited dataset of PHP code, using a number of different large language models. The models that are used for the testing are a quantized version of the Gemma 2 model with 9 billion parameters and a quantized version of the Codellama model with 7 billion parameters. Snippets of code unseen documents were provided as input for the models to generate corresponding documentation. The documentation were then evaluated and scored by developers. The results show that utilizing prompt engineering combined with fine-tuning gives the best result out of the tested models and strategies. The fine-tuned Gemma 2 models final score was 8.59 out of 10, which was the highest, while the Gemma 2 with RAG scored 6.41 out of 10, this being the lowest.
Information
- Författare
- Salih, Miran
- Lärosäte / institution
- Umeå universitet/Institutionen för tillämpad fysik och elektronik
- Publiceringsdatum
- 2025
- Uppsatstyp
- Yrkesexamen på avancerad nivå
- Språk
- Engelska
Utforska vidare
Liknande uppsatser
Uppsatser med liknande ämnen och nyckelord.
Yrkesexamen på avancerad nivå, Uppsala universitet/Avdelningen för systemteknik
Vigholm, Albin
Publicerad: 2026
Kandidat-uppsats, Jönköping University/Tekniska Högskolan
Rönnqvist, Emilia, Skoogh, Lovisa
Publicerad: 2026
Yrkesexamen på avancerad nivå, Luleå tekniska universitet/Institutionen för ekonomi, teknik, konst och samhälle
Holmström, Ellen
Publicerad: 2026
Yrkesexamen på avancerad nivå, Luleå tekniska universitet/Institutionen för ekonomi, teknik, konst och samhälle
Åström, Tuva, Nilsson, Matilda
Publicerad: 2026
Yrkesexamen på avancerad nivå, Luleå tekniska universitet/Institutionen för ekonomi, teknik, konst och samhälle
Nordlander, Jonas
Publicerad: 2026
Yrkesexamen på avancerad nivå, Umeå universitet/Företagsekonomi
Isaksson, Isabella, Strömberg, Hanna
Publicerad: 2026