Improve Performance of Fine-tuning Language Models with Prompting
-
Published:2023
Issue:Special Issue
Volume:15
Page:62-68
-
ISSN:2061-2079
-
Container-title:Infocommunications journal
-
language:
-
Short-container-title:Infocommunications journal
Author:
Yang Zijian Győző,Ligeti-Nagy Noémi
Abstract
This paper explores the effectiveness of prompt programming in the fine-tuning process of a Hungarian language model. The study builds on the prior success of prompt engineering in natural language processing tasks and employs the prompting method to enhance the fine-tuning performance of a huBERT model on several benchmark datasets of HuLU. The experimentation involves testing 45 prompt combinations for the HuCoPA dataset and 15 prompt variations for the HuRTE and HuWNLI datasets. The findings reveal that the addition of an instructional text consistently produces the best results across all winning cases, and that the [CLS] token produces the best results in the separator token experiments. The most significant enhancement was observed in the HuWNLI dataset, with an increase in accuracy from 65% to 85%. These results demon- strate that the addition of instruct text is crucial and sufficient in enabling the language model to effectively interpret and solve the Winograd Schemata problem. These results showcase the potential of prompt programming in enhancing the performance of language models in fine-tuning tasks, and highlight the importance of incorporating task-specific instructions to improve model interpretability and accuracy.
Publisher
Infocommunications Journal
Subject
Electrical and Electronic Engineering,General Computer Science