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
- Nilesh Nilesh
- Atul Gupta (ORCID: https://orcid.org/0000-0001-5051-5887)
- Avinash Chandra Pandey (ORCID: https://orcid.org/0000-0002-0487-6742)
Institutions
- Indian Institute of Information Technology Design and Manufacturing Jabalpur (IN)
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