|国家预印本平台
首页|Few-Shot Prompting for Extractive Quranic QA with Instruction-Tuned LLMs

Few-Shot Prompting for Extractive Quranic QA with Instruction-Tuned LLMs

Few-Shot Prompting for Extractive Quranic QA with Instruction-Tuned LLMs

来源:Arxiv_logoArxiv
英文摘要

This paper presents two effective approaches for Extractive Question Answering (QA) on the Quran. It addresses challenges related to complex language, unique terminology, and deep meaning in the text. The second uses few-shot prompting with instruction-tuned large language models such as Gemini and DeepSeek. A specialized Arabic prompt framework is developed for span extraction. A strong post-processing system integrates subword alignment, overlap suppression, and semantic filtering. This improves precision and reduces hallucinations. Evaluations show that large language models with Arabic instructions outperform traditional fine-tuned models. The best configuration achieves a pAP10 score of 0.637. The results confirm that prompt-based instruction tuning is effective for low-resource, semantically rich QA tasks.

Mohamed Basem、Islam Oshallah、Ali Hamdi、Ammar Mohammed

闪-含语系(阿非罗-亚细亚语系)计算技术、计算机技术

Mohamed Basem,Islam Oshallah,Ali Hamdi,Ammar Mohammed.Few-Shot Prompting for Extractive Quranic QA with Instruction-Tuned LLMs[EB/OL].(2025-08-08)[2025-08-24].https://arxiv.org/abs/2508.06103.点此复制

评论