danielpark commited on
Commit
d99473f
1 Parent(s): 90929ce

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +29 -1
README.md CHANGED
@@ -9,4 +9,32 @@ language:
9
  tags:
10
  - biology
11
  pretty_name: Medical domain QA dataset for training a medical chatbot.
12
- ---
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
9
  tags:
10
  - biology
11
  pretty_name: Medical domain QA dataset for training a medical chatbot.
12
+ ---
13
+
14
+ # MQuAD
15
+ The Medical Question and Answering dataset(MQuAD) has been refined, including the following datasets. You can download it through the Hugging Face dataset. Use the DATASETS method as follows.
16
+
17
+ ## Quick Guide
18
+ ```python
19
+ from datasets import load_dataset
20
+ dataset = load_dataset("danielpark/MQuAD-v1")
21
+ ```
22
+
23
+ Medical Q/A datasets gathered from the following websites.
24
+ - eHealth Forum
25
+ - iCliniq
26
+ - Question Doctors
27
+ - WebMD
28
+ Data was gathered at the 5th of May 2017.
29
+
30
+
31
+ The MQuAD provides embedded question and answer arrays in string format, so it is recommended to convert the string-formatted arrays into float format as follows. This measure has been applied to save resources and time used for embedding.
32
+ ```python
33
+ from datasets import load_dataset
34
+ from utilfunction import col_converter
35
+
36
+ qa = load_dataset("danielpark/MQuAD-v1", "csv")
37
+ df_qa = pd.DataFrame(qa['train'])
38
+
39
+ df_qa = col_converter(df, ['Q_FFNN_embeds', 'A_FFNN_embeds']
40
+ ```