Sentence Generation from Triplets using Pre-trained LLM Model

Generating a meaningful and contextually relevant sentence from the triplet is challenging for various NLP generation tasks like knowledge graph population, question-answer system, and information extraction from knowledge graph. This study introduces a fine-tuned approach to a large language GPT-2 model to produce the sentence by providing the triplet (subject, predicate, and object). The proposed model has been evaluated using the benchmark REBEL Dataset for training and validation purposes. The proposed method achieved the training and validation loss of 0.1476 and 0.1244, respectively. Besides, the proposed model also attained a BERTScore precision of 0.6597, recall of 0.5891, and F1 score of 0.6223. These evaluation values show that the model can generate the sentence very well.

Authors

Institutions

Publication Details

Journal
Procedia Computer Science
Published
2025-01-01
DOI
https://doi.org/10.1016/j.procs.2025.03.219
Primary Topic
Topic Modeling
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Sentence Generation from Triplets using Pre-trained LLM Model

Nilesh Nilesh, Atul Gupta, Avinash Chandra Pandey
Procedia Computer Science
Topic Modeling
article

Sentence Generation from Triplets using Pre-trained LLM Model

Nilesh Nilesh, Atul Gupta, Avinash Chandra Pandey
article en

Abstract

Generating a meaningful and contextually relevant sentence from the triplet is challenging for various NLP generation tasks like knowledge graph population, question-answer system, and information extraction from knowledge graph. This study introduces a fine-tuned approach to a large language GPT-2 model to produce the sentence by providing the triplet (subject, predicate, and object). The proposed model has been evaluated using the benchmark REBEL Dataset for training and validation purposes. The proposed method achieved the training and validation loss of 0.1476 and 0.1244, respectively. Besides, the proposed model also attained a BERTScore precision of 0.6597, recall of 0.5891, and F1 score of 0.6223. These evaluation values show that the model can generate the sentence very well.

Procedia Computer ScienceVol. 260
Indian Institute of Information Technology Design and Manufacturing Jabalpur (IN)
Quality Education
Openalex Percentile: Top 95%
Topic Modeling
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.