EUVIMEDEUVIMED entdecken
Crossref

Fine Tuned QA Models for Java Programming

Jeevan Pralhad Tonde, Satish Sankaye

Journal on Artificial Intelligence · 2026 · 8 (1) · 107-118

DOI: 10.32604/jai.2026.075857 ↗

Kurz gefasst

Fachartikel in der Zeitschrift Journal on Artificial Intelligence, 2026. Verfasst von Jeevan Pralhad Tonde und 1 weiteren Autor:innen.

AbstractBibliografische AngabenZitierenVerwandte Studien

Abstract (Originalsprache)

: As education continues to evolve alongside artificial intelligence, there is growing interest in how large language models (LLMs) can support more personalized and intelligent learning experiences. This study focuses on building a domain-specific question answering (QA) system tailored to computer science education, with a particular emphasis on Java programming. While transformer-based models such as BERT, RoBERTa, and DistilBERT have demonstrated strong performance on general-purpose datasets like SQuAD, they often struggle with technical educational content where annotated data is scarce. To address this challenge, we developed a custom dataset, JavaFactoidQA, consisting of 1000 fact-based question–answer pairs derived from Java course materials and textbooks. A two-step fine-tuning strategy was adopted, in which models were first fine-tuned on the SQuAD dataset to capture general language understanding and subsequently fine-tuned on the Java-specific dataset to adapt to programming terminology and structure. Experimental results show that RoBERTa-Base achieved the best performance, with an F1 score of 88.7% and an Exact Match (EM) score of 82.4%, followed closely by BERT-Base and DistilBERT. The results were further compared with domain-specific QA models from healthcare and finance, demonstrating that the proposed approach performs competitively despite using a relatively small dataset. Overall, this study shows that careful dataset design combined with sequential fine-tuning enables effective adaptation of transformer-based QA models for educational applications, including automated assessment, intelligent tutoring, and interactive learning environments. Future work will explore extending the approach to additional subjects, incorporating cognitive-level tagging, and evaluating performance on broader educational QA benchmarks.

Zitieren

APA

Tonde, J. P., & Sankaye, S. (2026). Fine Tuned QA Models for Java Programming. Journal on Artificial Intelligence, 8(1), 107-118. https://doi.org/10.32604/jai.2026.075857

Vancouver

Tonde JP, Sankaye S. Fine Tuned QA Models for Java Programming. Journal on Artificial Intelligence. 2026;8(1):107-118. doi:10.32604/jai.2026.075857

BibTeX
@article{Tonde2026,
  author = {Tonde, Jeevan Pralhad and Sankaye, Satish},
  title = {Fine Tuned QA Models for Java Programming},
  journal = {Journal on Artificial Intelligence},
  year = {2026},
  volume = {8},
  number = {1},
  pages = {107--118},
  doi = {10.32604/jai.2026.075857}
}
Kostenlos starten →