Seventeenth-Century Spanish American Notary Records for Fine-Tuning Spanish Large Language Models

Shraboni Sarker, Ahmad Tamim Hamad, Hulayyil Alshammari, Viviana Grieco, Praveen Rao
6/9/2024
cs.CLcs.AI

No official code found. Best implementation: raopr/SpanishNotaryCollection (0 stars, Apache-2.0, last commit 2024-12-27).

Abstract

Large language models have gained tremendous popularity in domains such as e-commerce, finance, healthcare, and education. Fine-tuning is a common approach to customize an LLM on a domain-specific dataset for a desired downstream task. In this paper, we present a valuable resource for fine-tuning LLMs developed for the Spanish language to perform a variety of tasks such as classification, masked language modeling, clustering, and others. Our resource is a collection of handwritten notary records from the seventeenth century obtained from the National Archives of Argentina. This collection contains a combination of original images and transcribed text (and metadata) of 160+ pages that were handwritten by two notaries, namely, Estenban Agreda de Vergara and Nicolas de Valdivia y Brisuela nearly 400 years ago. Through empirical evaluation, we demonstrate that our collection can be used to fine-tune Spanish LLMs for tasks such as classification and masked language modeling, and can outperform pre-trained Spanish models and ChatGPT-3.5/ChatGPT-4o. Our resource will be an invaluable resource for historical text analysis and is publicly available on GitHub.

View on arXivView PDF

Code Implementations(1)

Apache-2.0
01May 23, 20241 years agoApache-2.0

Similar Papers

Cite this paper

@article{sarker2024seventeenthcentury,
  title  = {Seventeenth-Century Spanish American Notary Records for Fine-Tuning Spanish Large Language Models},
  author = {Shraboni Sarker and Ahmad Tamim Hamad and Hulayyil Alshammari and Viviana Grieco and Praveen Rao},
  year   = {2024},
  eprint = {2406.05812},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2406.05812v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2406.05812.svg)](https://codeofpaper.com/paper/2406.05812)

Discussion