--- license: apache-2.0 task_categories: - question-answering language: - th tags: - bhuddist - exam - thai --- # Thai Buddhist Studies Examination (Nak Tham) This repository contains 1,350 multiple-choice questions from the 2023 Thai Buddhist Studies (Nak Tham) examination. This dataset can be used for a benchmark for evaluating Large Language Models' understanding of Thai Buddhist concepts and teachings. **Phra Udom thought on the exam:** We have reviewed the Nak Tham examination format and find it to be well-designed. While it maintains a multiple-choice format, the questions go beyond mere memorization. Instead, they require logical reasoning and inference skills to arrive at the correct answers. The questions test the understanding of Buddhist principles through analytical thinking rather than rote learning. ## Data Collection Process 1. **OCR Extraction**: Questions were initially extracted from PDF examination papers using Optical Character Recognition (OCR) 2. **Data Structuring**: All questions were compiled and structured into a standardized CSV format 3. **Manual Verification**: The dataset underwent manual review and correction to ensure accuracy of text, choices, and correct answers ## Usage ```py from datasets import load_dataset exam_dataset = load_dataset("biodatlab/thai_buddhist_studies_exam") # no splitting exam_dataset["train"][0] ``` ```py # Example prompt template to answer the question q = exam_dataset["train"][0] prompt = f"""As a Buddhist scholar, please help answer questions about Buddhist principles and practices. Given the following question and choices, provide: 1. The correct answer 2. A detailed explanation of why this is correct 3. References to Buddhist texts or principles if applicable Question: {q["question"]} Choices: ก. {q['a']} ข. {q['b']} ค. {q['c']} ง. {q['d']} Please structure your response in Thai language in JSON format as follows คำตอบ: [correct choice] คำอธิบาย: [explanation] """ # check and evaluate the answer ... ``` ## Preliminary Evaluation We calculate model accuracy based on exam levels and get the following accuracy (%): | Model | All | Elementary | Intermediate | Advanced | |-------|-----|------------|--------------|-----------| | Gemini-1.5-Flash | 67.93 | 66.22 | 65.78 | 71.78 | | GPT-4o | 86.74 | 86.22 | 85.56 | 88.44 | | Claude-3.5-Sonnet | 84.96 | 80.89 | 84.22 | 89.78 | ## About Dhamma Practice Exam The Nak Tham examination is a system for evaluating Buddhist knowledge levels among ordained monks and Buddhist practitioners. It is organized by the Religious Affairs Department's Dhamma Education Office (Sanam Luang). The examination is held once annually and is divided into two main categories: 1. "Nak Tham" - Examinations for Buddhist monks and novices 2. "Dhamma Studies" (Tham Sueksa) - Examinations for laypeople and general public interested in Buddhist teachings Both categories are structured into three levels: - Elementary Level (Chan Tri) - Intermediate Level (Chan Tho) - Advanced Level (Chan Ek) ## Contributors - (Phra) Udom Siritientong, Fudan University - Titipat Achakulvisut, Department of Biomedical Engineering, Mahidol University