RobCzikkel commited on
Commit
c8495d8
·
1 Parent(s): 5e39a5a

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +27 -0
README.md CHANGED
@@ -36,3 +36,30 @@ tags:
36
  - biology
37
  - medical
38
  ---
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
36
  - biology
37
  - medical
38
  ---
39
+
40
+ ### Dataset
41
+ This is an edited and tokenized version of the MedQuad-MedicalQnADataset dataset by keivalya.
42
+ The original dataset contains 16K+ questions and answers between patient and doctor, which have been converted into a full prompt to train BioGPT by Microsoft.
43
+
44
+ ##### Tokenizer used
45
+ microsoft/BioGPT-Large (BPE tokenizer)
46
+
47
+
48
+ ### Full prompt
49
+
50
+ ```py
51
+ prompt = f"""You are a helpful AI Doctor who answers medical questions. Below is a question from a patient. Your task is to answer the questions as truthfully as you can.
52
+
53
+ ### Patient:
54
+ {sample['Question']}
55
+
56
+ ### Doctor:
57
+ {sample['Answer']}"""
58
+ ```
59
+
60
+ ### Notes
61
+ Since bioGPT has a max input of 1024, the full prompt was truncated to stay below this limit.
62
+ The truncation strategy I used made sure that only full sentences were produced.
63
+
64
+ Please note that this dataset is for research/testing only, it should not be used in a real setting or used to give medical adice to people.
65
+