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

sys prompt update

Browse files
Files changed (1) hide show
  1. modeling_360vl.py +3 -2
modeling_360vl.py CHANGED
@@ -740,8 +740,9 @@ class QH360_VL_LlamaForCausalLM(LlamaForCausalLM, QH360_VL_MetaForCausalLM):
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 you would have identified NO applicable EXCEPTIONS in order to affirmatively answer "Yes" to a question such as "Can you infer PHI from this page?". '
742
  'EXCEPTIONS override potential identification of PHI; 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". '
743
- 'When providing your response it MUST start with "Yes" or "No" based on your review of the image; you MUST INCLUDE a brief summary explanation '
744
- 'of the rationale for the "Yes" or "No" decision including the information you found supporting that rational.'
 
745
  )
746
 
747
  input_msg = [
 
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 you would have identified NO applicable EXCEPTIONS in order to affirmatively answer "Yes" to a question such as "Can you infer PHI from this page?". '
742
  'EXCEPTIONS override potential identification of PHI; 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". '
743
+ '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; '
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 = [