Few-Shot Prompting for Extractive Quranic QA with Instruction-Tuned LLMs PubID: pubid: 979-8-3315-0185-3/25/$31.00 ©2025 IEEE
Mohamed Basem, Islam Oshallah, Ali Hamdi, Ammar Mohammed · 2025
Read Few-Shot Prompting for Extractive Quranic QA with Instruction-Tuned LLMs PubID: pubid: 979-8-3315-0185-3/25/$31.00 ©2025 IEEE by Mohamed Basem, Islam Oshallah, Ali Hamdi, Ammar Mohammed (2025) in the Tower of Babel, a free online library of public-domain works preserved in clean, searchable text. No sign-up. The full text is served as a plain-text file at a predictable URL, where text is present: https://antarctic-labs.com/tower-of-babel/arxiv-2508-06103.txt.
Description
Mohamed Basem and co-authors answer questions on the Quran in a 2025 paper. Extractive answering pulls the exact span of text that answers a question. The Quran poses hard cases: classical Arabic, unique terms, and deep layers of meaning strain standard models.
Two routes were tested, with the stronger one prompting large instruction tuned models with a few worked examples. A prompt framework built for Arabic guides the span picking. Post steps align word pieces, suppress overlaps, and filter by meaning, which lifts precision and cuts made up answers. The best setup beat classic fine tuned models on the test score used.
Catalog record
| CREATOR | Mohamed Basem, Islam Oshallah, Ali Hamdi, Ammar Mohammed |
|---|---|
| YEAR | 2025 |
| COLLECTION | PAPERS |
| FORMAT | TXT |
| FILE SIZE | 25 KB |
| VERSION | 1.0 |
| LICENSE | http://creativecommons.org/licenses/by/4.0/ |
| RIGHTS | CC BY |
| SOURCE | arXiv |
Source: https://arxiv.org/abs/2508-06103