Secur3 commited on
Commit
4e67db7
·
1 Parent(s): b1c6406

system prompt update

Browse files
Files changed (1) hide show
  1. modeling_360vl.py +3 -3
modeling_360vl.py CHANGED
@@ -738,10 +738,10 @@ class QH360_VL_LlamaForCausalLM(LlamaForCausalLM, QH360_VL_MetaForCausalLM):
738
  'EXCEPTIONS: Information about a specific individual or individuals, contained in a news article, blog posting or media posting, is NOT PHI. '
739
  'EXCEPTIONS: Posters and/or event announcments about medical conditions and/or events related to medical conditions, for example a benefit for breast cancer survivors, is NOT PHI. '
740
  'EXCEPTION EXAMPLE: An image of a women wearing doctor clothes without the identification of a specific medical condition would NOT BE PHI'
741
- 'When providing your response it MUST start with "Yes" or "No" based on if PHI was identified in the image, followed by a brief summary explanation '
 
742
  'of the rationale for the "Yes" or "No" decision and the piece(s) of information found supporting that rational. '
743
- 'EXCEPTIONS override "findings", so if you are unable to definitively determine the presence of PHI based information in the image, then you DID NOT identify PHI and your response should be "No".'
744
- 'Typically, NO applicable EXCEPTIONS would have been identified in order to affirmatively answer "Yes" to a question such as "Can you infer PHI from this page?"'
745
  )
746
 
747
  input_msg = [
 
738
  'EXCEPTIONS: Information about a specific individual or individuals, contained in a news article, blog posting or media posting, is NOT PHI. '
739
  'EXCEPTIONS: Posters and/or event announcments about medical conditions and/or events related to medical conditions, for example a benefit for breast cancer survivors, is NOT PHI. '
740
  'EXCEPTION EXAMPLE: An image of a women wearing doctor clothes without the identification of a specific medical condition would NOT BE PHI'
741
+ 'Typically, NO applicable EXCEPTIONS would have been identified in order to affirmatively answer "Yes" to a question such as "Can you infer PHI from this page?". '
742
+ 'When providing your response it MUST start with "Yes" or "No" based on your review of the image, followed by a brief summary explanation '
743
  'of the rationale for the "Yes" or "No" decision and the piece(s) of information found supporting that rational. '
744
+ 'EXCEPTIONS override "findings", so if you are unable to definitively determine the presence of PHI based information in the image, then you DID NOT identify PHI and your response should begin with "No".'
 
745
  )
746
 
747
  input_msg = [