Extracting Triplets from Domain-specific Texts using Fine-Tuned LLaMA Models: A Comparative Study

This research centers on extracting triplets (Subject, Verb, Object) from domain-specific texts, particularly focusing on the film industry. We compiled a corpus of 4,300 sentences from 500 well-known movie articles and Wikipedia entries. The study targeted five key relations: Composed by, Written by, Released on, Made f rom, and Released in , along with their respective entities. Dependency parsing was employed to extract triplets from this dataset. These extracted triplets were then used for supervised fine- tuning of the LLaMa model. We assessed the evaluation loss across different versions of the LLaMA models and found that LLaMA 3 outperformed the others, showing the best performance for this task. For testing, the fine-tuned LLaMA model is used to extract triplets from unseen sentences. The extracted triplets can be used to create knowledge graphs, offering structured representations of information by mapping relationships between entities.

Authors

Institutions

Publication Details

Journal
Procedia Computer Science
Published
2025-01-01
DOI
https://doi.org/10.1016/j.procs.2025.04.630
Citations
1
Primary Topic
Natural Language Processing Techniques
Type
article
Field-Weighted Citation Impact
2.48
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Extracting Triplets from Domain-specific Texts using Fine-Tuned LLaMA Models: A Comparative Study

G Veena, Deepa Gupta, A. Rajendran
1 citations
Procedia Computer Science
Natural Language Processing Techniques
2.48
article

Extracting Triplets from Domain-specific Texts using Fine-Tuned LLaMA Models: A Comparative Study

G Veena, Deepa Gupta, A. Rajendran
article en
1 citations

Abstract

This research centers on extracting triplets (Subject, Verb, Object) from domain-specific texts, particularly focusing on the film industry. We compiled a corpus of 4,300 sentences from 500 well-known movie articles and Wikipedia entries. The study targeted five key relations: Composed by, Written by, Released on, Made f rom, and Released in , along with their respective entities. Dependency parsing was employed to extract triplets from this dataset. These extracted triplets were then used for supervised fine- tuning of the LLaMa model. We assessed the evaluation loss across different versions of the LLaMA models and found that LLaMA 3 outperformed the others, showing the best performance for this task. For testing, the fine-tuned LLaMA model is used to extract triplets from unseen sentences. The extracted triplets can be used to create knowledge graphs, offering structured representations of information by mapping relationships between entities.

Procedia Computer ScienceVol. 258
Amrita Vishwa Vidyapeetham (IN)
Openalex Percentile: Top 11%
Natural Language Processing Techniques
2.48
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.