CLAIDec 13, 2023

Finetuning an LLM on Contextual Knowledge of Classics for Q&A

arXiv:2312.07848v10.51 citationsHas Code
Originality Synthesis-oriented
AI Analysis

This addresses the need for AI tools in Classics education and research, though it is incremental as it adapts existing finetuning methods to a new domain.

The researchers tackled the problem of applying large language models to the specialized field of Classics by finetuning a 355M parameter LLM for accurate and personality-consistent Q&A, achieving results that exceeded expectations for handling diverse inputs despite occasional hallucinations.

The open-source publishing of large language models (LLMs) has created many possibilities for how anyone who understands language and has access to a computer can interact with significant tools of artificial intelligence, particularly in the context of learning and knowledge dissemination. However, the utility of these models in specialized fields like Classics is still largely unexplored. This project is an attempt to merge the knowledge of Classics with the capabilities of artificial intelligence by finetuning an LLM to cater to the specific needs of learners and professionals. The goal of this project is to develop an LLM that not only reproduces contextual knowledge accurately but also exhibits a consistent "personality" - and, indeed, has consistent propriety - to appeal to a diverse audience who possess differing levels of knowledge. A significant portion of this project was dedicated to refining the dataset, following the principle of "garbage in, garbage out," to ensure the model generates relevant, useful, and creative responses when given a prompt (a statement, question, or single word). After training and evaluation, my model's ability to handle a vast array of different types of inputs and prompting exceeded expectations for a 355M parameter model, though its occasional hallucinations (especially when set with a high temperature), particularly in its assertions about historical events or its own identity, make it seem somewhat capricious and more work in the form of continuous finetuning will be undertaken.

Foundations

The foundational work for this paper's niche, ranked by how specifically the neighbourhood builds on it — not by global fame.

Your Notes