SoftwareApplication
name: The Cultural Heritage AI Cookbook: Notebooks
description: Google Colab notebook that uses large language models for analyzing and expanding text metadata related to cultural heritage
description: The project _Enriching Digital Heritage with LLMs and LOD_ aimed at introducing the cultural heritage community to the strengths of large language models (LLMs) with respect to information extraction from text. Cultural heritage institutions possess large volumes of text, for example metadata texts describing museum artifacts. LLMs are well-suited for analyzing text data, linking concepts to linked open data (LOD) collections, and finding relations between the concepts. To this end, a Google Colab notebook has been developed (demo_qwen.ipynb) which recognizes named entities, links them to an LOD database (WikiData) and find relations between the concepts and the artifacts described by the texts. The notebook uses a locally run LLM for these tasks (Qwen). Its performance is evaluated on gold standard analyses of a sample of text metadata from the Egyptian Museum of Turin. The notebook is used for showing the benefits of using LLMs for text analysis to the cultural heritage community. The project partners will use the experiences gained during the project for writing a cookbook with practical suggestions for using LLMs for analyzing and expanding text data related to cultural heritage
code repository: https://github.com/pelagios/llm-lod-enriching-heritage
author: 0000-0002-8431-081X
author: https://orcid.org/0000-0002-3255-9584
author: https://orcid.org/0000-0001-6136-3970
keywords: relation finding
keywords: large language models
keywords: named entity linking
keywords: cultural heritage
keywords: named entity Recognition
programming language: Jupyter Notebook
programming language: Python
license:
  creative work: creativeWork
    name: CC0-10-Universal

0000-0002-8431-081X
type: Person
given name: Erik
family name: Tjong Kim Sang
name: Erik Tjong Kim Sang
role name: Research Software Engineer
affiliation: Organization
  name: Netherlands eScience Center

https://orcid.org/0000-0002-3255-9584
type: Person
given name: Gethin
family name: Rees
name: Gethin Rees
role name: Co-Applicant
affiliation: Organization
  name: King's College London

https://orcid.org/0000-0001-6136-3970
type: Person
given name: Tariq
family name: Yousef
name: Tariq Yousef
role name: Co-Applicant
affiliation: Organization
  name: Akademie der Wissenschaften und der Literatur Mainz