Date of Award
2026
Degree Name
Computer Science
College
College of Engineering and Computer Sciences
Type of Degree
M.S.
Document Type
Thesis
First Advisor
Dr. Ananya Jana
Second Advisor
Dr. Haroon Malik
Third Advisor
Dr. Husnu Narman
Fourth Advisor
Dr. Aniruddha Maiti
Abstract
As Large Language Models (LLMs) become increasingly adopted to specialized tasks, the effects of model performance after domain-specific fine-tuning have become a key area of interest. As general-purpose LLMs are trained on a wide set of data, their ability to answer domain-specific questions may be limited or may require multi-step prompting. In this experiment, we explore the regional specialization capabilities of multiple LLMs of differing parameters using the region of West Virginia as our subject. Region-specific datasets are scarce, so we build our own West Virginia corpus from the NASA Technical Reports Server (NTRS) and Wikipedia through a multi-stage pipeline that filters for West Virginia relevance. The final corpus is processed through a mid-sized LLM to generate question–answer pairs to train three different models using Quantized Low-Rank Adaptation (QLoRA). This work is centered around how these models are evaluated before and after fine-tuning. Along with testing on three benchmarks, we measure how each model adapts to the West Virginia domain. We use metrics such as “WV Relevancy”, “Response Quality”, “Factual Correctness”, and how many times a model brings up West Virginia in an unsolicited context. These metrics are scored using different LLM-as-a-judge frameworks, with a small subset scored from human evaluation. We also implement a peer-ranking method in which all the models grade each other. Together, these evaluation methods provide a mechanism to measure how well these models adapted to a West Virginia context.
Subject(s)
Computer science.
Natural language processing (Computer science)
Artificial intelligence.
Machine learning.
Neural networks (Computer science)
Data mining.
Information retrieval.
West Virginia.
Recommended Citation
Torley, Samuel, "Evaluating the performance of Large Language Models before and after domain-specific fine-tuning: a West Virginia case study" (2026). Theses, Dissertations and Capstones. 2175.
https://mds.marshall.edu/etd/2175
