Instruct-Tuning Pretrained Causal Language Models for Ancient Greek Papyrology and Epigraphy
Not on the map. Why?
Abstract (arXiv)
This article presents an experiment in fine-tuning a pretrained causal language model (Meta's Llama 3.1 8B Instruct) to assist with restoring missing or illegible characters in ancient Greek inscriptions and documentary papyri. Utilizing a straightforward instruction-based approach and a 95%/5% train/test split, the papyrus restoration model achieved a character error rate (CER) of 14.9%, a top-1 accuracy of 73.5%, and a top-20 accuracy of 86.0% for sequences up to 10 characters. A model was also fine-tuned for geographic attribution, reaching a top-1 accuracy of 66.4% and a top-3 accuracy of 79.9%. In chronological attribution, it demonstrated an average deviation of 21.7 years from the actual terminus post/ante quem, with a median deviation of 0 years. For inscriptions, the restoration model achieved a CER of 20.5%, a top-1 accuracy of 63.7%, and a top-20 accuracy of 83.0% for sequences up to 10 characters. In geographic attribution, it attained a top-1 accuracy of 75.0% and a top-3 accuracy of 83.7%, while in dating, it had an average deviation of 37.1 years and a median deviation of 3 years from the actual date range. Benchmarked against the state-of-the-art model (Ithaca) on a shared test set and on recently edited inscriptions, the instruction-tuned models excelled in text restoration, while also offering the practical advantage of ignoring spaces during reconstruction, which aligns with the scriptio continua of ancient textual artifacts. However, their performance in geographic and chronological attribution was lower than Ithaca's. To evaluate the approach in a more even setup, the instruction model was retrained with an 80%/10%/10% train-validation-test split, and still outperformed Ithaca in text restoration. The results suggest that fine-tuning larger pretrained causal language models using instruction templates for emendations and conjectures to ancient texts holds promise.
Key facts. Cited by 3 papers in the map (data through 7 Oct 2026). Builds on 2 of its 13 references that are in the map. First posted on arXiv 20 Sep 2024.
Builds on
2 of 13 references.
References · 2
Built on by
Citing papers per year: 2024: 1; 2025: 0; 2026: 2.
3 papers.
- 2024An Annotated Dataset of Errors in Premodern Greek and Baselines for Detecting Themcited by 1
- 2026Apollo Restore: A Foundation LLM for Historical Greek Optimized for Fill-in-the-Middle Restoration of Ancient Greek Textscited by 0
- 2026Which papyrus HTR is good enough? Character-error-rate tolerance of four papyrological tasks on Greek textscited by 0
- 2026Which papyrus HTR is good enough? Character-error-rate tolerance of four papyrological tasks on Greek texts29 Sep 2026
- 2026Apollo Restore: A Foundation LLM for Historical Greek Optimized for Fill-in-the-Middle Restoration of Ancient Greek Texts18 Sep 2026
- 2024An Annotated Dataset of Errors in Premodern Greek and Baselines for Detecting Them14 Oct 2024