Fine-Tuning T5 (Text-To-Text-Transfer Transformer) Untuk Seleksi Jawaban Pada Sistem Tanya Jawab Berbahasa Indonesia
DOI:
https://doi.org/10.25126/jtiik.2026135Keywords:
question answering system, answer selection, fine-tuning, T5, Indonesian LanguageAbstract
Kemajuan teknologi informasi mendorong perkembangan dalam dunia pendidikan, khususnya dalam meningkatkan kualitas dan efektivitas pembelajaran, salah satunya melalui penerapan Sistem Tanya Jawab (Question Answering System/QAS). Inovasi signifikan dalam QAS adalah Chat Generative Pre-trained Transformer (ChatGPT), yang mampu menghasilkan teks menyerupai percakapan manusia. Namun, ChatGPT memberikan jawaban yang bersifat subjektif karena data latihnya berasal dari berbagai sumber daring yang kredibilitasnya tidak selalu terjamin. Permasalahan ini dapat diatasi dengan membangun QAS yang berbasis pada dataset yang kredibel. Pengembangan QAS terdiri dari beberapa tahapan, namun penelitian ini difokuskan pada tahap seleksi jawaban. Tahap ini merupakan tahap fundamental yang mengidentifikasi kanddidat jawaban yang sesuai dengan pertanyaan. Ini sangat dipengaruhi oleh kualitas representasi pertanyaan dan jawaban (proses word embedding). Dimana word embedding yang representatif akan mampu membuat model menangkap hubungan semantik yang lebih baik diantara pertanyaan dan jawaban. penelitian sebelumnya mengenai proses word embedding dalam tahap seleksi jawaban masih memiliki kelemahan dalam mengasilkan jawaban secara langsung. Sehingga, untuk mengatasi kelemahan tersebut, penelitian ini menggunakan fine-tinning Text-To-Text Transfer Transformer (T5) yang mengadopsi arsitektur encoder-decoder untuk seleksi jawaban sistem tanya jawab. Untuk dapat meningkatkan performa model, penelitian ini juga melakukan optimasi terhadap beberapa hyperparameter, seperti learning rate dan batch size. Hasil evaluasi menunjukkan bahwa batch size optimal adalah 4 dan learning rate optimal adalah 5e-5, dengan skor ROUGE-1 = 0,53, ROUGE-2 = 0,47, dan ROUGE-L = 0,52.
Abstract
Advances in information technology are enhancing education by improving the quality and effectiveness of learning, particularly through the implementation of a Question Answering System (QAS). A significant innovation in QAS is the Chat Generative Pre-trained Transformer (ChatGPT), which is capable of generating text resembling human conversation. However, ChatGPT often provides subjective answers because its training data is sourced from various online platforms, where the credibility of the information is not always guaranteed. This issue can be addressed by developing a QAS based on a credible dataset. The development of a QAS involves several stages, but this research specifically focuses on the answer selection stage. This stage is crucial as it identifies candidate answers that align well with the questions posed. The quality of the questions significantly influences how answers are represented during the word embedding process. Effective word embedding allows the model to better capture the semantic relationships between questions and answers. Previous research on word embedding processes during the answer selection stage has had difficulty generating answers directly. To address this weakness, this study utilizes the Text-To-Text Transfer Transformer (T5) fine-tuning, which adopts an encoder-decoder architecture for answer selection in Question Answering Systems (QAS). Furthermore, the study optimizes various hyperparameters, such as learning rate and batch size, to improve model performance. The evaluation results revealed that the optimal batch size was four and the optimal learning rate was set at 5e-5, leading to ROUGE scores of ROUGE-1 = 0.53, ROUGE-2 = 0.47, and ROUGE-L = 0.52.
Downloads
References
ABRAHAMSSON, F., 2018. Designing a question answering system in the domain of Swedish technical consulting using deep learning. Stockholm: KTH Royal Institute of Technology.
ALIERO, A. A., ADEBAYO, B. S., ALIYU, H. O., TAFIDA, A. G., KANGIWA, B. U. & DANKOLO, N. M., 2023. Systematic review on text normalization techniques and its approach to non-standard words. International Journal of Computer Applications, 185(33), pp.44–55.
COHEN, E. & BECK, J. C., 2019. Empirical analysis of beam search performance degradation in neural sequence models. Proceedings of the 36th International Conference on Machine Learning, pp.1290–1299. California.
ERISTYAWATI, C. (2024) Hybrid Passage Retrieval Untuk Sistem Question Answering Berbahasa Indonesia Pada Domain Sains Data Menggunakan Gabungan Metode Bm25 Dan Dense Passage Retriever (DPR). thesis.
FULMAL, V., MOHOLKAR, K. P. & PATIL, S. H., 2021. The implementation of question answer system using deep learning. Turkish Journal of Computer and Mathematics Education, 12(1S), pp.176–182.
HUANG, J., TAO, J., LIU, B. & LIAN, Z., 2020. Learning utterance-level representations with label smoothing for speech emotion recognition. Interspeech, pp.4079–4083. https://doi.org/10.21437/Interspeech.2020-1391
JIANG, Y., XU, Y., GUO, J., LIU, Y. & LI, R., 2019. An intelligent question and answering system for dental healthcare. Broadband Communications, Networks, and Systems, 303, pp.201–215. Springer. https://doi.org/10.1007/978-3-030-36442-7_13
KURNIAWATI, Y. & ADIKARA, P. P., 2018. Implementasi named entity recognition pada factoid question answering system untuk cerita rakyat Indonesia. Jurnal Pengembangan Teknologi Informasi dan Ilmu Komputer, 2(9), pp.3142–3149.
LASKAR, M. T. R., HUANG, J. & HOQUE, E., 2020. Contextualized embeddings based transformer encoder for sentence similarity modeling in answer selection task. Proceedings of the 12th Conference on Language Resources and Evaluation (LREC), pp.5505–5514.
LI, C., ZHANG, M. & HE, Y., 2022. The stability-efficiency dilemma: Investigating sequence length warmup for training GPT models. Machine Learning Advances in Neural Information Processing Systems, 35, pp.1–22.
LI, S., ZHAO, P., ZHANG, H., SUN, X., WU, H., JIAO, D. … WANG, D., 2024. Surge phenomenon in optimal learning rate and batch size scaling. Machine Learning, 3, pp.1–16. https://doi.org/10.48550/arXiv.2405.14578
LIU, X. & WANG, C., 2021. An empirical study on hyperparameter optimization for fine-tuning pre-trained language models. Proceedings of the 59th Annual Meeting of the Association for Computational Linguistics and the 11th International Joint Conference on Natural Language Processing, pp.2286–2300. Association for Computational Linguistics. https://doi.org/10.18653/v1/2021.acl-long.178
MENGI, R., GHORPADE, H. & KAKADE, A., 2023. Fine-tuning T5 and RoBERTa models for enhanced text summarization and sentiment analysis. The Great Lakes Botanist, pp.1–7.
MISHRA, P., ROGER, J. M., RUTLEDGE, D. N., BIANCOLILLO, A., MARINI, F., NORDON, A. & JOUAN-RIMBAUD-BOUVERESSE, D., 2020. MBA-GUI: A chemometric graphical user interface for multi-block data visualisation, regression, classification, variable selection and automated pre-processing. Chemometrics and Intelligent Laboratory Systems, 205, pp.1–43. https://doi.org/10.1016/j.chemolab.2020.104139
MOZAFARI, J., FATEMI, A. & NEMATBAKHSH, M. A., 2021. BAS: An answer selection method using BERT language model. Journal of Computing and Security, 8(2), pp.1–18.
NAJAFABADI, M. A., 2023. Transformer-based models for answer extraction in text-based question / answering. Ontario: University of Ontario Institute of Technology.
OJOKOH, B. & ADEBISI, E., 2019. A review of question answering systems. Journal of Web Engineering, 17(8), pp.717–758. https://doi.org/10.13052/jwe1540-9589.1785
PARDEDE, H. F., 2021. Sentiment analysis of Stocktwits data with word vector and gated recurrent unit. Jurnal Linguistik Komputasional, 4(2), pp.47–51.
RAFFEL, C., SHAZEER, N., ROBERTS, A., LEE, K., NARANG, S., MATENA, M. … LIU, P. J., 2020. Exploring the limits of transfer learning with a unified text-to-text transformer. Journal of Machine Learning Research, 21, pp.1–67.
RAY, P. P., 2023. ChatGPT: A comprehensive review on background, applications, key challenges, bias, ethics, limitations and future scope. Internet of Things and Cyber-Physical Systems, 3, pp.121–154. https://doi.org/10.1016/j.iotcps.2023.04.003
SO, B., BYUN, K., KANG, K. & CHO, S., 2022. JaQuAD: Japanese question answering dataset for machine reading comprehension. Computation and Language, pp.1–11. https://doi.org/10.48550/arXiv.2202.01764
SOLEIMANI, A., MONZ, C. & WORRING, M., 2021. NLQuAD: A non-factoid long question answering data set. Proceedings of the 16th Conference of the European Chapter of the Association for Computational Linguistics, pp.1245–1255. Association for Computational Linguistics. https://doi.org/10.18653/v1/2021.eacl-main.106
SUDIN, S., JUNAEDI, H. & SANTOSA, J., 2019. Analisis jenis pertanyaan berbahasa Indonesia pada question and answering system menggunakan metode support vector machine (SVM). DINTEK, 12(1), pp.72–80.
Downloads
Published
Issue
Section
License
Copyright (c) 2026 Hilma Nur Khasanah, Rismiyati, Retno Kusumaningrum

This work is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License.

Artikel ini berlisensi Creative Common Attribution-ShareAlike 4.0 International (CC BY-SA 4.0)
Penulis yang menerbitkan di jurnal ini menyetujui ketentuan berikut:
- Penulis menyimpan hak cipta dan memberikan jurnal hak penerbitan pertama naskah secara simultan dengan lisensi di bawah Creative Common Attribution-ShareAlike 4.0 International (CC BY-SA 4.0) yang mengizinkan orang lain untuk berbagi pekerjaan dengan sebuah pernyataan kepenulisan pekerjaan dan penerbitan awal di jurnal ini.
- Penulis bisa memasukkan ke dalam penyusunan kontraktual tambahan terpisah untuk distribusi non ekslusif versi kaya terbitan jurnal (contoh: mempostingnya ke repositori institusional atau menerbitkannya dalam sebuah buku), dengan pengakuan penerbitan awalnya di jurnal ini.
- Penulis diizinkan dan didorong untuk mem-posting karya mereka online (contoh: di repositori institusional atau di website mereka) sebelum dan selama proses penyerahan, karena dapat mengarahkan ke pertukaran produktif, seperti halnya sitiran yang lebih awal dan lebih hebat dari karya yang diterbitkan. (Lihat Efek Akses Terbuka).








