nazimali commited on
Commit
80a7caa
1 Parent(s): 43470bf

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +22 -0
README.md CHANGED
@@ -76,6 +76,28 @@ tags:
76
 
77
  Translated the original dataset from Arabic to English and added the Surah ayahs to the `context` column.
78
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
79
  ## Translation Info
80
 
81
  1. Translated the Arabic questions/concept columns to English with [Helsinki-NLP/opus-mt-ar-en](https://huggingface.co/Helsinki-NLP/opus-mt-ar-en)
 
76
 
77
  Translated the original dataset from Arabic to English and added the Surah ayahs to the `context` column.
78
 
79
+ ## Usage
80
+
81
+ ```python
82
+ from datasets import load_dataset
83
+
84
+ dataset = load_dataset("nazimali/quran-question-answer-context")
85
+ ```
86
+
87
+
88
+ ```python
89
+ DatasetDict({
90
+ train: Dataset({
91
+ features: ['q_id', 'question', 'answer', 'q_word', 'q_topic', 'fine_class', 'class', 'ontology_concept', 'ontology_concept2', 'source', 'q_src_id', 'quetion_type', 'chapter_name', 'chapter_no', 'verse', 'question_en', 'answer_en', 'q_word_en', 'q_topic_en', 'fine_class_en', 'class_en', 'ontology_concept_en', 'chapter_name_en', 'context'],
92
+ num_rows: 978
93
+ })
94
+ test: Dataset({
95
+ features: ['q_id', 'question', 'answer', 'q_word', 'q_topic', 'fine_class', 'class', 'ontology_concept', 'ontology_concept2', 'source', 'q_src_id', 'quetion_type', 'chapter_name', 'chapter_no', 'verse', 'question_en', 'answer_en', 'q_word_en', 'q_topic_en', 'fine_class_en', 'class_en', 'ontology_concept_en', 'chapter_name_en', 'context'],
96
+ num_rows: 245
97
+ })
98
+ })
99
+ ```
100
+
101
  ## Translation Info
102
 
103
  1. Translated the Arabic questions/concept columns to English with [Helsinki-NLP/opus-mt-ar-en](https://huggingface.co/Helsinki-NLP/opus-mt-ar-en)