OPTIMIZING FINE-TUNING METHODS FOR BASE LARGE LANGUAGE MODELS: A CASE STUDY AT SWISS GERMAN UNIVERSITY

dc.contributor.authorDamanik, Theodore Natanael
dc.contributor.authorGalinium, Maulahikmah
dc.contributor.authorPurnama, James
dc.date.accessioned2026-05-28T04:32:21Z
dc.date.issued2024-07-25
dc.description.abstractChatbot and Large Language Models (LLM) are in growing trend recently. These chatbots can be used and customized for personal or commercial use, in this case for Swiss German University’s customer acquisition team. To customize an LLM, one of the methods is to do fine-tuning. This thesis research is done to find the most compatible existing base LLM when fine-tuned with SGU’s dataset which contains questions and answers pair about SGU. One of the problems of fine-tuning is that it requires a lot of computational resources. One of the solutions to this is to use a parameter efficient fine-tuning method named Low Rank Adaptation (LoRA). LoRA has multiple parameters that needs to be configured for fine-tuning efficiently. These parameter configurations are not fixed and varies depending on many variables. LoRA optimization is needed to find out the most optimal LoRA configurations for each base LLM. To do this, various LoRA configurations are created and used for fine-tuning the base LLM. The base LLMs used for this thesis research are Llama2 7B Chat by Meta and Mistral 7B Instruct by Mistral AI. Both base LLMs are tested with various LoRA configurations. Once the optimal configuration is found for both models, the two models are compared using ROUGE, BLEU, and METEOR. The fine-tuned Mistral 7B Instruct is able to achieve a higher score in all three metrics than the fine-tuned Llama2 7B Chat.
dc.identifier.urihttps://dspace-repository.sgu.ac.id/handle/123456789/254
dc.language.isoen
dc.publisherSwiss German University
dc.subjectFine-tuning
dc.subjectLLM
dc.subjectLlama
dc.subjectMistral
dc.subjectLoRA
dc.subjectChatbot
dc.titleOPTIMIZING FINE-TUNING METHODS FOR BASE LARGE LANGUAGE MODELS: A CASE STUDY AT SWISS GERMAN UNIVERSITY
dc.typeThesis

Files

Original bundle

Now showing 1 - 5 of 6
Loading...
Thumbnail Image
Name:
COVER.pdf
Size:
10.38 MB
Format:
Adobe Portable Document Format
Loading...
Thumbnail Image
Name:
CHAPTER 1.pdf
Size:
197.81 KB
Format:
Adobe Portable Document Format
Loading...
Thumbnail Image
Name:
CHAPTER 2.pdf
Size:
439.3 KB
Format:
Adobe Portable Document Format
Loading...
Thumbnail Image
Name:
CHAPTER 3.pdf
Size:
320.17 KB
Format:
Adobe Portable Document Format
Loading...
Thumbnail Image
Name:
CHAPTER 4.pdf
Size:
934.66 KB
Format:
Adobe Portable Document Format

License bundle

Now showing 1 - 1 of 1
Loading...
Thumbnail Image
Name:
license.txt
Size:
1.71 KB
Format:
Item-specific license agreed to upon submission
Description:

Collections