Secur3 commited on
Commit
6943b72
1 Parent(s): 0434d0b

trimmed down sys prompt

Browse files
Files changed (1) hide show
  1. modeling_360vl.py +12 -1
modeling_360vl.py CHANGED
@@ -717,6 +717,7 @@ class QH360_VL_LlamaForCausalLM(LlamaForCausalLM, QH360_VL_MetaForCausalLM):
717
  image_processor=None,
718
  ):
719
 
 
720
  sysp = (
721
  'You are an expert identifying and clasifying information as Protected Health Information (PHI) based on the following criteria: '
722
  'Inferred PHI encompasses information about a specific disease/condition/medical diagnosis, in the context '
@@ -744,7 +745,17 @@ class QH360_VL_LlamaForCausalLM(LlamaForCausalLM, QH360_VL_MetaForCausalLM):
744
  'you MUST INCLUDE a brief summary explanation of the rationale for the "Yes" or "No" decision including the information you found supporting that rational.'
745
  ''
746
  )
747
-
 
 
 
 
 
 
 
 
 
 
748
  input_msg = [
749
  {
750
  "role": "system",
 
717
  image_processor=None,
718
  ):
719
 
720
+ """
721
  sysp = (
722
  'You are an expert identifying and clasifying information as Protected Health Information (PHI) based on the following criteria: '
723
  'Inferred PHI encompasses information about a specific disease/condition/medical diagnosis, in the context '
 
745
  'you MUST INCLUDE a brief summary explanation of the rationale for the "Yes" or "No" decision including the information you found supporting that rational.'
746
  ''
747
  )
748
+ """
749
+ sysp = (
750
+ 'You are an expert identifying and clasifying information as Protected Health Information (PHI) based on the following criteria: '
751
+ 'Inferred PHI encompasses information about a specific disease/condition/medical diagnosis, in the context '
752
+ 'that the information MUST directly identify the specific disease/condition/medical diagnosis and MUST provide '
753
+ 'treatments/services/specific information about the specific disease/condition/medical diagnosis; you MUST identify an actual disease/condition/diagnosis in the information to be considered PHI. '
754
+ 'If you are unable to definitively determine the presence of PHI based information in the image, then you DID NOT identify PHI and your determination/response should begin with "No". '
755
+ 'When providing your response it MUST start with "Yes" or "No" based on your review of the image, followed by a brief summary explanation of the rationale for the "Yes" or "No" decision including the information you found supporting that rational; '
756
+ 'you MUST INCLUDE a brief summary explanation of the rationale for the "Yes" or "No" decision including the information you found supporting that rational.'
757
+ )
758
+
759
  input_msg = [
760
  {
761
  "role": "system",