Bartalesi Lenzi V., Lenzi E., De Martino C.
Semantic Web QA75.5-76.95 Semantic web Digital Humanities Digital humanities Narratives Large language models Events Electronic computers. Computer science Large Language Models
Narratives play a crucial role in human communication, serving as a means to convey experiences, perspectives, and meanings across various domains. They are particularly significant in scientific communities, where narratives are often utilized to explain complex phenomena and share knowledge. This article explores the possibility of integrating large language models (LLMs) into a workflow that, exploiting the Semantic Web technologies, transforms raw textual data gathered by scientific communities into narratives. In particular, we focus on using LLMs to automatically create narrative events, maintaining the reliability of the generated texts. The study provides a conceptual definition of narrative events and evaluates the performance of different smaller LLMs compared to the requirements we identified. A key aspect of the experiment is the emphasis on maintaining the integrity of the original narratives in the LLM outputs, as experts often review texts produced by scientific communities to ensure their accuracy and reliability. We first perform an evaluation on a corpus of five narratives and then on a larger dataset comprising 124 narratives. LLaMA 2 is identified as the most suitable model for generating narrative events that closely align with the input texts, demonstrating its ability to generate high-quality narrative events. Prompt engineering techniques are then employed to enhance the performance of the selected model, leading to further improvements in the quality of the generated texts.
Source: PEERJ. COMPUTER SCIENCE., vol. 10
@article{oai:iris.cnr.it:20.500.14243/511590, title = {Using large language models to create narrative events}, author = {Bartalesi Lenzi V. and Lenzi E. and De Martino C.}, doi = {10.7717/peerj-cs.2242}, year = {2024} }
ACE 2005 Multilingual Training Corpus
Dataset of 124 Narratives
Dataset of 124 narratives (500 tokens) split into paragraphs
Dataset of 5 Narratives
Dataset of 5 Short Narratives
Dataset of five narratives split (1200 tokens) into events
Dataset of five short narratives (500 tokens) split into events
Dataset of five short narratives (500 tokens) split into paragraphs