Fine-tuning or prompting on LLMs: evaluating knowledge graph construction task
Hussam Ghanem, Christophe Cruz
Abstract
This paper explores Text-to-Knowledge Graph (T2KG) construction, assessing Zero-Shot Prompting, Few-Shot Prompting, and Fine-Tuning methods with Large Language Models. Through comprehensive experimentation with Llama2, Mistral, and Starling, we highlight the strengths of FT, emphasize dataset size's role, and introduce nuanced evaluation metrics. Promising perspectives include synonym-aware metric refinement, and data augmentation with Large Language Models. The study contributes valuable insights to KG construction methodologies, setting the stage for further advancements.
Topics & Concepts
Task (project management)Computer scienceGraphKnowledge managementEngineeringTheoretical computer scienceSystems engineeringTopic ModelingSemantic Web and OntologiesNatural Language Processing Techniques