Datasets:

Modalities:
Text
Formats:
json
Languages:
Amharic
ArXiv:
Libraries:
Datasets
pandas
License:
amharic-qa / README.md
Henok's picture
Update README.md
d392a23
metadata
license: mit
language:
  - am
task_categories:
  - question-answering
size_categories:
  - 1K<n<10K

AmQA: Amharic Question Answering Dataset

Amharic question and answer dataset in a prompt and completion format.

Dataset Details

In Amharic, interrogative sentences can be formulated using information-seeking pronouns like “ምን” (what), “መቼ” (when), “ማን” (who), “የት” (where), “የትኛው” (which), etc. and prepositional interrogative phrases like “ለምን” [ለ-ምን] (why), “በምን” [በ-ምን] (by what), etc. Besides, a verb phrase could be used to pose questions (Getahun 2013; Baye 2009). As shown bellow, the AmQA dataset contains context, question, and answer triplets. The contexts are articles collected from Amharic Wikipedia dump file. The question-answer pairs are created by crowdsourcing and annotated using the Haystack QA annotation tool. 2628 question and answer pairs are created from 378 documents. The whole AmQA dataset can be found here. We also split the datset into train, dev, and test with a size of 1728, 600, and 300 respectively.

Dataset Sources

Dataset Structure

The dataset is classified into 70% train, 20% test, and 10% dev datasets.

The dataset is restructured in a new JSON format of the following:

formatted_json = {
            "inputs": "ከዚህ በታች በተገለጸው አውድ ተከታዩን ጥያቄ ይመልሱ፡ {context} {question}",
            "targets": "ከጥያቄው ጋር የሚስማማው ምላሽ {answer_text} ነው።",
            
            "inputs": "ከዚህ በታች ያለውን ዝርዝር መረጃ በመጠቀም ለሚከተለው ጥያቄ መልስ ይስጡ፡ {context} {question}",
            "targets": "ከጥያቄው አንጻር ትክክለኛው መልስ {answer_text} ነው።",
            
            "inputs": "ከዚህ በታች ያለውን ጽሑፍ በማጣቀስ እባክዎን ለሚከተለው መልስ ይስጡ {context} {question}",
            "targets": "ለጥያቄው መልስ {answer_text} ነው።",
            
            "inputs": "የተሰጠውን ጥያቄ ለመመለስ ከዚህ በታች የቀረበውን መረጃ ይመልከቱ፡ {context} {question}",
            "targets": "ለተጠቀሰው ጥያቄ ትክክለኛው ምላሽ {answer_text} ነው።",
            
            "inputs": "ለሚከተለው ጥያቄ ምላሽ ለመስጠት ከዚህ በታች የቀረበውን አውድ ተጠቀም፡ {context} {question}",
            "targets": "ለጥያቄው መልሱ {answer_text} ነው።",
            
            "inputs": "የተሰጠውን ጥያቄ ከዚህ በታች በተሰጠው አውድ መሰረት መልሱ፡ {context} {question}",
            "targets": "ለጥያቄው ትክክለኛው ምላሽ {answer_text} ነው።"
        }

Citation

BibTeX:

[@misc{abedissa2023amqa,
      title={AmQA: Amharic Question Answering Dataset}, 
      author={Tilahun Abedissa and Ricardo Usbeck and Yaregal Assabie},
      year={2023},
      eprint={2303.03290},
      archivePrefix={arXiv},
      primaryClass={cs.CL}
}]