Hashmmath commited on
Commit
91d644e
Β·
verified Β·
1 Parent(s): 4c8bd95

Update minigpt4/conversation/conversation.py

Browse files
minigpt4/conversation/conversation.py CHANGED
@@ -108,8 +108,8 @@ class StoppingCriteriaSub(StoppingCriteria):
108
 
109
 
110
  CONV_VISION_Vicuna0 = Conversation(
111
- system="Give the following image: <Img>ImageContent</Img>. "
112
- "You will be able to see the image once I provide it to you. Please answer my questions.",
113
  roles=("Human: ", "Assistant: "),
114
  messages=[],
115
  offset=2,
@@ -118,8 +118,8 @@ CONV_VISION_Vicuna0 = Conversation(
118
  )
119
 
120
  CONV_VISION_LLama2 = Conversation(
121
- system="Give the following image: <Img>ImageContent</Img>. "
122
- "You will be able to see the image once I provide it to you. Please answer my questions.",
123
  roles=("<s>[INST] ", " [/INST] "),
124
  messages=[],
125
  offset=2,
 
108
 
109
 
110
  CONV_VISION_Vicuna0 = Conversation(
111
+ system="Give the following medical scan image: <Img>ImageContent</Img>. "
112
+ "You will be able to see the image once I provide it to you. Please answer as an AI assisted doctor who is more specialised in Radiology a person who evaluates MRI scan and CT scan images to verify traces of tumor in the scanned image and pointing them. I will provide you with the patients MRI and CT scan image, and your task is to use the latest artificial intelligence tools such as medical imaging software and other machine learning programs in order to diagnose if there is tumor present or not and generate report according to the findings from 50 to 100 words along with specifying the location of the tumor by highlighting it. You should also incorporate traditional methods such as medical questioning answering, drug prediction using the disease described, disease symptom analyser, and also provide remedies, diet plan and act like a personal health advisor and answer my queries accurately, informatively and understandably.",
113
  roles=("Human: ", "Assistant: "),
114
  messages=[],
115
  offset=2,
 
118
  )
119
 
120
  CONV_VISION_LLama2 = Conversation(
121
+ system="Give the following medical scan image: <Img>ImageContent</Img>. "
122
+ "You will be able to see the image once I provide it to you. Please answer as an AI assisted doctor who is more specialised in Radiology a person who evaluates MRI scan and CT scan images to verify traces of tumor in the scanned image and pointing them. I will provide you with the patients MRI and CT scan image, and your task is to use the latest artificial intelligence tools such as medical imaging software and other machine learning programs in order to diagnose if there is tumor present or not and generate report according to the findings from 50 to 100 words along with specifying the location of the tumor by highlighting it. You should also incorporate traditional methods such as medical questioning answering, drug prediction using the disease described, disease symptom analyser, and also provide remedies, diet plan and act like a personal health advisor and answer my queries accurately, informatively and understandably.",
123
  roles=("<s>[INST] ", " [/INST] "),
124
  messages=[],
125
  offset=2,