title="Search in OATD">Florida Atlantic University
TINY-PHYSICS: A COMPACT LARGE LANGUAGE MODEL FOR PHYSICS WORD PROBLEMS ON MOBILE DEVICES
Abstract
dc:description.abstractThis thesis offers Tiny-Physics, a compact large language model optimized for solving physics word problems on mobile devices. While Small Language Models (SLMs) offer potential for on-device learning, there is a lack of domain-specialized models for physics. This research fine-tunes smolLM2-360M, a state-of-the-art SLM, using a combination of publicly available datasets (e.g., camel-ai/physics) and a novel synthetic dataset generated through a multi-agent system based on GPT-4o and 1000 Solved Problems in Classical Physics. The fine-tuning process incorporates both supervised and instruction-tuning methods, including LoRA for parameter-efficient training. The resulting model is converted to GGUF format for deployment on resource-constrained mobile devices. Evaluation on the MMLU College Physics benchmark shows that instruction-tuning improves performance, with the best model achieving an accuracy of 0.2451, surpassing the base model. The proposed study presents a comprehensive, end-to-end framework for synthetic datasets, fine-tuning, evaluation using Lighteval, and deployment on quantized mobile systems. Results underscore the value of lightweight, domain-adapted models in delivering scalable and personalized physics education.
Degree
thesis:*- Name thesis:degree_name
- Master of Science (MS)
- Level thesis:degree_level
- Thesis
- Discipline thesis:degree_discipline
- Computer and Electrical Engineering and Computer Science
Author and committee
dc:creator, dc:contributor.*- Author dc:creator
-
- Vallala, Akhil
Subjects
dc:subject × 10Identifiers
dc:identifier.*- Repository record dc:identifier
- https://digitalcommons.fau.edu/etd_general/16