AI4DH Workshop: Large Language Models for Digital Humanities: A Hands-On Introduction
On 4 February 2026, we organised a full-day hands-on introduction to using large language models in digital humanities and social sciences research.
Large language models (LLMs) are increasingly used in both research and applied settings, including Digital Humanities (DH) in the broadest sense. To work with them effectively, researchers must understand not only their conceptual foundations but also the practical aspects of deployment, inference, and evaluation.
This hands-on workshop introduced participants to the practical use of LLMs in research workflows. They learned how to access and run modern LLMs locally or on GPU servers, configure them for efficient inference, and apply them to common text-based tasks.
The workshop combined theoretical overviews with a strong emphasis on guided practical exercises. By the end of the workshop, participants were able to set up LLM-based experiments and critically assess their suitability for DH research.
Topics covered included:
- Essential background concepts for working with LLMs, including machine learning basics, text representation, transformer models, and inference strategies;
- Installing and running LLMs locally, as well as accessing models via APIs on local or remote GPU servers;
- Using LLMs for text classification and related analytical tasks;
- Advanced prompting techniques, including retrieval-augmented generation (RAG), to improve text generation;
- Practical use of state-of-the-art inference libraries for efficient and scalable experimentation;
- Individual mentoring and support during hands-on exercises and exploratory tasks.






