Building a Framework for Evaluation of Small Language Models: A Study of NLP Task Performances and Swedish Comprehension
Year: 2024
Type: dissertation
Abstract: As of today, computational resources are one of the biggest limitations to the development and deployment of natural language processing (NLP) models in organizations.For Scholaro, a company that aims to build a scholarship matching platform driven by NLP models, the extensive usage of large language models (LLMs) is becoming difficult to financially motivate.Therefore, this thesis explores whether small language models (SLMs) could offer a more cost-effective alternative to LLMs, and in that case, to what extent.The effectiveness of five SLMs for both bilingual (English and Swedish) as well as task-specific applications, including classification, summarization, and translation is being studied.Furthermore, the study employs a framework that introduces a variety of human and automatic evaluation metrics suitable for measuring the performance of these SLMs.The findings suggest that SLMs can, if the correct model, prompt, and task are combined, serve as viable alternatives to LLMs, particularly in scenarios where resource efficiency and task specificity are vital.
Authors: Axelsson, Amanda, Åberg Rodvaldr, Allis
Institution: Lund University
Language: English
Topic: Topic Modeling
Subfield: Artificial Intelligence
Field: Computer Science
Domain: Physical Sciences
Open Access status: green
OpenAlex ID: W6980348729
